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  Next  
Reply to topic    Gentoo Forums Forum Index Unsupported Software
View previous topic :: View next topic  
Author Message
wpetya
n00b
n00b


Joined: 16 Aug 2006
Posts: 9

PostPosted: Wed Aug 16, 2006 7:33 pm    Post subject: Re: when it gonna be in portage? Reply with quote

framirez wrote:
i havent been able to download it.. all i get is a bunch of text.. lot of crap from the download link http://www.rz-berlin.mpg.de/~laurin/elogviewer


:lol: That's it, the buch of text is the program.
Back to top
View user's profile Send private message
framirez
n00b
n00b


Joined: 11 Aug 2006
Posts: 11

PostPosted: Wed Aug 16, 2006 7:54 pm    Post subject: sorry for my stupidity Reply with quote

ok i guess wget will help with that then.. :lol: ... my bad jeje
Back to top
View user's profile Send private message
weibullguy
n00b
n00b


Joined: 11 Apr 2006
Posts: 6
Location: Kalamazoo

PostPosted: Thu Aug 17, 2006 2:11 am    Post subject: Bravo Zulu Reply with quote

@jeremy_z Just installed kelogviewer, very nice. If I were artistic, I'd create a icon to go with it.
_________________
Registered Linux user #413054. I did it here! -> www.counter.li.org
Back to top
View user's profile Send private message
Gooserider
Apprentice
Apprentice


Joined: 30 Dec 2005
Posts: 165
Location: Universe, Milky Way Galaxy, Solar System, Earth, North America, USA, MA, North Billerica

PostPosted: Sat Aug 19, 2006 2:25 am    Post subject: Kelogviewer problem Reply with quote

Quote:
Jeremy_Z:
Hi all, nice work synss.
I ported your app to PyKDE for those who can't use gtk in their kde environment.


I'm having a few issues with the program.

1. I downloaded it, and unpacked it, but where on the system is it best to put it? Currently it's sitting in my downloads directory which I feel is probably not the right place...)

2. I am running kde, and have kde-base (and other things) installed, but I get this error when I try to run kelogviewer:

Code:

localhost ~/Downloads $ ./kelogviewer

        Kelogviewer requires pykde and portage 2.1.
        Vous n'avez pas installe pykde.

        emerge pykde

Traceback (most recent call last):
  File "./kelogviewer", line 14, in ?
    from qt import QVBox, QHBox, QPopupMenu, SIGNAL, PYSIGNAL, QListView, QButtonGroup, QCheckBox, QColor, QIconSet, QPixmap, QLabel, QPushButton, QSplitter, QString, QListViewItemIterator, Qt
ImportError: No module named qt


Considering I'm running KDE, I'd better have qt, but maybe it's something to do w/ pykde... So I tried emerging pykde, even though I thought it was part of kde, and got:

Code:

localhost ~ # emerge -uDaNv pykde

These are the packages that would be merged, in order:

Calculating dependencies

!!! The short ebuild name "pykde" is ambiguous.  Please specify
!!! one of the following fully-qualified ebuild names instead:

    dev-python/pykde
    kde-base/pykde


So which one is right, and which do I emerge?

Any other "gotcha's" I need to watch out for?

Thanks,

Gooserider
_________________
Box 1: P2 Celeron 400, 320mb RAM, 80GB HD, Cirrus Logic 4614/22/24 sound card, ATI 3D RAGE PRO AGP 1X/2X (sound & video onboard)
Box 2: AMD Athlon 2500+ 512mb RAM, 80GB HD, Gigabyte K7 Triton (Nvidia) mobo, GeForce2 video
Back to top
View user's profile Send private message
marcalj
Apprentice
Apprentice


Joined: 23 Dec 2003
Posts: 193
Location: Barcelona

PostPosted: Tue Aug 22, 2006 12:41 am    Post subject: Reply with quote

This program will be integrated in Kuroo?

I would like to have one program for all emerge purposes.

Thanks.
_________________
AMD 64bits X2
porlaminima.com
Back to top
View user's profile Send private message
bunkacid
Tux's lil' helper
Tux's lil' helper


Joined: 11 Jan 2005
Posts: 111
Location: Laguna Hills, CA

PostPosted: Thu Aug 24, 2006 7:26 pm    Post subject: Re: Elogviewer, a python/gtk graphical elog viewer Reply with quote

synss wrote:

Download


thanks it works great.
Back to top
View user's profile Send private message
bvrom
n00b
n00b


Joined: 25 Aug 2006
Posts: 2

PostPosted: Fri Aug 25, 2006 2:17 pm    Post subject: shell script for reading elogs Reply with quote

I have updated the script of uweklosa. Added the option of moving files to an archive folder or a to-do folder (in case the elog says something like: "please do revdep-rebuild", but you have to postpone that to a later moment). Both folders have to be created manually first in your portage elog folder. Also added some nice (and hopefully functional) colours.

I am not a shell-guru so this script now has the limitation that you first have to cd to your portage folder since it works relative from there.

Code:

#!/bin/bash

# This is a script to read portage log items from einfo, ewarn etc, new in the
# portage-2.1 series.
#
# Author: Donnie Berkholz <spyderous@gentoo.org>
# Updated by: Uwe Klosa <uwe.klosa@gmail.com>
# Adapted by: bvrom

# Set ELOGDIR
#ELOGDIR=/var/log/portage/elog/

# ANSI Color -- use these variables to easily have different color
#    and format output. Make sure to output the reset sequence after
#    colors (f = foreground, b = background), and use the 'off'
#    feature for anything you turn on.

initializeANSI()
{
  esc=""

  blackf="${esc}[30m";   redf="${esc}[31m";    greenf="${esc}[32m"
  yellowf="${esc}[33m"   bluef="${esc}[34m";   purplef="${esc}[35m"
  cyanf="${esc}[36m";    whitef="${esc}[37m"
 
  blackb="${esc}[40m";   redb="${esc}[41m";    greenb="${esc}[42m"
  yellowb="${esc}[43m"   blueb="${esc}[44m";   purpleb="${esc}[45m"
  cyanb="${esc}[46m";    whiteb="${esc}[47m"

  boldon="${esc}[1m";    boldoff="${esc}[22m"
  italicson="${esc}[3m"; italicsoff="${esc}[23m"
  ulon="${esc}[4m";      uloff="${esc}[24m"
  invon="${esc}[7m";     invoff="${esc}[27m"

  reset="${esc}[0m"
}

# Set up select prompt
PS3="${redf}Choice?${reset} "
initializeANSI
errcol="${redf}"
mesgcol="${yellowf}"

select_loop() {
        ANY_FILES=$(/usr/bin/find . -maxdepth 1 -type f -printf "%f\n")

        if [[ -z ${ANY_FILES} ]]; then
                echo "No log items to read"
                break
        fi

        echo
        echo "${mesgcol}This is a list of portage log items."
   echo "Choose a number to view that file or type q to quit.${bluef}"

        # Pick which file to read
        select FILE in ${ANY_FILES}; do
                case ${REPLY} in
                        q)
            #echo "${REPLY}"
                                echo "${reset}Quitting"
                                QUIT="yes"
                                break
                                ;;
                        *)
            echo "${reset}"
                                /usr/bin/less ${FILE}
            echo "${mesgcol}${FILE}"
                                read -p "(t)o-do (a)rchive (d)elete or (q)uit? [t/a/d/q]${reset} " ACTION
                                case ${ACTION} in
                                        t)
                                                /usr/bin/mv ${FILE} to-do/${FILE}
                                                SUCCESS=$?
                                                if [[ ${SUCCESS} = 0 ]]; then
                                                        echo "${mesgcol}Moved ${FILE} to to-do directory${reset}"
                                                else
                                                        echo "${errcol}Unable to move ${FILE}${reset}"
                                                fi
                                                ;;

                                        a)
                                                /usr/bin/mv ${FILE} archive/${FILE}
                                                SUCCESS=$?
                                                if [[ ${SUCCESS} = 0 ]]; then
                                                        echo "${mesgcol}Moved ${FILE} to archive directory${reset}"
                                                else
                                                        echo "${errcol}Unable to move ${FILE}${reset}"
                                                fi
                                                ;;

                                        d)
                                                /usr/bin/rm -f ${FILE}
                                                SUCCESS=$?
                                                if [[ ${SUCCESS} = 0 ]]; then
                                                        echo "${mesgcol}Deleted ${FILE}${reset}"
                                                else
                                                        echo "${errcol}Unable to delete ${FILE}${reset}"
                                                fi
                                                ;;
                                        q)
                                                echo "${mesgcol}Quitting${reset}"
                                                QUIT="yes"
                                                ;;
                                        # Empty string or invalid response defaults to "no action"
                                        *)
                                                echo "${mesgcol}Keeping ${FILE} (no action)${reset}"
                                                ;;
                                esac
                                ;;
                esac
                break
        done
}

until [[ -n ${QUIT} ]]; do
        select_loop
done
Back to top
View user's profile Send private message
uweklosa
Tux's lil' helper
Tux's lil' helper


Joined: 18 Feb 2005
Posts: 105

PostPosted: Fri Aug 25, 2006 2:33 pm    Post subject: Reply with quote

Thanks for that. I've been thinking about these things, too. But I had not the time to implement them.

Uwe
Back to top
View user's profile Send private message
dway
n00b
n00b


Joined: 18 Jun 2006
Posts: 35

PostPosted: Sat Aug 26, 2006 3:45 pm    Post subject: elogviewer error Reply with quote

Hi,

I've tried to execute elogviewer (which is in the /dir/to/elog/ with USERID 'root' and GUID 'portage') but here is the error I've got :

/usr/bin/env: python try: import pygtk except: print """ Elogviewer: No such files or directory

pygtk is installed, but seems not to be responding correctly... help :)
Back to top
View user's profile Send private message
V-Li
Developer
Developer


Joined: 03 Jan 2006
Posts: 601

PostPosted: Wed Sep 20, 2006 10:46 am    Post subject: Reply with quote

Just wanted to tell that the ebuild from the bug (request for inclusion of elogviewer) has been introduced to Gentoo Sunrise Overlay, where you can easily call it (see http://www.gentoo-sunrise.org/sunrise). I wrote a man page for it and the ebuild gives some additional infos how to operate Elogviewer correctly. A reaction from the original author would be nice, as there are some unsettled issues...for example proper copyright advice and a logo if possible (only artwork, I can update the ebuild accordingly).
_________________
Christian Faulhammer, Gentoo Lisp project, GNU Emacs wrangler
http://www.gentoo.org/proj/en/lisp/ #gentoo-lisp on FreeNode
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Fri Oct 06, 2006 2:19 pm    Post subject: Reply with quote

Bump...

Has anyone submitted a bug to have this added to portage?

Great app.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
V-Li
Developer
Developer


Joined: 03 Jan 2006
Posts: 601

PostPosted: Fri Oct 06, 2006 4:01 pm    Post subject: Reply with quote

Sure, there is one. I am on my way becoming a developer, I would happily add it to the tree, but when it is not supported anymore by the original author, I am not willing to bring it in and let it rot.
_________________
Christian Faulhammer, Gentoo Lisp project, GNU Emacs wrangler
http://www.gentoo.org/proj/en/lisp/ #gentoo-lisp on FreeNode
Back to top
View user's profile Send private message
roderick
l33t
l33t


Joined: 11 Jul 2005
Posts: 908
Location: St. John's, NL CANADA

PostPosted: Fri Oct 06, 2006 4:06 pm    Post subject: Reply with quote

V-Li wrote:
Sure, there is one. I am on my way becoming a developer, I would happily add it to the tree, but when it is not supported anymore by the original author, I am not willing to bring it in and let it rot.


I'd consider becoming a maintainer if possible.
_________________
If God were a pickle, I'd still say "no pickle on my burger".
http://roderick-greening.blogspot.com/
Back to top
View user's profile Send private message
V-Li
Developer
Developer


Joined: 03 Jan 2006
Posts: 601

PostPosted: Fri Oct 06, 2006 4:12 pm    Post subject: Reply with quote

I wrote an email, I asked for reaction, on the bug...and the author did not say a word, so I consider the software dead upstream. You can take it you want.
_________________
Christian Faulhammer, Gentoo Lisp project, GNU Emacs wrangler
http://www.gentoo.org/proj/en/lisp/ #gentoo-lisp on FreeNode
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: Fri Oct 06, 2006 4:24 pm    Post subject: Reply with quote

hello everybody, I am back and I will try to correct the bugs ASAP (you all know there is also another life possible, don't you? :wink: )

Thank you for the support too, it is very encouraging.

And my web account (at work actually) will be cancelled at the end of the month, so I have no web space anymore and the planned updates will only be available from bugzilla, that is the easiest for me. In other words, the ebuild will not work anymore, unless you download the archive first to your distfile directory and then run the ebuild.

For all of you not knowing where to put it, I would recommend either /usr/bin or /usr/local/bin/ these places only make sense! http://www.linux.com/guides/Linux-Filesystem-Hierarchy/ (/usr/local/bin/ for a direct download and /usr/bin/ for an ebuild installation) although it should not matter as long as it is in the path.

I do not promise being fast, as I have to start a new job in a new country (moving from Germany to Japan) but I will print the code and start working on it (like having that DEL-key deleting files) soon.

and it is distributed under the GPL-2 and above.

thank you again...
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
V-Li
Developer
Developer


Joined: 03 Jan 2006
Posts: 601

PostPosted: Fri Oct 06, 2006 4:36 pm    Post subject: Reply with quote

Thank you. So I can add it to Portage in November (I will have commit access then), everybody else should use Sunrise Overlay which is an official Gentoo Project. All other issues have been addressed by me (either in ebuild and the added man page). Add it to Sourceforge, if you want a permanent download location.
_________________
Christian Faulhammer, Gentoo Lisp project, GNU Emacs wrangler
http://www.gentoo.org/proj/en/lisp/ #gentoo-lisp on FreeNode
Back to top
View user's profile Send private message
toralf
Advocate
Advocate


Joined: 01 Feb 2004
Posts: 2976
Location: Hamburg/Germany

PostPosted: Sat Oct 07, 2006 12:01 pm    Post subject: Re: Elogviewer, a python/gtk graphical elog viewer Reply with quote

synss wrote:
Download
The suffix ".py" onto the filename would make the download process smarter.
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 Oct 07, 2006 3:36 pm    Post subject: Re: Elogviewer, a python/gtk graphical elog viewer Reply with quote

toralf wrote:
synss wrote:
Download
The suffix ".py" onto the filename would make the download process smarter.


I realize that, but it is a bit late for changing the name (actually I have already changed it from el-something.py to elogviewer in the begining) and this account will be cancelled soon anyway (and the link, dead), so for actual updates, please go to the bugzilla link.

I will open a sourceforge.net account.
_________________
Compress portage tree
Elog viewer
Autodetect swap
Back to top
View user's profile Send private message
V-Li
Developer
Developer


Joined: 03 Jan 2006
Posts: 601

PostPosted: Wed Oct 11, 2006 8:09 am    Post subject: Reply with quote

Some status update:

eread -- The bash script by dberkholz has been reworked and will be added to gentoolkit
elogviewer -- A GTK frontend. The request is handled in #136496 and has been added to Project Sunrise Overlay, app-portage/elogviewer. It is planned to add a Sourceforge Project for this, where even kelogviewer can find its home.
kelogviewer -- A KDE frontend. The request is handled in #150768 and has been added to Sunrise Overlay, app-portage/kelogviewer. Needs a decent versioning, I contacted the author
elogv -- A curses frontend (text mode). The request is handled in #150733 and has been added to Sunrise Overlay, app-portage/elogv.

I will bring them into official Portage as soon as I can.
_________________
Christian Faulhammer, Gentoo Lisp project, GNU Emacs wrangler
http://www.gentoo.org/proj/en/lisp/ #gentoo-lisp on FreeNode
Back to top
View user's profile Send private message
FuzzyRay
Developer
Developer


Joined: 02 Oct 2003
Posts: 79

PostPosted: Wed Oct 11, 2006 7:27 pm    Post subject: Reply with quote

V-Li wrote:

eread -- The bash script by dberkholz has been reworked and will be added to gentoolkit


eread has been included in gentoolkit-0.2.3_pre2
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Thu Oct 26, 2006 10:27 am    Post subject: Reply with quote

Hi, it has been a long time. Well i did not have much time to think about the hosting on source forge yet.

synss, good to hear from you too, i will reply to your MP in a minute.
_________________
"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
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Thu Oct 26, 2006 10:52 am    Post subject: Re: Kelogviewer problem Reply with quote

Gooserider wrote:


I'm having a few issues with the program.

1. I downloaded it, and unpacked it, but where on the system is it best to put it? Currently it's sitting in my downloads directory which I feel is probably not the right place...)


Well anywhere is ok, but you would want to put it somewhere included in your PATH (such as /usr/bin or /usr/local/bin ...)


Gooserider wrote:

2. I am running kde, and have kde-base (and other things) installed, but I get this error when I try to run kelogviewer:

Code:

localhost ~/Downloads $ ./kelogviewer

        Kelogviewer requires pykde and portage 2.1.
        Vous n'avez pas installe pykde.

        emerge pykde

Traceback (most recent call last):
  File "./kelogviewer", line 14, in ?
    from qt import QVBox, QHBox, QPopupMenu, SIGNAL, PYSIGNAL, QListView, QButtonGroup, QCheckBox, QColor, QIconSet, QPixmap, QLabel, QPushButton, QSplitter, QString, QListViewItemIterator, Qt
ImportError: No module named qt


Considering I'm running KDE, I'd better have qt, but maybe it's something to do w/ pykde... So I tried emerging pykde, even though I thought it was part of kde, and got:

Code:

localhost ~ # emerge -uDaNv pykde

These are the packages that would be merged, in order:

Calculating dependencies

!!! The short ebuild name "pykde" is ambiguous.  Please specify
!!! one of the following fully-qualified ebuild names instead:

    dev-python/pykde
    kde-base/pykde



As i wrote on the website i had it working with kde-base/pykde-3.5.0, i am currently updating to kde 3.5.5 so i will try with kde-base/pykde-3.5.5-r1
_________________
"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
justwantstohelp
Apprentice
Apprentice


Joined: 29 Jun 2006
Posts: 251
Location: Sacramento, California

PostPosted: Thu Oct 26, 2006 2:02 pm    Post subject: Reply with quote

Worked great for me, thanks a lot!
_________________
We need to shoot cops, and hang politicians. Concentrate the vision, concentrate the vision.
Back to top
View user's profile Send private message
V-Li
Developer
Developer


Joined: 03 Jan 2006
Posts: 601

PostPosted: Fri Oct 27, 2006 1:08 pm    Post subject: Re: Kelogviewer problem Reply with quote

Jeremy_Z wrote:
As i wrote on the website i had it working with kde-base/pykde-3.5.0, i am currently updating to kde 3.5.5 so i will try with kde-base/pykde-3.5.5-r1


kelogviewer works great with that.
_________________
Christian Faulhammer, Gentoo Lisp project, GNU Emacs wrangler
http://www.gentoo.org/proj/en/lisp/ #gentoo-lisp on FreeNode
Back to top
View user's profile Send private message
Jeremy_Z
l33t
l33t


Joined: 05 Apr 2004
Posts: 671
Location: Shanghai

PostPosted: Sat Oct 28, 2006 8:41 am    Post subject: Reply with quote

Thanks for the feedback, i am out of town this week end so i could not make the test yet.
synss got he sourceforg thing so i guess we will have both projects hosted by neek week, that should help for the ebuilds ( i am still surprised that the phpnet site is still up :D )

Anyway, it looks like we are both busy so if anyone would like help as a dev give us a PM. The code is quite trivial so it is not much work but after the sourceforge hosting and the ebuilds becoming more popular i guess we could use a hand with bugs/feature requests.
_________________
"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
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Unsupported Software All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 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