Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Elogviewer, a python/gtk graphical elog viewer
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Sat Oct 28, 2006 6:48 pm    Post subject: Reply with quote

I finished rewriting elogviewer, there are not many changes from a user's stand point but there is proper licensing, proper credits, etc. And a better organization of the code as well as a few bug fixes. I hope I did not add new bugs, too. It's uploaded at sourceforge.

(k)elogviewer need icons. I could not care less myself, being a happy openbox user, but I think the projects need one in order to look good to everybody else. Hence I am fully open and would enjoy seeing artwork from whoever knows how and has time for making icon sets. His name will be added to the credits, that's all I can do.

Whoever wants to hack into the code should start from elogviewer-0.5.0 and is welcome. As Jeremy_Z said, I am busy these days, so whoever feels like contributing is welcome. Although, I would like to supervise everything concerning elogviewer. I may go on from time to time myself.

The code is actually simple, so do not be scared looking into it.
_________________
Compress portage tree
Elog viewer
Autodetect swap


Last edited by synss on Sun Oct 29, 2006 2:42 pm; edited 1 time in total
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Sun Oct 29, 2006 6:43 am    Post subject: Reply with quote

I think we could share an icon (since people using gnome won't be using kelogviewer and vice cersa). Samewise we should try to keep the same features in both versions, so that kelog and elog would be the same soft but with just a different backend (QT / GTK).
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Mon Nov 06, 2006 12:20 am    Post subject: Reply with quote

Ok guys, apart from the icon thing I can tell you that elogv for the command line and elogviewer for GTK+ have made it into Portage.
kelogviewer has to wait until the source files have moved to Sourceforge.

If you don't have x86 and you can sucessfully run it on that arch, please file a bug (or notify me by email or PM) and tell so. The respective arch team will take care of keywording then.

Code:

/etc/portage/package.keywords
app-portage/elogv ~*
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Mon Nov 06, 2006 7:27 am    Post subject: Reply with quote

Hi i've been a bit busy but i uploaded the source in the CVS repository. The release should follow soon (sf permission issue :D )
_________________
"Because two groups of consumers drive the absolute high end of home computing: the gamers and the porn surfers." /.
My gentoo projects, Kelogviewer and a QT4 gui for etc-proposals
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Tue Nov 07, 2006 8:02 am    Post subject: Reply with quote

kelogviewer is in Portage now, too. app-portage/kelogviewer as you may guess. Inform me about successful runs on other architectures than x86, or file a bug to the arch team yourself.
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Nov 08, 2006 11:13 pm    Post subject: Reply with quote

Einfo for elogviewer says that you need to create the /elog directory to use the tool. Couldn't this be avoided or the directory moved or made customizable, so not to clog the root folder just for one - albeit useful - single package? And by the way, why is that directory needed? I used elogviewer for a while, checked the directory and it's empty.
Back to top
View user's profile Send private message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Wed Nov 22, 2006 3:14 pm    Post subject: Reply with quote

xenon wrote:
Einfo for elogviewer says that you need to create the /elog directory to use the tool. Couldn't this be avoided or the directory moved or made customizable, so not to clog the root folder just for one - albeit useful - single package? And by the way, why is that directory needed? I used elogviewer for a while, checked the directory and it's empty.



It is not needed so just delete it :)

/usr/portage/app-portage/elogviewer/elogviewer-0.5.1.ebuild wrote:
36 elog "To operate properly this software needs the directory"
37 elog "$PORT_LOGDIR/elog created, belonging to group portage."
38 elog "To start the software as a user, add yourself to the portage"
so that $PORT_LOGDIR/elog is actually needed. In short: if you have elogs, you do not need to do anything, if elogviewer works, you are done.

I believe the mistake comes from:
  • your $PORT_LOGDIR is empty
  • when displaying its info, it was interpreted (as nothing because empty)
  • $PORT_LOGDIR/elog became /elog
elogviewer does not need anything but python, pygtk and elogs to read.

And it actually comes from
/etc/make.conf.example wrote:
save (saves one log per package in $PORT_LOGDIR/elog, /var/log/portage/elog if $PORT_LOGDIR is unset)
about line 355. It is portage related, that is why elogviewer would not do it for you.
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
xenon
Guru
Guru


Joined: 25 Dec 2002
Posts: 432
Location: Europe

PostPosted: Wed Nov 22, 2006 3:31 pm    Post subject: Reply with quote

Thanks, that makes much more sense!
Back to top
View user's profile Send private message
Apatrid
n00b
n00b


Joined: 16 Apr 2005
Posts: 9

PostPosted: Sat Dec 30, 2006 5:43 pm    Post subject: Reply with quote

V-Li wrote:
kelogviewer is in Portage now, too. app-portage/kelogviewer as you may guess. Inform me about successful runs on other architectures than x86, or file a bug to the arch team yourself.


I've been using kelogviewer for a long time on amd64. The version from portage, once I create custom ebuild to add amd64 keyword, works fine.
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Sat Dec 30, 2006 6:20 pm    Post subject: Reply with quote

Apatrid wrote:
V-Li wrote:
kelogviewer is in Portage now, too. app-portage/kelogviewer as you may guess. Inform me about successful runs on other architectures than x86, or file a bug to the arch team yourself.


I've been using kelogviewer for a long time on amd64. The version from portage, once I create custom ebuild to add amd64 keyword, works fine.


There is a bug now that asks amd64 architecture team about keywording it testing. See bug #159595
Back to top
View user's profile Send private message
cwall64
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2003
Posts: 128
Location: Houston, TX

PostPosted: Thu Feb 08, 2007 3:02 pm    Post subject: Reply with quote

anybody seen this error with elogviewer?

Quote:

intellistation2800 ~ # elogviewer
Traceback (most recent call last):
File "/usr/bin/elogviewer", line 640, in ?
Elogviewer()
File "/usr/bin/elogviewer", line 490, in __init__
self.filelist.populate()
File "/usr/bin/elogviewer", line 230, in populate
log = LogEntry(filename)
File "/usr/bin/elogviewer", line 195, in __init__
(c, p, t) = re.split(':', str(filename))
ValueError: need more than 1 value to unpack


it was working for me fine, then this error started happening.
_________________
Intel Core2Quad Q9400
Gigabyte GA-EP45-UD3P
8GB DDR2-1066 RAM OCZ
GeForce 9600GT
5x Seagate 1TB 7200.12 (4x Software RAID5)
Gentoo 64-bit
Back to top
View user's profile Send private message
V-Li
Retired Dev
Retired Dev


Joined: 03 Jan 2006
Posts: 613

PostPosted: Thu Feb 08, 2007 4:53 pm    Post subject: Reply with quote

cwall64 wrote:
anybody seen this error with elogviewer?
[...]


Delete /var/log/portage/elog/* and try again.
Back to top
View user's profile Send private message
cwall64
Tux's lil' helper
Tux's lil' helper


Joined: 28 Nov 2003
Posts: 128
Location: Houston, TX

PostPosted: Fri Feb 09, 2007 4:12 pm    Post subject: Reply with quote

V-Li wrote:
cwall64 wrote:
anybody seen this error with elogviewer?
[...]


Delete /var/log/portage/elog/* and try again.


That did not solve the problem, any other ideas? Does it not work with ~x86 versions of portage?
_________________
Intel Core2Quad Q9400
Gigabyte GA-EP45-UD3P
8GB DDR2-1066 RAM OCZ
GeForce 9600GT
5x Seagate 1TB 7200.12 (4x Software RAID5)
Gentoo 64-bit
Back to top
View user's profile Send private message
Aysen
Apprentice
Apprentice


Joined: 18 May 2005
Posts: 187
Location: Poland

PostPosted: Sun Feb 11, 2007 1:04 pm    Post subject: Reply with quote

I'd like to ask what's the current status of kelogviewer? Is there any work going on on it?
Eg. I'd love it to recognize the new "qa" elog class. Is it something we can expect in the near future?

Oh, and I've filed a bug with a patch to allow kelogviewer to build with dev-python/pykde instead of broken kde-base/pykde (broken on x86 because of broken =dev-python/PyQt-3.14.1-r2 dependency).
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Sun Feb 18, 2007 5:45 pm    Post subject: Reply with quote

on amd64, elogv shows warnings,logs,.. but elogviewer only shows the ebuild names, no loggings
on the console it shows the error
Code:
Traceback (most recent call last):
  File "/usr/bin/elogviewer", line 545, in selection_changed
    self.logview.set_text(filename)
  File "/usr/bin/elogviewer", line 377, in set_text
    elif self.headerlist.is_active(section) and \
UnboundLocalError: local variable 'section' referenced before assignment

when I click an ebuild name

configuration in /etc/make.conf
Code:
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save"
PORT_LOGDIR="/var/log/"

_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Mon Feb 19, 2007 5:26 am    Post subject: Reply with quote

I do not know why I do not receive any email when things get posted here. Anyway.

As far as new features go, elogviewer does not support the new save-into-only-one-file feature (I do not have my gentoo box here, I forgot the name, "savesomething") and using it will break my prog.

I have absolutely no time before at least April to do anything for elogviewer (I will not even be at home most of the time) so I would be grateful if somebody would add the couple of classes/functions missing, I believe it is not too much work, actually, despite the fact that I am an amateur-programmer, I hope the source is readable. I may submit patches with small updates and fixes so that elogviewer can cope with portage, but I cannot make anything serious now.

Next, for at least some time, Mac OS X is going to be my main OS, I will likely put a Debian on my lightweight PC so that I get something quick and --- probably later in April, either Gentoo or OpenSuSE on the amd64 Opteron sitting in my office.


In other words anybody willing to contribute to Gentoo and thinking (k)elogviewer is/are useful can take over with the development.


すみません
and thank you for your understanding
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
vinboy
n00b
n00b


Joined: 18 Jun 2006
Posts: 69

PostPosted: Fri Mar 02, 2007 4:06 pm    Post subject: Reply with quote

good stuff
Back to top
View user's profile Send private message
JeliJami
Veteran
Veteran


Joined: 17 Jan 2006
Posts: 1086
Location: Belgium

PostPosted: Wed Mar 28, 2007 4:22 pm    Post subject: Reply with quote

the crash of elogviewer on amd64 mentioned above, is no longer :D

all I can remember was changing the ELOG settings in /etc/make.conf into
Code:
PORTAGE_ELOG_CLASSES="info warn error log qa"
PORTAGE_ELOG_SYSTEM="save"
#PORT_LOGDIR="/var/log/"

(commented PORT_LOGDIR)

Code:
equery l elogviewer
[ Searching for package 'elogviewer' in all categories among: ]
 * installed packages
[I--] [ ~] app-portage/elogviewer-0.5.1 (0)

_________________
Unanswered Post Initiative | Search | FAQ
Former username: davjel
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Sun Jan 20, 2008 7:50 pm    Post subject: Reply with quote

Is someone maintaining elogviewer at this time? I have a bug to report. I think 'sorting' on timestamps is buggy. It shows 12/31/07 before 01/20/08 if sorted in desc order. If in asc order, it shows 01/20/08 before 12/31/07. i.e. entries are shown like:

12/31/07
..
06/09/07
...
01/20/08
...
01/01/08


and the 'sort' arrow is pointing upwards.

Or

01/01/08
...
01/20/08
...
06/09/07
...
12/31/07

and the 'sort' arrow is pointing downwards. I think its sorting on month first whereas it should sort on year first, month second and then on date, hour, minutes, seconds etc.
Back to top
View user's profile Send private message
devsk
Advocate
Advocate


Joined: 24 Oct 2003
Posts: 2995
Location: Bay Area, CA

PostPosted: Fri Jan 25, 2008 2:51 am    Post subject: Reply with quote

Bug mentioned in: https://bugs.gentoo.org/show_bug.cgi?id=207220

The patch provided there works. It is also included in latest revision in the tree.
Back to top
View user's profile Send private message
MMMMM
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2011
Posts: 141
Location: Berlin

PostPosted: Sat Feb 08, 2014 12:31 pm    Post subject: elogviewer / kelogviewer Reply with quote

Hello,

elogviewer in portage is stable 0.5.2-r2 / unstable 0.6.2-r2, on Homepage 2.2. Is there a way of using the current version through the emerge system?

sunrise overlay does not work.

kelogviewer isn't in portage.

does anyone know?

M


Last edited by MMMMM on Sun Feb 09, 2014 2:01 pm; edited 1 time in total
Back to top
View user's profile Send private message
jasn
Guru
Guru


Joined: 05 May 2005
Posts: 439
Location: Maryland, US

PostPosted: Sat Feb 08, 2014 10:12 pm    Post subject: Reply with quote

Not in main portage but it looks like the 2.x versions are at least available in the gentoo-guis and vaca overlays.

Good Luck..
Back to top
View user's profile Send private message
Anon-E-moose
Watchman
Watchman


Joined: 23 May 2008
Posts: 6095
Location: Dallas area

PostPosted: Sat Feb 08, 2014 10:19 pm    Post subject: Reply with quote

http://sourceforge.net/projects/elogviewer/

ebuild download link is on page along with gzipped tar file
_________________
PRIME x570-pro, 3700x, 6.1 zen kernel
gcc 13, profile 17.0 (custom bare multilib), openrc, wayland
Back to top
View user's profile Send private message
MMMMM
Tux's lil' helper
Tux's lil' helper


Joined: 13 Jun 2011
Posts: 141
Location: Berlin

PostPosted: Sun Feb 09, 2014 2:00 pm    Post subject: Reply with quote

I was successfull using the vaca overlay. Thanks!
Back to top
View user's profile Send private message
synss
Apprentice
Apprentice


Joined: 08 Mar 2006
Posts: 282
Location: Dijon > Berlin > Tokyo > Nürnberg > München

PostPosted: Sat Mar 22, 2014 7:50 pm    Post subject: Re: elogviewer / kelogviewer Reply with quote

MMMMM wrote:
elogviewer in portage is stable 0.5.2-r2 / unstable 0.6.2-r2, on Homepage 2.2. Is there a way of using the current version through the emerge system?

2.1 should be in unstable from... today!

MMMMM wrote:
kelogviewer isn't in portage.

Yes, kelogviewer is dead. but but but the version that survived is the Qt4 version because I now like it/know it better than gtk and maintaining two GUIs was too much work.
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3
Page 3 of 3

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum