<type>documentation</type>
<domain>trouble</domain>
<id>trouble-other</id>
<title>Trouble-shooting Other Known Problems</title>
<date>$Date: 2004-02-20 01:01:10 -0500 (Fri, 20 Feb 2004) $</date>
<version>$Revision: 7650 $</version>
<product>all</product>

Other known problems that can affect some of Wing's functionality include:

**Copy/Paste Fails on Windows**

Webroot Secure Anywhere v8.0.4.66 blocks Wing and Python's access to the clipboard by
default so Copy/Paste will not work. The solution is to remove Wing and Python from the
list of applications that Webroot is denying access to the clipboard.

**Windows Won't Open File Names with Spaces**

File Explorer on some versions of Windows fails to open Python files with Wing if the full
path of the file has spaces in it. This is because Windows has set up the wrong command
line for opening the file. You can fix this using ``regedt32.exe``, ``regedit.exe``, or
similar tool to edit the following registry location::
    
  HKEY_LOCAL_MACHINE\SOFTWARE\Classes\Applications\wing.exe\shell\open\command

The problem is that the association stored there is missing quotes around the ``%1``
argument. It should instead be in a form similar to the following, although the actual
path will vary according to your installation location for Wing::

  "C:\Program Files (x86)\Wing Pro ~~MAJOR_VERSION~~\bin\wing.exe" "%1" %*

**Failure to Detect HTTP Proxy and Connect to wingware.com**

Wing tries to open an http connection to ``wingware.com`` when you activate a license,
check for product updates, or submit a bug report or feedback from the ``Help`` menu. If
you are running in an environment with an http proxy, Wing tries to auto-detect your proxy
settings. If this fails you will need to configure your proxy manually using Wing's
`Network > HTTP Proxy Server <script:show_preferences_gui#prefname="main.http-proxy">`__
preference. To determine the correct settings to use, ask your network administrator or
see `how to determine proxy settings
<http://superuser.com/questions/346372/how-do-i-know-what-proxy-server-im-using>`__.

**Poor Mouse Wheel Scrolling on Linux**

If the mouse wheel does not work right on Linux, the utility ``imwheel`` may solve it, as
`described here
<https://mintguide.org/other/643-setup-the-mouse-scroll-wheel-speed.html>`__

**Failure to Find Python**

Wing scans for Python at startup and in rare cases may report that it could not be found
even if it is on your machine.

~~~if not WING101:
If this happens all the time, point ``Python Executable`` in ``Project Properties``
(accessed from the ``Project`` menu) to your Python interpreter (python, python2.7,
python.exe, etc) or the command that activates your virtualenv or Anaconda environment. 
Wing remembers this and the message should go away, even with new projects.
~~~
~~~if WING101:
If this happens all the time, point ``Python Executable`` in ``Configure Python``
(accessed from the ``Edit`` menu) to your Python. Wing remembers this and the message
should go away.
~~~
~~~if WEBSITE:
Wing 101 does not have projects and Python environment is instead configured with
``Configure Python`` in the ``Edit`` menu.
~~~

If this happens only intermittently, it may be caused by high load on your machine. Try
restarting Wing after load goes down. In some cases anti-virus software can cause this
during periods of intensive scanning.

