Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Porthole-0.5.0 released
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
i92guboj
Bodhisattva
Bodhisattva


Joined: 30 Nov 2004
Posts: 10315
Location: Córdoba (Spain)

PostPosted: Tue Mar 13, 2007 3:32 am    Post subject: Reply with quote

Maybe you could try to run it as root (fully), configure it (the browser can be configured in the preferences dialog), save the settings and close.

Then -maybe- it will work. Or maybe not, I haven't tested.
Back to top
View user's profile Send private message
1ino1eum_4the_win
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 92

PostPosted: Tue Mar 13, 2007 3:46 am    Post subject: Reply with quote

that doen's change anything, because as root, the preferences are set for the root.
And it cannont open ephiphany, firefox, or whatever, because there is not X root session launcher ;)

but that's not a big problem but I think it's a bug (the fact that even with sudo and the good password, package.* files are not updated, but you still can emerge/unemerge).
So I just say it there for dol-sen
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Tue Mar 13, 2007 6:35 am    Post subject: Reply with quote

I just did some testing on the -0.5.0 version. It seems that I am not able to open a webbrowser using the python default webrowser setting, but if I edit the preferences, check the custom webrowser box and fill in a browser command it will work.

Code:
galeon %s


But that will run the browser as root, so it would be better to change to your normal user like so:

Code:
gksu -u myuserid galeon %s


Running porthole as a user it seems that there is an install bug. It seems we forgot to install the set_config.py script into /usr/share/porthole where it is looking for it. An easy fix would be to (as root) copy the file from the installed package to /usr/share/porthole.

Code:
cp /usr/lib/python2.4/site-packages/porthole/set_config.py /usr/share/porthole/


And it will work as a user like it is suppose to.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
1ino1eum_4the_win
Tux's lil' helper
Tux's lil' helper


Joined: 07 May 2006
Posts: 92

PostPosted: Tue Mar 13, 2007 8:44 am    Post subject: Reply with quote

Wow, that's what I call support !
Works great now thank you. I can use porthole as a normal user and relie on sudo
I'm loooking forward the next version !
:wink:
Back to top
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sun Mar 18, 2007 10:50 am    Post subject: Reply with quote

porthole stopped working here.
After startup the GUI just freezes and i have to kill the process.
When start it as user the warning msg about root-privileges still appears but then it freezes immediately as well.

This is the output when i start it from a xterm:
Code:

GTK Accessibility Module initialized
/usr/bin/porthole:62: GtkDeprecationWarning: gtk.threads_init is deprecated, use gtk.gdk.threads_init instead
  gtk.threads_init()


rm'ing .porthole, remerging and running revdep-rebuilt didn't help.
I just had alot of upgrades due to gnome 2.18.
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sun Mar 18, 2007 1:07 pm    Post subject: Reply with quote

Please run it again from an xterm with the -d flag to turn on debug printing. Then post the last 10 lines or so, not the whole thing.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sun Mar 18, 2007 2:21 pm    Post subject: Reply with quote

Code:
Debug printing is enabled
pycrash module initializing
If a crash occurs check the /var/log/porthole/crash_root.html file and post it to porthole bugs
PORTHOLE: process id = 19588 ****************
UTILS: PortholePreferences; setting globals.LANG = en
UTILS: PortholePreferences; setting globals.enable_archlist = False
UTILS: PortholePreferences; setting globals.archlist = ['alpha', 'amd64', 'arm', 'hppa', 'ia64', 'mips', 'ppc', 'ppc64', 's390', 'sparc', 'x86']
UTILS: PortholePreferences; setting globals.Sync = emerge sync
UTILS: PortholePreferences; setting globals.Sync_label = Synchronisieren
UTILS: PortholePreferences; setting globals.custom_browser_command = firefox %s
UTILS: PortholePreferences; setting globals.use_custom_browser = False
UTILS: PortholePreferences; setting globals.su = gksudo -g
UTILS: PortholePreferences; PLUGIN_DIR = /usr/share/porthole/plugins/
UTILS: PortholePreferences; setting plugins.active_list = []
MAINWINDOW: process id = 19588 ****************
libglade: ['gnome-base/libglade-2.6.0']
VERSION_SORT: ver_match(); match2 002006000!r000, 002005000!r000:002099099!r000
MAINWINDOW: __init__(); glade file = porthole.glade
VIEWS: Category view initialized
VIEWS: Package view initialized
VIEWS: Depends view initialized
MAINWINDOW: __init__() before hpane; 628, vpane; 192
MAINWINDOW: init_data(); Initializing data
MAINWINDOW: init_db(); starting self.db_thread
MAINWINDOW: get_sync_time(); trying utf_8 encoding
TERMINAL: ProcessManager; process id = 19588 ****************
Porthole-Terminal
MAIN: setup_plugins: plugin path: /usr/share/porthole/plugins/
MAIN: Showing main window
MAINWINDOW: on_window_state_event(); event detected
PORTAGELIB: read_db(); process id = 19588, thread_id = 19588 *****************
PORTAGELIB: get_installed();
MAINWINDOW: on_window_state_event(); event detected
PORTAGELIB: read_db(); getting allnodes package list
PORTAGELIB: read_db(); Done getting allnodes package list
PORTAGELIB: read_db() create internal porthole list; length=11584
PORTAGELIB: read_db(); Threading info: [<_MainThread(MainThread, started)>, <DatabaseReader(Thread-1, started daemon)>]
PORTAGELIB: read_db(); end of list build; sort is next
PORTAGELIB: DatabaseReader.sort()
PORTAGELIB: sort(); finished
PORTAGELIB: read_db(); end of sort, finished
PORTAGELIB: DatabaseReader.run(); finished


Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sun Mar 18, 2007 4:51 pm    Post subject: Reply with quote

That didn't reveal much to help. There have been a number of things that were deprecated in gtk, but nothing comes out in the debug info. The other thing is that it seems to be stopping at the callback that the db thread is done then gets joined back into the main thread. That seems to imply a python problem rather than a gui/gtk one.

Here is a snipit from mine just now
Code:
PORTAGELIB: read_db(); end of list build; sort is next
PORTAGELIB: DatabaseReader.sort()
PORTAGELIB: sort(); finished
PORTAGELIB: read_db(); end of sort, finished
MAINWINDOW: db_save_variables(); dbtime = 0
MAINWINDOW: db_save_variables(); new average load time = 0 cycles
MAINWINDOW: db_thread is done...
MAINWINDOW: db_thread.join...
PORTAGELIB: DatabaseReader.run(); finished
MAINWINDOW: db_thread.join is done...
MAINWINDOW: setting menubar,toolbar,etc to sensitive...
VIEWS: Populating category view


It was not getting to where it started updating the gui.

Was the progress bar working as it was loading the db? Try running it a few more times to see if it stalls at the same point everytime.

Please list the versions of python, gtk+, glib, pygtk you are using.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Sun Mar 18, 2007 5:27 pm    Post subject: Reply with quote

dol-sen wrote:

Was the progress bar working as it was loading the db? Try running it a few more times to see if it stalls at the same point everytime.

Please list the versions of python, gtk+, glib, pygtk you are using.


It's saying "initializing db.." in the status bar but there is no progress bar.
And yes it stalls at the same point every time i tried (about 10 times).

Code:
[ebuild   R   ] dev-lang/python-2.4.4  USE="berkdb gdbm ipv6 ncurses readline ssl -bootstrap -build -doc -nocxx -tk -ucs2" 7,976 kB
[ebuild   R   ] x11-libs/gtk+-2.10.11  USE="X jpeg tiff -debug -doc -xinerama" 0 kB
[ebuild   R   ] dev-libs/glib-2.12.11  USE="-debug -doc -hardened" 0 kB
[ebuild   R   ] dev-python/pygtk-2.10.4  USE="examples* opengl -doc" 1,845 kB
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sun Mar 18, 2007 6:49 pm    Post subject: Reply with quote

It seems like it might be a gtk issue then since the progress bar is not working. I am updating my machine to the latest glib, gtk, pygtk and test. I am at work now, but will report back again later.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Mon Mar 19, 2007 6:54 am    Post subject: Reply with quote

Well I've updated all gtk related packages to the same as yours, logged out, and back in and all is working fine for both -0.5.0 and the cvs version.

Code:
[ebuild   R   ] dev-lang/python-2.4.3-r4  USE="berkdb gdbm ncurses readline ssl -bootstrap -build -doc -ipv6 -nocxx -tk -ucs2" 0 kB
[ebuild   R   ] dev-libs/glib-2.12.11  USE="-debug -doc -hardened" 0 kB
[ebuild   R   ] x11-libs/gtk+-2.10.11  USE="X debug doc jpeg tiff -xinerama" 0 kB
[ebuild   R   ] dev-python/pygtk-2.10.4  USE="doc opengl -examples" 0 kB



You did log out and and back in again to restart the gnome session didn't you? Porthole does not use any gnome specific widgets, only gtk ones so I don't know what might be causing your problem.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
Schmolch
l33t
l33t


Joined: 16 Jun 2002
Posts: 746
Location: Germany

PostPosted: Mon Mar 19, 2007 7:19 pm    Post subject: Reply with quote

Yes, i had re-logins and a reboot since then.
I also updated my config files.

Well, sooner or later mine will work again or yours will stop to do so as well :-)
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sat Mar 31, 2007 6:48 am    Post subject: Reply with quote

Hi Brian,

I'm getting a string of these errors when clicking on a category.

Code:
[Errno 2] No such file or directory: '/usr/portage/gnome-extra/hardware-monitor/files/digest-hardware-monitor-1.3'
ebuild: gnome-extra/hardware-monitor-1.3
mydigest: /usr/portage/gnome-extra/hardware-monitor/files/digest-hardware-monitor-1.3
PORTAGELIB: get_size Exception:
[Errno 2] No such file or directory: '/usr/portage/gnome-extra/libgail-gnome/files/digest-libgail-gnome-1.1.3'
ebuild: gnome-extra/libgail-gnome-1.1.3
mydigest: /usr/portage/gnome-extra/libgail-gnome/files/digest-libgail-gnome-1.1.3
PORTAGELIB: get_size Exception:

You get the idea. This error occurs for every package in the selected category and obviously results in the "Download Size" column displaying "[bad / blank digest]".

I'm running porthole-0.5.0 and portage-2.1.2.3.
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Sat Mar 31, 2007 2:11 pm    Post subject: Reply with quote

Those errors are because portage was changed from an ebuilds files/digest file to the MANIFEST file in the ebuild directory.

I have it changed in CVS, but I've been too busy to get it completed for a new release. It was unfortunate and somewhat discouraging for -0.5.0 to get hard masked for so long. By the time it was no longer hard masked it was already going out of date with changes in portage.

The CVS version, while not installable yet is quite stable, some new features are not completed. There are some display bugs to clean up still, but nothing major.
I'll post a new thread for cvs testing.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
feardapenguin
Guru
Guru


Joined: 23 Jul 2003
Posts: 414
Location: Texas

PostPosted: Sat Mar 31, 2007 3:24 pm    Post subject: Reply with quote

Thanks for the quick reply. This is a minor issue as far as I'm concerned and I'm happy to wait for a fix. As it stands, the new version of porthole rocks as it is.

Great job!
Back to top
View user's profile Send private message
rufnut
Apprentice
Apprentice


Joined: 16 May 2005
Posts: 252

PostPosted: Sun Apr 01, 2007 7:54 am    Post subject: Reply with quote

Quote:
Thanks for the quick reply. This is a minor issue as far as I'm concerned and I'm happy to wait for a fix. As it stands, the new version of porthole rocks as it is.


Me too :-)
Back to top
View user's profile Send private message
u-foka
n00b
n00b


Joined: 01 Jan 2008
Posts: 2
Location: Budapest, Hungary

PostPosted: Tue Jan 01, 2008 10:37 pm    Post subject: porthole-terminal problem Reply with quote

Hy!
I have a problem with porthole.
I can't see the compile messages in the terminal, only the line numbers counting up, but with empty space after.
Sometimes it flickers some part of the messages on the last line, but it disappears quickly.
The wget and any other messages are visible, and this only affects the process tab.

It's looks like this:
Code:

027229 >>> Emerging (13 of 26) sys-apps/coreutils-6.9-r1 to /
027230 >>> Downloading 'http://ftp.heanet.ie/pub/gentoo/distfiles/coreutils-6.9.tar.bz2'
027231 --22:09:59--  http://ftp.heanet.ie/pub/gentoo/distfiles/coreutils-6.9.tar.bz2
027232            => `/usr/portage/distfiles/coreutils-6.9.tar.bz2'
027233 Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
027234 Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.
027235 HTTP request sent, awaiting response... 200 OK
027236 Length: 5,384,378 (5.1M) [application/x-tar]
027237
027238 100%[====================================>] 5,384,378    371.55K/s    ETA 00:00
027239
027240 22:10:15 (341.01 KB/s) - `/usr/portage/distfiles/coreutils-6.9.tar.bz2' saved [5384378/5384378]
027241
027242 >>> Downloading 'http://ftp.heanet.ie/pub/gentoo/distfiles/coreutils-6.9-patches-1.2.tar.bz2'
027243 --22:10:15--  http://ftp.heanet.ie/pub/gentoo/distfiles/coreutils-6.9-patches-1.2.tar.bz2
027244            => `/usr/portage/distfiles/coreutils-6.9-patches-1.2.tar.bz2'
027245 Resolving ftp.heanet.ie... 193.1.193.64, 2001:770:18:aa40::c101:c140
027246 Connecting to ftp.heanet.ie|193.1.193.64|:80... connected.
027247 HTTP request sent, awaiting response... 200 OK
027248 Length: 49,161 (48K) [application/x-tar]
027249
027250 100%[====================================>] 49,161       156.42K/s             
027251
027252 22:10:16 (155.87 KB/s) - `/usr/portage/distfiles/coreutils-6.9-patches-1.2.tar.bz2' saved [49161/49161]
027253
027254  * checking ebuild checksums ;-) ...                                      [ ok ]
027255  * checking auxfile checksums ;-) ...                                     [ ok ]
027256  * checking miscfile checksums ;-) ...                                    [ ok ]
027257  * checking coreutils-6.9.tar.bz2 ;-) ...                                 [ ok ]
027258  * checking coreutils-6.9-patches-1.2.tar.bz2 ;-) ...                     [ ok ]
027259
027260
027261
027262
027263
027264
027265
027266


I've tryed to play with the color options, and others but it didn't change :S

Please help me!
Back to top
View user's profile Send private message
dol-sen
Retired Dev
Retired Dev


Joined: 30 Jun 2002
Posts: 2805
Location: Richmond, BC, Canada

PostPosted: Wed Jan 02, 2008 7:54 am    Post subject: Reply with quote

Something has changed in the gcc output. It no longer adds a cr + lf. I have it working sort-of in cvs by not looking for both.
What I really need to do is sort thru the detailed output (including control characters and set the code to trigger new lines properly again. I hope to get enough time to devote to fixing it properly now that Christmas is over.
_________________
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Back to top
View user's profile Send private message
u-foka
n00b
n00b


Joined: 01 Jan 2008
Posts: 2
Location: Budapest, Hungary

PostPosted: Wed Jan 02, 2008 9:49 am    Post subject: Reply with quote

Fine! Thank you for your reply! For now at last I known it's not my fault :)
Back to top
View user's profile Send private message
bmichaelsen
Veteran
Veteran


Joined: 17 Nov 2002
Posts: 1277
Location: Hamburg, Germany

PostPosted: Wed Jan 02, 2008 5:59 pm    Post subject: Reply with quote

Hi dol-sen,

great to see you find time to work on porthole again! etc-proposals is in the official tree now, so it would be great to have the plugin for it in the next release. Hopefully, I will find some time for that on the weekend ;-).

Yours, Björn
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