Pyqt available as wheel? That's really good news!

I'm about to start holidays but will dig in to this in September and see
what i can figure out. (I built the first pypi Leo release packages, and
may have some insight or experience I neglected to document for Edward and
others.)

Matt

On Aug 7, 2016 2:25 AM, "Viktor Ransmayr" <[email protected]> wrote:

> Hello Edward & Community,
>
> Now that PyQt 5.7 is available as a wheel from
> https://pypi.python.org/pypi/PyQt5 I tried to install Leo from PyPI into
> a dedicated virtual environment using Python 3.5.
>
> What I found out is not what I had expected:
>
> * It did not install Leo 5.3 but Leo 5.0b2  - See <Log-1>
> * I'm getting the same error that I reported already a while ago - See
> <Log-2>
> * I even re-did everything with PyPI cache disabled - See <Log-3>
>
> Two questions:
>
> 1) Has anyone successfullly installed Leo 5.3 from PyPI?
> 2) Since I have reset my PC - and - I'm now running Windows 10 (Version
> 1607) I'd be really interested in tracking down the 'Value Error' issue. -
> Any ideas?
>
> With kind regards,
>
> Viktor
>
> <Log-1>
>
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo> pip list
> pip (8.1.2)
> PyQt5 (5.7)
> setuptools (20.10.1)
> sip (4.18.1)
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo> pip install leo
> Collecting leo
>   Using cached leo-5.0b2.zip
> Installing collected packages: leo
>   Running setup.py install for leo ... done
> Successfully installed leo-5.0b2
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo>
>
> </Log-1>
>
> <Log-2>
>
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo\Scripts> ./leoc
>
> ** isPython3: True
> Leo 5.0b2, build 20141117141110, Mon Nov 17 14:11:10 CST 2014
> Not running from a git repo
> Python 3.5.2, PyQt version 5.7.0
> Windows 10 AMD64 (build 10.0.14393) SP0
> leoID=VIRA2015 (in C:\Users\Viktor\.leo)
> reading settings in C:\users\viktor\pyve\ve4leo\
> lib\site-packages\leo\config\leoSettings.leo
> reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
> Using default leo file name:
> C:\Users\Viktor\.leo\workbook.leo
> Traceback (most recent call last):
>   File "C:\Users\Viktor\PyVE\VE4Leo\Scripts\leoc-script.py", line 9, in
> <module>
>     load_entry_point('leo==5.0b2', 'console_scripts', 'leoc')()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\runLeo.py",
> line 81, in run
>     g.app.loadManager.load(fileName,pymacs)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 1963, in load
>     ok = lm.doPostPluginsInit()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2310, in doPostPluginsInit
>     c1 = lm.openEmptyWorkBook()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2368, in openEmptyWorkBook
>     c = lm.loadLocalFile(fn,gui=g.app.gui,old_c=None)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2564, in loadLocalFile
>     c = lm.openFileByName(fn,gui,old_c,previousSettings)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2621, in openFileByName
>     lm.createMenu(c,fn)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2632, in createMenu
>     g.app.recentFilesManager.updateRecentFiles(fn)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 3207, in updateRecentFiles
>     if (munge(fileName) == munge(name) or
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 3198, in munge
>     return g.os_path_finalize(name or '').lower()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoGlobals.py",
> line 6193, in os_path_finalize
>     path = os.path.abspath(path)
>   File "C:\Users\Viktor\Programs\Python\Python35\lib\ntpath.py", line
> 535, in abspath
>     path = _getfullpathname(path)
> ValueError: _getfullpathname: embedded null character
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo\Scripts>
>
> </Log-2>
>
> <Log-3>
>
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo> pip list
> pip (8.1.2)
> PyQt5 (5.7)
> setuptools (20.10.1)
> sip (4.18.1)
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo> pip install leo --no-cache-dir
> Collecting leo
>   Downloading leo-5.0b2.zip (6.6MB)
>     100% |################################| 6.6MB 2.0MB/s
> Installing collected packages: leo
>   Running setup.py install for leo ... done
> Successfully installed leo-5.0b2
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo> ./Scripts/leoc
>
> ** isPython3: True
> Leo 5.0b2, build 20141117141110, Mon Nov 17 14:11:10 CST 2014
> Not running from a git repo
> Python 3.5.2, PyQt version 5.7.0
> Windows 10 AMD64 (build 10.0.14393) SP0
> leoID=VIRA2015 (in C:\Users\Viktor\.leo)
> reading settings in C:\users\viktor\pyve\ve4leo\
> lib\site-packages\leo\config\leoSettings.leo
> reading settings in C:\Users\Viktor\.leo\myLeoSettings.leo
> Using default leo file name:
> C:\Users\Viktor\.leo\workbook.leo
> Traceback (most recent call last):
>   File "C:\Users\Viktor\PyVE\VE4Leo\Scripts\leoc-script.py", line 9, in
> <module>
>     load_entry_point('leo==5.0b2', 'console_scripts', 'leoc')()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\runLeo.py",
> line 81, in run
>     g.app.loadManager.load(fileName,pymacs)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 1963, in load
>     ok = lm.doPostPluginsInit()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2310, in doPostPluginsInit
>     c1 = lm.openEmptyWorkBook()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2368, in openEmptyWorkBook
>     c = lm.loadLocalFile(fn,gui=g.app.gui,old_c=None)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2564, in loadLocalFile
>     c = lm.openFileByName(fn,gui,old_c,previousSettings)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2621, in openFileByName
>     lm.createMenu(c,fn)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 2632, in createMenu
>     g.app.recentFilesManager.updateRecentFiles(fn)
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 3207, in updateRecentFiles
>     if (munge(fileName) == munge(name) or
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoApp.py",
> line 3198, in munge
>     return g.os_path_finalize(name or '').lower()
>   File "c:\users\viktor\pyve\ve4leo\lib\site-packages\leo\core\leoGlobals.py",
> line 6193, in os_path_finalize
>     path = os.path.abspath(path)
>   File "C:\Users\Viktor\Programs\Python\Python35\lib\ntpath.py", line
> 535, in abspath
>     path = _getfullpathname(path)
> ValueError: _getfullpathname: embedded null character
> (VE4Leo) PS C:\Users\Viktor\PyVE\VE4Leo>
>
> </Log-3>
>
> --
> You received this message because you are subscribed to the Google Groups
> "leo-editor" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To post to this group, send email to [email protected].
> Visit this group at https://groups.google.com/group/leo-editor.
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"leo-editor" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/leo-editor.
For more options, visit https://groups.google.com/d/optout.

Reply via email to