installer\copy_libs.py crashes if pygments installed as egg

Bug #427586 reported by Gary van der Merwe
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
QBzr
Won't Fix
High
Alexander Belchenko

Bug Description

D:\My Documents\qbzr\0.14>python installer\copy_libs.py
*** Copy PyQt4 libs ***
Copy PyQt4 libs from C:\Python25\lib\site-packages
Copying sip.pyd: C:\Python25\lib\site-packages\sip.pyd -> installer\_lib\sip.pyd
Copy minimal set of PyQt4 libs
Creating directory installer\_lib\PyQt4
Copy C:\Python25\lib\site-packages\PyQt4\__init__.py -> installer\_lib\PyQt4\__init__.py
Copy C:\Python25\lib\site-packages\PyQt4\mingwm10.dll -> installer\_lib\PyQt4\mingwm10.dll
Copy C:\Python25\lib\site-packages\PyQt4\Qt.pyd -> installer\_lib\PyQt4\Qt.pyd
Copy C:\Python25\lib\site-packages\PyQt4\QtCore.pyd -> installer\_lib\PyQt4\QtCore.pyd
Copy C:\Python25\lib\site-packages\PyQt4\QtCore4.dll -> installer\_lib\PyQt4\QtCore4.dll
Copy C:\Python25\lib\site-packages\PyQt4\QtGui.pyd -> installer\_lib\PyQt4\QtGui.pyd
Copy C:\Python25\lib\site-packages\PyQt4\QtGui4.dll -> installer\_lib\PyQt4\QtGui4.dll
*** Copy Pygments package ***
Creating directory installer\_lib\pygments-1.0-py2.5.egg\pygments
Traceback (most recent call last):
  File "installer\copy_libs.py", line 149, in <module>
    sys.exit(main())
  File "installer\copy_libs.py", line 142, in main
    copy_pygments()
  File "installer\copy_libs.py", line 94, in copy_pygments
    copy_python_package(pkg)
  File "installer\copy_libs.py", line 84, in copy_python_package
    os.mkdir(dstdir)
WindowsError: [Error 3] The system cannot find the path specified: 'installer\\_lib\\pygments-1.0-py2.5.egg\\pygments'

Once I created 'installer\_lib\pygments-1.0-py2.5.egg\pygments' manually, it worked.

summary: - installer\copy_libs.py crashes if dir missing
+ installer\copy_libs.py crashes if pygments installed as egg
Changed in qbzr:
status: New → Confirmed
importance: Undecided → High
assignee: nobody → Alexander Belchenko (bialix)
Revision history for this message
Alexander Belchenko (bialix) wrote :

As of 0.15 we don't bundle libs anymore.

Changed in qbzr:
status: Confirmed → Won't Fix
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.