View previous topic :: View next topic |
Author |
Message |
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Sun Aug 21, 2005 5:07 am Post subject: |
|
|
I have been trying to duplicate your problem without sucsess. I did see a couple problems:
1)
Quote: |
*** You are not in the portage group. You may experience cache problems
*** due to permissions preventing the creation of the on-disk cache.
*** Please add this user to the portage group if you wish to use portage.
|
Porthole imports portage to use some of its code, so please add the portage group to your group list
Code: | usermod -G portage, audio, cdrom,<insert all other groups needed> pavan |
2)
Quote: | UTILS: get_world(); Failure to locate file: '/var/lib/portage/world'
UTILS: get_world(); Trying '/var/cache/edb/world'
MAINWINDOW: UpgradableReader(); Failed to locate the world file
|
This showed me we didn't update a few dprint statements when this code was moved. I've just fixed it.
BUT Why could it not find '/var/lib/portage/world' or the old location '/var/cache/edb/world' .
What versions of portage and python are you using? Do these file exist on your system?
3)
Quote: | PORTAGELIB: reset_use_flags(); |
This is from a non used function that did not do what I wanted. How did this function get run.?????
I think you may have memory (hardware) problems or some other problem like a bad download.
4)
Quote: | TERMINAL: show_window(): window attribute already set... attempting show
Segmentation fault |
The next 2 commands run should not have caused a segfault. I believe you either got a bad download or you are experiencing computer hardware problems.
Check the md5sum of the download porthole-0.5.0-pre1.tbz2 file
This the md5sum:
Code: | md5sum porthole-0.5.0-pre1.tbz2
aac0dfa3e32a5fc72df2c35a4fd7badd porthole-0.5.0-pre1.tbz2 |
_________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
pavkb Tux's lil' helper
Joined: 20 Jan 2004 Posts: 90 Location: USA
|
Posted: Mon Aug 22, 2005 4:38 am Post subject: |
|
|
when i run as root it crashe's with the following message in the terminal
Code: |
[('-l', ''), ('-d', '')]
[]
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 = 27259 ****************
*** PORTHOLE: Crash detected! ***
Please submit a bug report including
all debug text from the terminal you ran porthole from.
Plus the the file: /var/log/porthole/crash_root.html
|
i do see a dialog box this time & the file crash_root.html is created.
i am not sure how i can upload that fiel here. |
|
Back to top |
|
|
pavkb Tux's lil' helper
Joined: 20 Jan 2004 Posts: 90 Location: USA
|
Posted: Mon Aug 22, 2005 4:51 am Post subject: |
|
|
i didn't see your post before i posted the info about running as root. sorry
i will try & answer all the questions you have raised.
for #1.
How do i figure out what is my current group membership is?
i really don't want to change stuff without knowing what i am doing.
for #2
Code: |
ls -l /var/lib/portage/world
-rw-r--r-- 1 root portage 1732 Aug 21 23:27 /var/lib/portage/world
ls -l '/var/cache/edb/world'
ls: /var/cache/edb/world: No such file or directory
|
for #4 i doubt that i had a bad download, but cannot varify the checksum since i have removed the download.
i am definite that i have no system problems either.
i have athlon 64 box by the way.
later on i would try & redownload the s/w & compare the checksum.
with regards to my immediatly prior post. is it ok to run after a su - too root??
thanks |
|
Back to top |
|
|
pavkb Tux's lil' helper
Joined: 20 Jan 2004 Posts: 90 Location: USA
|
Posted: Mon Aug 22, 2005 4:57 am Post subject: |
|
|
i redownloaded the package.
my md5sum output is the same as what you posted in the post. |
|
Back to top |
|
|
pavkb Tux's lil' helper
Joined: 20 Jan 2004 Posts: 90 Location: USA
|
Posted: Mon Aug 22, 2005 5:03 am Post subject: |
|
|
sorry about the sequence of posts
currently i am
Code: |
groups pavan
wheel floppy audio cdrom video games usb users portage
|
now i try to run the recently downloaded porthole from my home dir.
it runs fine (haven't tried all the functionality yet).
but i get this when i try to sync or any other action.
Code: |
pavan is not in the sudoers file. This incident will be reported.
|
"pavan" is my user name.
how do i go about adding myself to the sudoers file?? |
|
Back to top |
|
|
dol-sen Retired Dev
Joined: 30 Jun 2002 Posts: 2805 Location: Richmond, BC, Canada
|
Posted: Mon Aug 22, 2005 7:07 am Post subject: |
|
|
Yes, it is fine to run it as root. There are even a few more options available that way. We will be able to offer those to users later when we have a better way to su within porthole (that package is to be released soon)
It certainly seems like your biggest problems were a bad download.
There have been a few bugfixes in cvs and I am working on another, We should have a testing ebuild out again soon.
As for the sudoers file
There is a special way to edit the file so that it is done correctly. You will have to run it from a su'd terminal. The groups look good now. _________________ Brian
Porthole, the Portage GUI frontend irc@freenode: #gentoo-guis, #porthole, Blog
layman, gentoolkit, CoreBuilder, esearch... |
|
Back to top |
|
|
|
|
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
|
|