Hi,
the issue is related to WinPython Control Panel from WinPython-2.7.10.3 (both 32 and 64 bit).
After manual install of this package:
https://pypi.python.org/pypi/pyOSC/0.3.5b-5294
the Uninstall Packages tab in the Control Panel GUI becomes empty (all entries disappear their).
you may try the "pip list" command to see how it works with this package installed. Eventually post the result here.
Ok, after some inverstigation more facts on the issue:
Note the package file has name pyOSC-0.3.5b-5294.tar.gz (with a '-' sign within version number) so dragging this one onto WinPython Control Panel "Install/Upgrade Packages" tab shows:
Action: Install
Name: pyOSC-0.3.5b
Version: 5294 (already wrong, Ok malformed package name :)
After installation in Lib\site-packages appears a folder pyOSC-0.3.5b5294.dist-info (without '-' sign between '5b' and '5294')
If I understand correctly when the Control Panel updates 'Uninstalled Packages' list it reads all 'dist-info' directories in Lib\site-packages and some-how the parsing of the pyOSC version "0.3.5b5294" fails and the list stays uninitialized ?
HTH
Albert
PS. pip list shows:
...
pyOSC (0.3.5b5294)
...
Last edit: algo99 2015-11-02
WinPython relies on pip list for the informations, so I expected a failure is happening because of this strange packaging name. I don't see why.
The code that get the list is:
can you try it and paste the result here ? If it doesn't fell at that point, I think you have an orphan issue
Last edit: stonebig 2015-11-02
Ok, I could figure out it.
The reason the list stays empty is an exception in wppm.get_installed_packages(), line 358:
for the input parameter pyosc-0.3.5b5294-py2.py3-none-any.whl of Package class.
The exception is thrown from wppm.Package.extract_infos(), line 155:
because infos for bname=pyosc-0.3.5b5294-py2.py3-none-any.whl is None
This in turn caused by the fact that the regular expression utils.SOURCE_PATTERN does not match the given bname, the match will be None:
Last edit: algo99 2015-11-04
ah, ok, in your python-2.7.10.amd64\Lib\site-packages\winpython\utils.py , at line 466
try to replace
per
It's a bug as, for example, Theano-0.7.1a42-py2-none-any.whl will have the same issue.
Last edit: stonebig 2015-11-04
Argh, sourceforge is not showing untouched the expression (or I'm not sure). try to apply change described here:
https://github.com/stonebig/winpython/commit/1ec910197b0f0fa434c1cee2417dac242b1bb67b
Last edit: stonebig 2015-11-04
Works for me, thank you.
fixed in next Winpython - 201508