Common module has no attribute 'HOME'

Bug #146200 reported by Jeff Bailes
10
Affects Status Importance Assigned to Milestone
Exaile
Fix Released
Undecided
Unassigned

Bug Description

Over the last two days people on the IRC channel have complained with the following traceback:

Traceback (most recent call last):
  File "/usr/lib/exaile/exaile.py", line 144, in <module>
    main()
  File "/usr/lib/exaile/exaile.py", line 136, in main
    exaile = exailemain.ExaileWindow(options, xl.path.firstrun)
  File "/usr/lib/exaile/xl/gui/main.py", line 212, in __init__
    self.setup_left()
  File "/usr/lib/exaile/xl/gui/main.py", line 909, in setup_left
    self.files_panel = files.FilesPanel(self)
  File "/usr/lib/exaile/xl/panels/files.py", line 104, in __init__
    self.load_directory(self.first_dir, False)
  File "/usr/lib/exaile/xl/panels/files.py", line 285, in load_directory
    paths = os.listdir(common.HOME)
AttributeError: 'module' object has no attribute 'HOME'

I expect this is due to a move of the HOME variable to xl.path.home, so a simple change is probably all that's needed. Though I can't be sure since I haven't tested it myself.

Revision history for this message
Johannes Sasongko (sjohannes) wrote :

Thanks, fixed now.

Changed in exaile:
status: New → Fix Committed
Changed in exaile:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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