#StackBounty: #windows #windows-10 #crash #atom-editor Windows Programs Keep Randomly Closing?

Bounty: 50

For some unknown reason, my programs keep closing randomly? I know these programs have randomly closed: Atom, Discord, Steam, Slack, Notepad++, SourceTree, and DevStax. Atom seems to close the most so I have to wonder if it’s possibly causing other programs to crash? Or perhaps it was that Windows Media Update thingy?

I found some other people online that have issues with Atom and a 3rd party package Go-Plus, but no one has provided a solution and Atom gives me no useful logs. I’d just close Atom and see if I get any crashes but I work 8-12hrs/day in Atom so it’s not very feasible because of that and the fact that I cannot reproduce it on command.

Is there a way to try and detect what is causing my programs to close randomly? I ran System File Checker and File Signature Verification and they both came back clean. Any other diagnostic tools I should be looking at? Thanks.

System Specs:
OS Name: Microsoft Windows 10 Home
Version: 10.0.15063 Build 15063
System Type: x64
Processor: i7-4770
Ram: 16GB


Get this bounty!!!

#StackBounty: #windows #mysql #python #openssl Python/MySQL on Windows. Problems with openssl

Bounty: 100

I have a MySQL Server set up to use SSL and I also have the CA Certificate.

When I connect to the server using MySQL Workbench, I do not need the certificate. I can also connect to the server using Python and MySQLdb on a Mac without the CA-certificate.

But when I try to connect using the exact same setup of Python and MySQLdb on a windows machine, I get access denied. It appears that I need the CA. And when I enter the CA, I get the following error

_mysql_exceptions.OperationalError: (2026, 'SSL connection error')

My code to open the connection is below:

db = MySQLdb.connect(host="host.name",    
                 port=3306,
                 user="user",         
                 passwd="secret_password",  
                 db="database", 
                 ssl={'ca': '/path/to/ca/cert'})  

Could anyone point out what the problem is on a windows? I believe it has to do with OpenSSL and Python. I installed OpenSSL from here. But I don’t think Python is using this version that I installed, since when I print the version using Python, it’s not the same.

This is what Python prints. It is still not a very old version and should have worked when connecting to MySQL

OpenSSL 1.0.2j 26 Sep 2016

I am really not used to having to work with OpenSSL and its issues. I’ve literally tried all the solutions found on google by searching the error I get, and you would think one of them should work. But none did and hence I’m guessing the problem is with the OpenSSL and Python on my system. Anyone know how I should try to at least identify the exact problem?

I also do not understand how I can connect to the MySQL Server without the CA Certificate using a Mac/Python or MySQL Workbench, but I get an access denied error in Windows using Python :/

UPDATE:

Python version 2.7.13

MySQL Server Enterprise version 5.7.18


Get this bounty!!!

#StackBounty: #windows #networking #macos #vpn #proxy How to route all internet traffic from a Mac OS into a WIndows VM

Bounty: 100

I am currently using a Mac (OS Sierra) with Windows OS (Win7) running under Parallels.

When I work remotely, I have to connect to my company’s VPN. Unfortunately the VPN software is only compatible with Windows. I still have my Windows VM running just to run the VPN and a couple of work software that only works in Windows.

My question is how can I route internet traffic in Mac OS into the Windows VM. I hope once I do that my Mac OS will also be under the work VPN as well.

I have tried tunnelling into the Windows VM (with the Windows VM running an SSH server) but certain ports will still not route correctly (like port 22).

Any ideas would be most helpful.


Get this bounty!!!

#StackBounty: #windows #ubuntu #socket #arp How to modify Socket Close time for Unreachable IP on Windows?

Bounty: 50

First of all, please look this question to understand what I mentioned.

When I try socket close in windows OS for unreachable IP with UDP, I got the three-second delay.

As you can see from the results there is the three-second delay in Windows OS. But there is no delay in Ubuntu namely problem is related Windows Operating System. How to decrease the three-second delay to the zero?

Windows Socket Close Time for Unreachable IP(with UDP): 3 seconds
Ubuntu Socket Close Time for Unreachable IP(with UDP): 0 Second

Thanks in advance…


Get this bounty!!!

#StackBounty: #windows #proxy #wget Connection fails in wget

Bounty: 50

When I try to use wget on Windows 7, it fails with a message like this:

> wget ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpd
--2017-07-10 14:37:47-- ftp://ftp.fu-berlin.de/tex/CTAN/systems/texlive/tlnet/tlpkg/texlive.tlpd
=> 'texlive.tlpd'
Resolving ftp.fu-berlin.de... 130.133.3.130
Connecting to ftp.fu-berlin.de|130.133.3.130|:21... failed: Unknown error.
Retrying.

[Yes, I am trying to install TeX live.]

This happens both for FTP and HTTP connections.

I suspected a proxy issue because I believe that on this network, a proxy is necessary. In a web browser I can access the URLs where wget failed. The browser is set to “use system proxy”, but I do not really know where to find those settings so that I could pass them to wget. I tried

> netsh winhttp show proxy

but it says

Current WinHTTP proxy settings:

    Direct access (no proxy server).

Does this mean that there really is no proxy?

If so, what else could it be? Could a firewall that lets through Firefox, Chrome, and IE block wget?


Get this bounty!!!

#StackBounty: #r #windows #directory #rstudio #network-drive RStudio: unexpected call to `dir.create()` with the first instruction with…

Bounty: 50

First, apologies for a lack of a reproducible example, but I cannot really provide one as I believe the problem lies within my network settings. Please treat this question as a call for help in debugging the issue…

After opening in RStudio a project stored on a network drive and running the very first instruction (being it a package load or even a <- 1) I am seeing a really weird output in the console:

> a <- 1
Warning message:
In dir.create(tempPath, recursive = TRUE) :
  cannot create dir 'F:Marketing', reason 'Permission denied'

I have all possible temp dirs set up in user environment variables (TEMP, TMP, TMPDIR) and Sys.getenv() is printing them correctly.

“F:Marketing” is a valid path on my network drive and it is a root directory of the project.

I have tried to debugonce(dir.create) in .RProfile to see what the tempPath is, but unfortunately this resulted in an “invalid ‘envir’ argument” error.

After copying the project to a local drive the problem disappears, so this is clearly a network drive/network setup problem, but I do not know where to dig more and my IT dept. is not really useful here…

Any ideas how to debug this warning?


Get this bounty!!!

#StackBounty: #windows #windows-10 #taskbar #scheduled-tasks #task-view How to load startup programs on different Task Views?

Bounty: 50

On Windows 10 if you right click on your taskbar and tick Show Task View button it enables Task Views icon on bottom left, next to Start button.

With that you can arrange your open programs to show in different task view, by default there’s three of them.

How do you select in which Task View to load startup programs you have in your Task Scheduler?

E.g. I want to startup Mozilla Firefox on Task View 1, but Thunderbird in Task View 2 on Windows system boot?


Get this bounty!!!

#StackBounty: #windows-7 #windows #windows-explorer #rename Changing the default behaviour of Windows 7 Explorer when renaming multiple…

Bounty: 50

I very frequently have to rename multiple files at once in explorer on Windows 7. When doing so explorer renames the “duplicates” with a number in brackets scheme – fine (well I’d prefer underscore…but fine)

But then I have to (re)re-name the first file as the plain name with no ” (1)”.

How can I avoid this situation? A registry hack would seem a likely candidate? (And a one-stop permanent solution) But I cannot find any information. Firing up a batch renamer each time would take even longer. I need something fast and easy.

In the graphic below you see five original files. I rename them to “test”. Then the one I renamed is auto-changed to “test (1)” – Quite a liberty when you think about it. I renamed it test. I want it to be called test. The others can be called “test (n)” no problem. But I want that one to stay the same….

enter image description here


Get this bounty!!!

#StackBounty: #windows #windows-media-center How do I add a strip and tile to Windows Media Center start menu?

Bounty: 50

I’m trying to learn how to add a strip and tile to the Windows Media Center Start Menu. For the time being, I’m just trying to get notepad.exe to launch.

I have the following as dummy.xml:

<application title="appTitle" id="{81E3517C-A5F3-4afa-9E37-81BF9A6A99FE}">
    <entrypoint id="{760A3CF3-6675-444b-AA31-B2A3F94AD9A3}"
        addin="Microsoft.MediaCenter.Hosting.WebAddIn,Microsoft.MediaCenter"
        title="entrypointTitle"
        description="Description"
        run="notepad.exe">
        <category category="MyCompanyMyApplication1"/>
    </entrypoint>  
</application>

and the following as dummy.reg:

Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINESOFTWAREMicrosoftWindowsCurrentVersionMedia CenterStart MenuApplications{81E3517C-A5F3-4afa-9E37-81BF9A6A99FE}]
"Title"="appTitle"
"Category"="MyCompany\MyApplication1"
"OnStartMenu"="True"
"TimeStamp"=dword:0c7e59de

When I install the strip using the following:

%windir%ehomeregistermceapp.exe dummy.xml
regedit.exe /s dummy.reg

and then run Windows Media Center then I can see the strip and tile!

However when I select it, I get the following error:

enter image description here

How can I get notepad.exe to launch when it is selected?

(to be clear: I’m not looking for a program which will do this for me, as I want to get the solution above working)


Get this bounty!!!