Public bug reported:
cx-freeze doesn't work when it tries to package something using
matplotlib.
$ echo "import pylab" > test.py
$ cxfreeze test.py
[....]
copying /usr/lib/pymodules/python2.7/matplotlib/mpl-data ->
/home/user/dist/mpl-data
Traceback (most recent call last):
File "/usr/bin/cxfreeze", line 5, in <module>
main()
File "/usr/lib/pymodules/python2.7/cx_Freeze/main.py", line 170, in main
freezer.Freeze()
File "/usr/lib/pymodules/python2.7/cx_Freeze/freezer.py", line 428, in Freeze
copyDependentFiles = False)
File "/usr/lib/pymodules/python2.7/cx_Freeze/freezer.py", line 127, in
_CopyFile
shutil.copyfile(source, target)
File "/usr/lib/python2.7/shutil.py", line 81, in copyfile
with open(src, 'rb') as fsrc:
IOError: [Errno 2] No such file or directory:
'/usr/lib/pymodules/python2.7/matplotlib/mpl-data'
The correct path for mpl-data is instead /usr/share/matplotlib/mpl-data.
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: cx-freeze 4.0.1-0ubuntu4
ProcVersionSignature: Ubuntu 3.0.0-14.23-generic 3.0.9
Uname: Linux 3.0.0-14-generic i686
ApportVersion: 1.23-0ubuntu4
Architecture: i386
Date: Wed Nov 30 06:49:24 2011
InstallationMedia: Ubuntu 11.04 "Natty Narwhal" - Release i386 (20110426)
SourcePackage: cx-freeze
UpgradeStatus: Upgraded to oneiric on 2011-10-15 (45 days ago)
** Affects: cx-freeze (Ubuntu)
Importance: Undecided
Status: New
** Tags: apport-bug i386 oneiric running-unity
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/898119
Title:
cx-freeze can't find python-matplotlib-data
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cx-freeze/+bug/898119/+subscriptions
--
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs