Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Porthole-0.6.0 FINAL now released. WooHoo!!!

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
142 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next
Author
Message
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Tue Mar 25, 2008 4:38 pm

Good luck :)
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sun Mar 30, 2008 1:37 am

After trying all kinds of things it seems that python has a number of inconsistencies that are preventing an installed porthole to work correctly.

Until I can get things ironed out. You will have to continue using porthole from a local cvs copy.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sat Apr 05, 2008 6:47 am

It turned out to be due to some namespace issues which were changing the nature of the imports. I have had to re-organize some of the directory and file placements there-in. I have a preliminary version runnable now, but have a few more bugs from the changes to iron out.

I'll post a link to some pre-release testing versions with those changes soon. The cvs at sourceforge will be not updated for a while due to the difficulties of moving things around.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sun Apr 13, 2008 7:00 am

OK, I have porthole working when installed (for the most part, I haven't tested everything) as well as not installed. But you will have to wait a while before I commit all the changes to cvs. I may convert to using svn to make the changes easier to move. I just need to create and test some plug-in ebuilds to ensure that the plug-in system is working when porthole is installed via ebuild. Hopefully my brain will be functioning in the morning. If all goes well I should have a release candidate available by the afternoon.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
unz
l33t
l33t
User avatar
Posts: 819
Joined: Wed Jul 28, 2004 12:19 am
Location: Roma, Italia

  • Quote

Post by unz » Sun Apr 13, 2008 9:00 am

:wink:
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Top
rufnut
Apprentice
Apprentice
Posts: 252
Joined: Mon May 16, 2005 7:26 am

  • Quote

Post by rufnut » Tue Apr 15, 2008 7:37 am

I can't wait ,

Code: Select all

genlop -t porthole
 * app-portage/porthole

     Fri May  6 23:08:32 2005 >>> app-portage/porthole-0.4.1
       merge time: 8 seconds.

....................
I have been using your program since I started on Gentoo

It is very user friendly , thankyou

:)
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Thu Apr 17, 2008 3:53 am

OK! It is finally here!

Porthole-0.6.0_rc1 is available for download on our sourceforge page.

Also I have released a porthole plug-in module. porthole-etc-proposals. etc-proposals is a gtk/qt4 config file update program which makes updating all those config files much easier.

All goes well I will release a Profuse plug-in as well.

So download the ebuilds into your PORTDIR_OVERLAY under app-portage/porthole and app-portage/porthole-etc-proposals. Update your keywords if necessary,

then

Code: Select all

# emerge --digest porthole
# emerge --digest porthole-etc-proposals

All that is left to do before the final release is a few copyright updates and such unless you guys find some bugs for me to fix before a final release.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
RMX
n00b
n00b
Posts: 66
Joined: Sun Aug 22, 2004 7:46 am

  • Quote

Post by RMX » Fri Apr 18, 2008 1:52 pm

Thank you! This is great :)
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Fri Apr 18, 2008 2:42 pm

So I take that there have not been any problems then. :)

There are a couple small intermittent interface bugs that I have not been able track down, but nothing significant.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
rufnut
Apprentice
Apprentice
Posts: 252
Joined: Mon May 16, 2005 7:26 am

  • Quote

Post by rufnut » Sat Apr 19, 2008 1:36 am

dol-sen wrote:So I take that there have not been any problems then. :)
All seems well here , I tried it on another machine and forgot I had to unmask python 2.5.1-r5

The only trouble I do see is that the upgrade button is lit up when there are no upgrades.

Thanks again.

:D
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sat Apr 19, 2008 4:46 am

Well, I knew there had to be something that would'nt work after all the changes I've made since -0.5.0.

You will find that if you right click a package and try to add ~arch to package.keywords it won't work for the installed version unless you run it as root. I have it fixed, but will hold on a bit to find out if anything else needs fixing before updating to rc_2 if it is needed.

Please let me know if anything else is not working.

The upgrades button is always "on" as an option. If you aren't in the upgrades view it will ask you if you want everything in the world file upgraded. If you are in the upgrades view it will upgrade anything that is selected in the current package view. That means only what is selected in the system packages listing if that is what is being shown, etc.. You will have to go to each category, select the ones you want upgraded, then click the upgrade button.
rufnut wrote:I tried it on another machine and forgot I had to unmask python 2.5.1-r5
You shouldn't need python-2.5 for porthole. I've tried very hard to not use any new 2.5 features since many porthole users will be running 2.4. Did the emerge say that it was needed. I just tried tracking the immediate dependencies and didn't come up with anything greater than python-2.4.4-r4
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sat Apr 19, 2008 7:19 am

I've found one more thing not working correctly if using python 2.5. There was a change in the webbrowser module since 2.4, so custom webbrowsers configured in porthole's config dialog would not work if a %s was added in the line. It turned out that porthole was not using the module quite correctly. I have now fixed it so that it will work with both python-2.4 and 2.5. It would be preferable to just put the browser command only without the " %s" to get the already prepared module from python. If that module did not exist it will get a ' %s' added (if needed) to get a runnable module. If you know the browser's commands and remote options you can fill them in on the porthole's config command line entry and a webbrowser module will be created with all your pre-configured options.

That was a mouthful :o I'll have to re write out that part of the help file. :(
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
rufnut
Apprentice
Apprentice
Posts: 252
Joined: Mon May 16, 2005 7:26 am

  • Quote

Post by rufnut » Sat Apr 19, 2008 12:55 pm

dol-sen wrote:
rufnut wrote:I tried it on another machine and forgot I had to unmask python 2.5.1-r5
You shouldn't need python-2.5 for porthole. I've tried very hard to not use any new 2.5 features since many porthole users will be running 2.4. Did the emerge say that it was needed. I just tried tracking the immediate dependencies and didn't come up with anything greater than python-2.4.4-r4
After recovering from uninstalling python 2.5 thinking that 2.4 would just simply take over :oops:
I managed to install eselect for python and go back to 2.4 producing the below fault ?

Code: Select all

# porthole
Porthole: python version =  2.4.4 (#1, Oct 26 2007, 15:46:42)
[GCC 4.1.2 (Gentoo 4.1.2 p1.0.1)]
importing installed modules
STARTUP: id initialized to  714956
Traceback (most recent call last):
  File "/usr/bin/porthole", line 76, in ?
    from porthole.startup import *
  File "/usr/lib/python2.4/site-packages/porthole/startup.py", line 29, in ?
    import gobject
ImportError: No module named gobject
hope this helps :)
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sat Apr 19, 2008 2:08 pm

You did

Code: Select all

# python-updater -o 2.5
If so the pygobject seems to have gotten missed

Code: Select all

# emerge pygobject
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
rufnut
Apprentice
Apprentice
Posts: 252
Joined: Mon May 16, 2005 7:26 am

  • Quote

Post by rufnut » Sun Apr 20, 2008 6:33 am

I tried to turn back to python 2.4 but after :

# python-updater -o 2.5

Porthole still does not want to start ?

Code: Select all

# porthole
Porthole: python version =  2.4.4 (#1, Apr 19 2008, 22:42:15)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)]
importing installed modules
STARTUP: id initialized to  857090
inserting path to modules
['/usr/lib/python2.4/site-packages/porthole', '/usr/lib/portage/pym', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/FontTools', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode']
starting main()
STARTUP: main(); importing config
CONFIG: id initialized to  996373
CONFIGURATION: id initialized to  996627
STARTUP: config.id =  996373
STARTUP: main(); importing config.preferences
PREFERENCES: id initialized to  998963
initializing utils.__init__.py
DEBUG: id initialized to  999474
UTILS: mydebug.id =  999474
PREFERENCES: imported debug.id =  999474
STARTUP: main(); loading preferences
STARTUP: main(); importing version
STARTUP: main(); importing utils
PORTHOLE: importing MainWindow
MAINWINDOW: id initialized to  59706
BACKENDS: id initialized to  61713
BACKENDS: PORTAGE setting =  portagelib
PORTAGELIB: id initialized to  62498
STERMINAL: id initialized to  63676
VERSION_SORT: id initialized to  65256
PROPERTIES: id initialized to  68766
METADATA: id initialized to  69061
PORTAGELIB: portage version = 2.1.4.4
BACKENDS: portage_lib import complete : <module 'porthole.backends.portagelib' from '/usr/lib/python2.4/site-packages/porthole/backends/portagelib.pyc'>
DATABASE: id initialized to  540582
PACKAGE: id initialized to  541317
DBREADER: import id initialized to  541781
UTILITIES: id initialized to  542877
USERCONFIGS: id initialized to  543971
DBREADER: DatabaseReader.id initialized to  545150
PLUGIN: id initialized to  554559
Traceback (most recent call last):
  File "/usr/bin/porthole", line 98, in ?
    main()
  File "/usr/lib/python2.4/site-packages/porthole/startup.py", line 182, in main
    from porthole.mainwindow import MainWindow
  File "/usr/lib/python2.4/site-packages/porthole/mainwindow.py", line 46, in ?
    from porthole.terminal.terminal import ProcessManager
  File "/usr/lib/python2.4/site-packages/porthole/terminal/terminal.py", line 88
    class ProcessManager(): #dbus.service.Object):
                         ^
SyntaxError: invalid syntax
Exception in thread Thread-1 (most likely raised during interpreter shutdown):
Traceback (most recent call last):
  File "/usr/lib/python2.4/threading.py", line 442, in __bootstrap
  File "/usr/lib/python2.4/site-packages/porthole/db/dbreader.py", line 170, in run
  File "/usr/lib/python2.4/site-packages/porthole/db/dbreader.py", line 80, in read_db
  File "/usr/lib/python2.4/site-packages/porthole/db/dbreader.py", line 165, in get_installed
  File "/usr/lib/python2.4/site-packages/porthole/backends/portagelib.py", line 714, in get_installed_list
  File "/usr/lib/portage/pym/portage.py", line 6729, in getallnodes
  File "/usr/lib/portage/pym/portage.py", line 6366, in cp_all
  File "/usr/lib/portage/pym/portage.py", line 6353, in cpv_all
  File "/usr/lib/portage/pym/portage.py", line 290, in listdir
  File "/usr/lib/portage/pym/portage.py", line 240, in cacheddir
exceptions.AttributeError: 'NoneType' object has no attribute 'S_ISREG'
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:

:?:
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sun Apr 20, 2008 7:00 am

rufnut wrote:exceptions.AttributeError: 'NoneType' object has no attribute 'S_ISREG'
Unhandled exception in thread started by
Error in sys.excepthook:

Original exception was:
You cut it off too soon. What came after is what is needed to figure out what crashed. Although from the output above it looks like portage may have puked about something.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
rufnut
Apprentice
Apprentice
Posts: 252
Joined: Mon May 16, 2005 7:26 am

  • Quote

Post by rufnut » Sun Apr 20, 2008 7:47 am

This time it looks different ?

Code: Select all

porthole
Porthole: python version =  2.4.4 (#1, Apr 19 2008, 22:42:15)
[GCC 4.1.2 (Gentoo 4.1.2 p1.1)]
importing installed modules
STARTUP: id initialized to  754096
inserting path to modules
['/usr/lib/python2.4/site-packages/porthole', '/usr/lib/portage/pym', '/usr/lib/python24.zip', '/usr/lib/python2.4', '/usr/lib/python2.4/plat-linux2', '/usr/lib/python2.4/lib-tk', '/usr/lib/python2.4/lib-dynload', '/usr/lib/python2.4/site-packages', '/usr/lib/python2.4/site-packages/FontTools', '/usr/lib/python2.4/site-packages/Numeric', '/usr/lib/python2.4/site-packages/gtk-2.0', '/usr/lib/python2.4/site-packages/wx-2.8-gtk2-unicode']
starting main()
STARTUP: main(); importing config
CONFIG: id initialized to  908065
CONFIGURATION: id initialized to  908348
STARTUP: config.id =  908065
STARTUP: main(); importing config.preferences
PREFERENCES: id initialized to  910759
initializing utils.__init__.py
DEBUG: id initialized to  911297
UTILS: mydebug.id =  911297
PREFERENCES: imported debug.id =  911297
STARTUP: main(); loading preferences
STARTUP: main(); importing version
STARTUP: main(); importing utils
PORTHOLE: importing MainWindow
MAINWINDOW: id initialized to  973970
BACKENDS: id initialized to  975991
BACKENDS: PORTAGE setting =  portagelib
PORTAGELIB: id initialized to  976804
STERMINAL: id initialized to  977995
VERSION_SORT: id initialized to  979544
PROPERTIES: id initialized to  983048
METADATA: id initialized to  983372
PORTAGELIB: portage version = 2.1.4.4
BACKENDS: portage_lib import complete : <module 'porthole.backends.portagelib' from '/usr/lib/python2.4/site-packages/porthole/backends/portagelib.pyc'>
DATABASE: id initialized to  127236
PACKAGE: id initialized to  127789
DBREADER: import id initialized to  128167
UTILITIES: id initialized to  129169
USERCONFIGS: id initialized to  130299
DBREADER: DatabaseReader.id initialized to  131339
PLUGIN: id initialized to  190719
Traceback (most recent call last):
  File "/usr/bin/porthole", line 98, in ?
    main()
  File "/usr/lib/python2.4/site-packages/porthole/startup.py", line 182, in main
    from porthole.mainwindow import MainWindow
  File "/usr/lib/python2.4/site-packages/porthole/mainwindow.py", line 46, in ?
    from porthole.terminal.terminal import ProcessManager
  File "/usr/lib/python2.4/site-packages/porthole/terminal/terminal.py", line 88
    class ProcessManager(): #dbus.service.Object):
                         ^
SyntaxError: invalid syntax

Am I posting too much ?

:)

regards Brett
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sun Apr 20, 2008 12:34 pm

No, that wasn't too much. And sorry, I missed that error in you previous post.

Code: Select all

  File "/usr/lib/python2.4/site-packages/porthole/terminal/terminal.py", line 88
    class ProcessManager(): #dbus.service.Object):
as root edit that file and remove the "()", save the file and try again.

Code: Select all

    class ProcessManager: #dbus.service.Object):
It seems that I :oops: inadvertently put those there and python-2.5 doesn't complain about it, but obviously python-2.4 does. I've removed it in mine.

Now that is why I like to get some testing on a bunch of other people's machines. Everyone that has run it from the cvs version must have been using python-2.5 as well.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Sun Apr 20, 2008 4:11 pm

Well, if I've not screwed up too badly, porthole is now using svn on sourceforge. I believe everything should be up to date and working with all the latest changes and bugfixes as of this morning (my time).

For those of you that have been running from a cvs checkout. It will be time to do a svn checkout and let me know if anything is broken.

If I don't hear of any more problems, I'll package up an _rc2 for final testing tonight.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
unz
l33t
l33t
User avatar
Posts: 819
Joined: Wed Jul 28, 2004 12:19 am
Location: Roma, Italia

  • Quote

Post by unz » Sun Apr 20, 2008 10:00 pm

from svn, trunk.

Code: Select all

unzWire porthole # ./setup.py install
[...]

unzWire porthole # porthole   
Porthole: python version =  2.5.1 (r251:54863, Jan  9 2008, 14:25:09) 
[GCC 4.2.1 (Gentoo 4.2.1)]
importing installed modules
STARTUP: id initialized to  470559
STARTUP: create_dir;  /var/db/porthole does not exist, creating...
inserting path to modules
['/usr/lib/python2.5/site-packages/porthole', '/usr/lib/portage/pym', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/python2.5/site-packages/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode']
starting main()
STARTUP: main(); importing configporthole   
Porthole: python version =  2.5.1 (r251:54863, Jan  9 2008, 14:25:09) 
[GCC 4.2.1 (Gentoo 4.2.1)]
importing installed modules
STARTUP: id initialized to  470559
STARTUP: create_dir;  /var/db/porthole does not exist, creating...
inserting path to modules
['/usr/lib/python2.5/site-packages/porthole', '/usr/lib/portage/pym', '/usr/lib/python25.zip', '/usr/lib/python2.5', '/usr/lib/python2.5/plat-linux2', '/usr/lib/python2.5/lib-tk', '/usr/lib/python2.5/lib-dynload', '/usr/lib/python2.5/site-packages', '/usr/lib/python2.5/site-packages/Numeric', '/usr/lib/python2.5/site-packages/PIL', '/usr/lib/python2.5/site-packages/gst-0.10', '/usr/lib/python2.5/site-packages/gtk-2.0', '/usr/lib/python2.5/site-packages/wx-2.8-gtk2-unicode']
starting main()
STARTUP: main(); importing config
CONFIG: id initialized to  987248
CONFIGURATION: id initialized to  987590
STARTUP: config.id =  987248
STARTUP: main(); importing config.preferences
PREFERENCES: id initialized to  382878
initializing utils.__init__.py
DEBUG: id initialized to  383557
UTILS: mydebug.id =  383557
PREFERENCES: imported debug.id =  383557
STARTUP: main(); loading preferences
STARTUP: main(); importing version
STARTUP: main(); importing utils
PORTHOLE: importing MainWindow
MAINWINDOW: id initialized to  672579
BACKENDS: id initialized to  707275
BACKENDS: PORTAGE setting =  portagelib
PORTAGELIB: id initialized to  708376
STERMINAL: id initialized to  726016
VERSION_SORT: id initialized to  740161
PROPERTIES: id initialized to  744554
METADATA: id initialized to  744905
PORTAGELIB: portage version = 2.1.5_rc4
BACKENDS: portage_lib import complete : <module 'porthole.backends.portagelib' from '/usr/lib/python2.5/site-packages/porthole/backends/portagelib.pyc'>
DATABASE: id initialized to  410701
PACKAGE: id initialized to  411861
DBREADER: import id initialized to  412288
UTILITIES: id initialized to  413453
USERCONFIGS: id initialized to  414060
DBREADER: DatabaseReader.id initialized to  415152
PLUGIN: id initialized to  435390
ADVEMERGE: id initialized to  448132
Traceback (most recent call last):
  File "/usr/bin/porthole", line 98, in <module>
    main()
  File "/usr/lib/python2.5/site-packages/porthole/startup.py", line 201, in main
    myicon = gtk.gdk.pixbuf_new_from_file(DATA_PATH + "pixmaps/porthole-icon.png")
gobject.GError: Impossibile riconoscere il formato di immagine per il file «/usr/share/porthole/pixmaps/porthole-icon.png»

Code: Select all

unzWire porthole # emerge --info
Portage 2.1.5_rc4 (default-linux/x86/2007.0/desktop, gcc-4.2.2, glibc-2.7-r2, 2.6.24-tuxonice-r5-gUnz- i686)
=================================================================
System uname: 2.6.24-tuxonice-r5-gUnz- i686 Genuine Intel(R) CPU T2300 @ 1.66GHz
Timestamp of tree: Sun, 20 Apr 2008 09:30:02 +0000
ccache version 2.4 [enabled]
app-shells/bash:     3.2_p33
dev-java/java-config: 1.3.7, 2.1.5
dev-lang/python:     2.3.6-r3, 2.4.4-r7, 2.5.1-r5
dev-python/pycrypto: 2.0.1-r6
dev-util/ccache:     2.4-r7
sys-apps/baselayout: 1.12.12
sys-apps/sandbox:    1.2.18.1-r2
sys-devel/autoconf:  2.13, 2.62
sys-devel/automake:  1.4_p6, 1.5, 1.6.3, 1.7.9-r1, 1.8.5-r3, 1.9.6-r2, 1.10.1
sys-devel/binutils:  2.18-r1
sys-devel/gcc-config: 1.4.0-r4
sys-devel/libtool:   1.5.26
virtual/os-headers:  2.6.24
ACCEPT_KEYWORDS="x86 ~x86"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-march=prescott -pipe -O2 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/kde/3.5/env /usr/kde/3.5/share/config /usr/kde/3.5/shutdown /usr/share/config"
CONFIG_PROTECT_MASK="/etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5/ext-active/ /etc/php/cgi-php5/ext-active/ /etc/php/cli-php5/ext-active/ /etc/revdep-rebuild /etc/splash /etc/terminfo /etc/texmf/web2c /etc/udev/rules.d"
CXXFLAGS="-march=prescott -pipe -O2 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests ccache digests distlocks metadata-transfer parallel-fetch sandbox sfperms strict unmerge-orphans userfetch userpriv usersandbox"
GENTOO_MIRRORS="ftp://mirror.switch.ch/mirror/gentoo"
LANG="it_IT@euro"
LC_ALL="it_IT@euro"
LDFLAGS=" "
LINGUAS="it_IT it en_GB en"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY="/usr/portage/local/layman/zugaina /usr/portage/local/layman/sunrise /usr/portage/local/layman/gechi /usr/portage/local/layman/voip /usr/portage/local/layman/gentopia /usr/portage/local/layman/graaff /usr/portage/local/layman/desktop-effects /usr/portage/local/layman/sabayon /usr/portage/local/layman/dottout /usr/local/portage /usr/portage/local/layman/sunrise /usr/portage/local/layman/gentopia /usr/portage/local/layman/gechi /usr/portage/local/layman/zugaina"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X a52 aac acl acpi administrator ads alsa apache2 avahi bash-completion bluetooth branding bzip2 cairo cddb cdr cli cracklib crypt cups daap dbus directfb divx djvu dmi dri dv dvb dvbplayer dvd dvdnav dvdr dvdread dvi eds emerald encode esd evo exif fat fbcon fbsplash ffmpeg firefox flac fortran fuse gdbm gif gimp gimpprint glitz gnome gphoto2 gpm gstreamer gtk gtk2 hal iconv imagemagick ipv6 isdnlog it java jpeg keyring libnotify mad mdnsresponder-compat midi mikmod modplug mono mp3 mpeg msn mudflap musepack ncurses network-cron newspr nls nntp nptl nptlonly ogg opengl openmp oss pam pcre pdf perl php plugins png ppds pppd python qt3support qt4 quicktime rar readline real reflection samba sdl session spell spl srt sse ssl startup-notification svg tcl tcltk tcpd theora tiff tk truetype unicode usb v4l vorbis win32codecs x86 xml xorg xv zlib" ALSA_CARDS="hda-intel" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop empty extplug file hooks iec958 ioplug ladspa lfloat linear meter mulaw multi null plug rate route share shm softvol" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" CAMERAS="fuji spca50x" ELIBC="glibc" INPUT_DEVICES="keyboard mouse synaptics" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LINGUAS="it_IT it en_GB en" LIRC_DEVICES="all" USERLAND="GNU" VIDEO_CARDS="dummy fbdev v4l vesa vga radeon none"
Unset:  CPPFLAGS, CTARGET, EMERGE_DEFAULT_OPTS, INSTALL_MASK, PORTAGE_COMPRESS, PORTAGE_COMPRESS_FLAGS, PORTAGE_RSYNC_EXTRA_OPTS
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Mon Apr 21, 2008 12:31 am

Code: Select all

gobject.GError: Impossibile riconoscere il formato di immagine per il file «/usr/share/porthole/pixmaps/porthole-icon.png»
I can't read the language exactly, but it looks like it could not find the porthole-icon.png file.

Make sure it is there, if so try opening it in a picture viewer to make sure it is not corrupted.

Also go to your svn checkout

Code: Select all

# cd ~/porthole/trunk/scripts
# ./porthole -l -d ALL
See if it runs from the checkout if it does then maybe something went wrong in setup.py during the install.

[edit] I've just thought of something from the conversion to svn. It might be that I did not get the properties set correctly to binary for the pixmap files.
I'll see if I can figure how to set them correctly and then commit the change.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Mon Apr 21, 2008 6:34 am

OK svn is fixed now. It was a bad conversion to svn that the picture files did not get properly set to binary form. That is what was causing the failure for unz.

Code: Select all

svn update
should fix the problem.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
unz
l33t
l33t
User avatar
Posts: 819
Joined: Wed Jul 28, 2004 12:19 am
Location: Roma, Italia

  • Quote

Post by unz » Mon Apr 21, 2008 10:07 am

yeah! it fixed ;)
Ma che c'hai là? Sulla spalla!!!! http://lascimmia.it/
Top
rufnut
Apprentice
Apprentice
Posts: 252
Joined: Mon May 16, 2005 7:26 am

  • Quote

Post by rufnut » Mon Apr 21, 2008 10:45 am

cool :D

All seems well on a machine with python 2.4.

I havent checked the latest svn code on that machine though.

This machine with python 2.5 runs the svn code fine :D

One thing I have noticed is that the use flags seem to be drawing their display information from /etc/portage/package.use and not /etc/make.conf .

They appear to work when emerging normally but you cannot see what flags you have enabled in make.conf.

I guess this is something to do with the "Sets" you are implementing.

Thanks
Top
dol-sen
Retired Dev
Retired Dev
User avatar
Posts: 2805
Joined: Sun Jun 30, 2002 2:44 pm
Location: Richmond, BC, Canada

  • Quote

Post by dol-sen » Mon Apr 21, 2008 1:50 pm

All use flag information for each package, porthole gets direct from portage. There are multiple sources for the use flags, they come from the defaults from the profile, /etc/make.conf and finish with use flags set in /etc/portage/package.use. There are a couple more in in between there as well. They are all cumulative with the last setting overriding the previous (if it was set). So, yes, any flags set in /etc/portage/package.use will be the flags shown.

One thing to remember. If you change anything in /etc/make.conf or package.use outside of porthole, while porthole is running. The imported portage will not know about your changes since portage does not monitor those files for changes. After changing those files, go to the "Actions" menu and select "Re-load Portage" so porthole and its imported portage will see those changes. If you don't then what you see in porthole may be stale information. But when you emerge the package it will be using the newly changed information.

"Sets" are just a way of grouping a bunch of packages together. There have always been 2 package sets, "system" and "world", but they have been pre-defined and not user changeable for the most part. Now you will be able to define your own package groups in /etc/portage/sets/

for example: /etc/portage/sets/my_special_desktop

Code: Select all

xfce-base/xfce4
app-portage/porthole
app-office/dia
media-video/mplayer
try creating one for some of your favorite apps then you will see them in the upgrades view under "Sets" - "my_special_desktop" when any of them are upgradeable.

I want to try finishing the last changes to the about dialog before releasing an _rc2. Don't worry about testing the svn code I'll get an _rc2 out in the next couple days. I won't be doing anything new in svn other than changes to the about dialog and any bugfixes I find along the way untill after -0.6.0 is out.

Thank you for the testing and feedback.

P.S. the latest bugfix in svn is for the homepage button in the about dialog. I missed changing the parameters there when I made changes to the webpage loading functions.
Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch...
Top
Post Reply

142 posts
  • Previous
  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • Next

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic