EU will not start if not currently in the easyUbuntu directory

Bug #49909 reported by Derick Eisenhardt
2
Affects Status Importance Assigned to Milestone
EasyUbuntu
Fix Committed
High
Unassigned

Bug Description

Easy Ubuntu fails to start if your terminal is not currently in the easyubuntu/ directory. Upon trying to start it from my home directory (for example), by way of "sudo python Desktop/easyubuntu/easyubuntu.py", it fails with the following errors:

"Traceback (most recent call last):
  File "Desktop/easyubuntu/easyubuntu.py", line 36, in ?
    gtkfrontend.launcher(datadir, confdir)
  File "/home/zephyrxero/Desktop/easyubuntu/gtkfrontend.py", line 136, in launcher
    pkglist = minidom.parse(os.path.join(datadir, 'packagelist-%s.xml' % codename()))
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/minidom.py", line 1915, in parse
    return expatbuilder.parse(file)
  File "/usr/lib/python2.4/site-packages/_xmlplus/dom/expatbuilder.py", line 924, in parse
    fp = open(file, 'rb')
IOError: [Errno 2] No such file or directory: '/home/zephyrxero/packagelist-dapper.xml' "

It should not matter what directory I'm currently in, as long as I point the python interpretor to proper location of EU.

Once I cd'd into the actual easyubuntu/ directory everything ran fine, so I'm willing to bet there's some code that's setup relative to where the user is when they run it rather than where the code actually exists.

Changed in easyubuntu:
status: Unconfirmed → Confirmed
Revision history for this message
Kyle Brooks (kyle-brooks) wrote :

Fixed in revision 190 (syntax error related to that fixed in 191)

Changed in easyubuntu:
status: Confirmed → Fix Committed
Revision history for this message
Venkat Raghavan (venkatraghavan) wrote :

This seems to have popped up again, so reopening

Changed in easyubuntu:
status: Fix Committed → Confirmed
Revision history for this message
Kyle Brooks (kyle-brooks) wrote :

It popped up again due to a change in code

Changed in easyubuntu:
status: Confirmed → Fix Released
Revision history for this message
Kyle Brooks (kyle-brooks) wrote :

oops!

Changed in easyubuntu:
status: Fix Released → Confirmed
Revision history for this message
Kyle Brooks (kyle-brooks) wrote :

fixed in revision 224

Changed in easyubuntu:
status: Confirmed → Fix Committed
KarlGoetz (kgoetz)
Changed in easyubuntu:
importance: Untriaged → High
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.