Traceback (most recent call last): File "/usr/bin/elogv", line 545, in <module> curses.wrapper(ElogViewer) File "/usr/lib64/python2.5/curses/wrapper.py", line 44, in wrapper return func(stdscr, *args, **kwds) File "/usr/bin/elogv", line 126, in __init__ self.change_usel(-1) File "/usr/bin/elogv", line 296, in change_usel self.logf = open(os.path.join(elogdir,pkg[PATH])) IOError: [Errno 2] No such file or directory: '/var/log/portage/elog/dev-lang:python-2.5.4-r2:20090318-215648.log' How to reproduce: 1. Launch elogv in a terminal 2. In another terminal, run `rm $logfile`, where $logfile is any portage log file in /var/log/portage/elog/ 3. Back in the first terminal, select $logfile from elogv's list => unhandled IOError exception!
Created attachment 189017 [details, diff] elogv-missinglog.patch Reinitializes the list of logfiles when a file goes missing.
Hi, Thanks for the bug, I've already known the problem but I think that it's really "I want to crash this app" behavior! :) So I have omitted to handle this condition for simplicity. Anyway, I will add your patch to svn and probably release a new version with same fixies. Thanks!
(In reply to comment #2) > Hi, > > Thanks for the bug, I've already known the problem but I think that it's really > "I want to crash this app" behavior! :) So I have omitted to handle this > condition for simplicity. Anyway, I will add your patch to svn and probably > release a new version with same fixies. Thanks! Luca, is the new release coming?
(In reply to comment #3) > Luca, is the new release coming? Hi Christian, excuse me for the delay but I have been really busy in this period, anyway I just released the new version which corrects all bugs found here on bugzilla. It can be found on this link: https://sourceforge.net/projects/gechi-overlay/files/elogv/elogv-0.7.4.tar.bz2/download Thank you for the patience
Bumped, thanks Luca.