Awn

awn-manager quit if /usr/share/avant-window-navigator/themes folder is missing

Bug #318674 reported by Gianluca Magalotti
2
Affects Status Importance Assigned to Milestone
Awn
Fix Released
Low
Julien Lavergne

Bug Description

awn-manager quit after started if folder /usr/share/avant-window-navigator/themes is missing.
I've experimented this bug on Ubuntu 8.10 running awn-manager-trunk version 0.3.1~bzr507-intrepid1-1.

To reproduce the error:
              remove /usr/share/avant-window-navigator/themes folder and launch awn-manager from a command line.

Here the traceback of the error:

Traceback (most recent call last):
  File "/usr/bin/awn-manager", line 216, in <module>
    awnmanager = AwnManager()
  File "/usr/bin/awn-manager", line 134, in __init__
    self.themeManager = AwnThemeManager(self.wTree)
  File "/usr/share/avant-window-navigator/awn-manager/awnTheme.py", line 102, in __init__
    self.make_model()
  File "/usr/share/avant-window-navigator/awn-manager/awnTheme.py", line 478, in make_model
    self.list_themes(self.theme_model)
  File "/usr/share/avant-window-navigator/awn-manager/awnTheme.py", line 121, in list_themes
    self.list_dirs(defs.SYS_THEME_DIR))
  File "/usr/share/avant-window-navigator/awn-manager/awnTheme.py", line 418, in list_dirs
    return list(os.listdir(path))
OSError: [Errno 2] Nessun file o directory: '/usr/share/avant-window-navigator/themes'

Tags: awn-manager

Related branches

description: updated
Michal Hruby (mhr3)
Changed in awn:
assignee: nobody → mhr3
importance: Undecided → Low
milestone: none → 0.3.2
status: New → Confirmed
Revision history for this message
Michal Hruby (mhr3) wrote :

Just a question, did you remove the directory yourself or the package didn't install it?

Changed in awn:
status: Confirmed → In Progress
Revision history for this message
Julien Lavergne (gilir) wrote : Re: [Bug 318674] Re: awn-manager quit if /usr/share/avant-window-navigator/themes folder is missing

The debian directory need to be updaded also to add the new directory.
I'll fix this tonight.

Julien Lavergne

Le 19 janv. 09 à 11:16, Michal Hruby <email address hidden> a écrit :

> Just a question, did you remove the directory yourself or the package
> didn't install it?
>
> ** Changed in: awn
> Status: Confirmed => In Progress
>
> --
> awn-manager quit if /usr/share/avant-window-navigator/themes folder
> is missing
> https://bugs.launchpad.net/bugs/318674
> You received this bug notification because you are a member of Awn-
> core,
> which is subscribed to Awn.

Revision history for this message
Gianluca Magalotti (gianluca-magalotti) wrote :

I just upgraded from last trunk version (I don't remember exactly the version ..maybe bzr496).
Originally the package was installed from regular UBUNTU repos, then I switched (about four/six month ago) to bzr repo installing the trunk releases.
This is the first time I experience such bug... and I never deleted folders.
This morning I upgraded to 507 and awn-monitor didn't start... so I've checked the error and created the missing folder letting awn-manager to start successfully.
Just for testing purpose I've then removed the folder again to reproduce the bug.

Revision history for this message
Gianluca Magalotti (gianluca-magalotti) wrote :

I also suspected was a debian package issue... :-)

Revision history for this message
Michal Hruby (mhr3) wrote :

Very well, as a reminder I'm reassigning the bug to you gilir.

Changed in awn:
assignee: mhr3 → gilir
Revision history for this message
Julien Lavergne (gilir) wrote :

Commited in r512

Changed in awn:
status: In Progress → Fix Committed
moonbeam (rcryderman)
Changed in awn:
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.