Grande, elogv entrato nel Portage tree ufficiale
Moderator: ago

testato su amd64.Scen wrote:http://packages.gentoo.org/ebuilds/?elogv-0.4.1
Grande, elogv entrato nel Portage tree ufficiale
Code: Select all
Traceback (most recent call last):
File "/usr/bin/elogv", line 405, in ?
curses.wrapper(ElogViewer)
File "/usr/lib/python2.4/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/bin/elogv", line 189, in __init__
self.show_log()
File "/usr/bin/elogv", line 301, in show_log
filepath = os.path.join(elogdir,self.file_list[self.usel])
IndexError: list index out of range

Code: Select all
[ebuild R ] app-portage/elogv-0.5 11 kB [2]Si, il comando per eliminare funziona in maniera simile al comando "d" di vim, nell'help (tasto h o F1) c'è qualche esempio.skypjack wrote:Scusate, ma non sono riuscito a capire come fare: una volta letto e analizzato il file, è possibile cancellarlo con logv senza doverlo fare a mano?
Grazie e complimenti per il lavoro...

Code: Select all
PORTAGE_ELOG_CLASSES="warn error log info"
PORTAGE_ELOG_SYSTEM="save"Code: Select all
Traceback (most recent call last):
File "/usr/bin/elogv", line 405, in ?
curses.wrapper(ElogViewer)
File "/usr/lib/python2.4/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/bin/elogv", line 189, in __init__
self.show_log()
File "/usr/bin/elogv", line 301, in show_log
filepath = os.path.join(elogdir,self.file_list[self.usel])
IndexError: list index out of range

Code: Select all
sudo elogv
Password:
Traceback (most recent call last):
File "/usr/bin/elogv", line 405, in ?
curses.wrapper(ElogViewer)
File "/usr/lib/python2.4/curses/wrapper.py", line 44, in wrapper
return func(stdscr, *args, **kwds)
File "/usr/bin/elogv", line 189, in __init__
self.show_log()
File "/usr/bin/elogv", line 301, in show_log
filepath = os.path.join(elogdir,self.file_list[self.usel])
IndexError: list index out of range