LD_LIBRARY_PATH not found

Bug #700338 reported by Yaio
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Panda3D
Fix Released
Low
rdb

Bug Description

Ubuntu 10.10 32 bit / daily build
If I launch a packp3d command I receive this error:

$ python /usr/share/panda3d/direct/p3d/packp3d.py -o example.p3d
Traceback (most recent call last):
  File "/usr/share/panda3d/direct/p3d/packp3d.py", line 219, in <module>
    makePackedApp(sys.argv[1:])
  File "/usr/share/panda3d/direct/p3d/packp3d.py", line 105, in makePackedApp
    packager = Packager.Packager()
  File "/usr/share/panda3d/direct/p3d/Packager.py", line 2031, in __init__
    self.addPosixSearchPath(self.executablePath, "LD_LIBRARY_PATH")
  File "/usr/share/panda3d/direct/p3d/Packager.py", line 2307, in addPosixSearchPath
    path = os.environ[varname]
  File "/usr/lib/python2.6/UserDict.py", line 22, in __getitem__
    raise KeyError(key)
KeyError: 'LD_LIBRARY_PATH'

Revision history for this message
rdb (rdb) wrote :

I committed a fix. As a workaround, you can just set the LD_LIBRARY_PATH environment variable to the empty string before running packp3d.

Changed in panda3d:
assignee: nobody → rdb (rdb)
importance: Undecided → Low
milestone: none → 1.7.1
status: New → Fix Committed
rdb (rdb)
Changed in panda3d:
status: Fix Committed → Fix Released
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.