ImportError: cannot import name print_menu

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

ImportError: cannot import name print_menu

Postby wilsaba » Tue Jan 19, 2010 7:37

Hello ppl

I was trying to update my system with the Sulfur GUI, and I got some error about Sulfur package update.
Net day I tried the same thing again, but the GUI did not open. Instead, I was offered to sent an error report, witch I did.
Then I tried the same but at the CLI.
I got this message:

sudo equo conf update
Traceback (most recent call last):
File "/usr/bin/equo", line 24, in <module>
from entropy.output import red, darkred, darkgreen, print_menu, TextInterface, \
ImportError: cannot import name print_menu

Does someone has some clue about how to fix this?
Thanks
wilsaba
Baby Hen
 
Posts: 9
Joined: Thu Jan 07, 2010 4:31

Re: ImportError: cannot import name print_menu

Postby wilsaba » Tue Jan 19, 2010 7:55

This may also interest. Its the error report mentioned in the previous post


Traceback (most recent call last):
File "/usr/lib/entropy/sulfur/sulfur-client.py", line 102, in <module>
MAIN_APP.init()
File "/usr/lib/entropy/sulfur/sulfur/__init__.py", line 98, in init
self.setup_gui()
File "/usr/lib/entropy/sulfur/sulfur/__init__.py", line 304, in setup_gui
self.Equo.connect_to_gui(self)
File "/usr/lib/entropy/sulfur/sulfur/entropyapi.py", line 308, in connect_to_gui
self.nocolor()
AttributeError: 'Equo' object has no attribute 'nocolor'

Frame connect_to_gui in /usr/lib/entropy/sulfur/sulfur/entropyapi.py at line 308
application = <sulfur.SulfurApplication instance at 0xc906c8>
self = <sulfur.entropyapi.Equo object at 0xf6d590>
wilsaba
Baby Hen
 
Posts: 9
Joined: Thu Jan 07, 2010 4:31

Re: ImportError: cannot import name print_menu

Postby wilsaba » Tue Jan 19, 2010 10:18

Maybe this is not an easy fix.
I've seen a few similar posts without any replay, or without any evidence that the issue were finally fixed.
Maybe I'll have to live without updates. Hope not.
wilsaba
Baby Hen
 
Posts: 9
Joined: Thu Jan 07, 2010 4:31

Re: ImportError: cannot import name print_menu

Postby dunsurfin » Tue Jan 19, 2010 10:36

I had the same error and worked round it by using portage to reinstall all the entropy/equo apps. Everything is working OK now.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK

Re: ImportError: cannot import name print_menu

Postby wilsaba » Wed Jan 20, 2010 23:55

Thanks for your answer, dunsurfin .

I've been looking, hitting and missing around the Portage. In fact I never used or heard about it before, as I'm quite new at Linux.

I would be grateful in case you find the time to show me what is the sequence of commands to install one of the mentioned pakages

Cheers
wilsaba
Baby Hen
 
Posts: 9
Joined: Thu Jan 07, 2010 4:31

Re: ImportError: cannot import name print_menu

Postby wolfden » Thu Jan 21, 2010 1:25

Please see:
http://wiki.sabayon.org/index.php?title ... t_to_do.3F

It will give you all the info needed to install entropy via our overlay
wolfden
Sharecropper
 
Posts: 9051
Joined: Sat Jan 14, 2006 0:55
Location: Midwest USA

Re: ImportError: cannot import name print_menu

Postby dunsurfin » Thu Jan 21, 2010 8:12

As you're new to portage it may be a good idea to look at these pages too: http://wiki.sabayon.org/index.php?title ... tage_Guide
There is an excellent GUI for portage called portato and you can get that by using (as root)
Code: Select all
 emerge portato
.
Just let us know if you have any problems getting sulfur and entropy installed via portage.
It's worth noting that "equo" will not "know" that you've reinstalled via portage unless you tell it with the
Code: Select all
equo database gentoosync
function. When I ran into the same problem and reinstalled via portage, the next
Code: Select all
equo update
and
Code: Select all
equo upgrade
told me that I still needed to install the latest versions. I just let it complete and didn't suffer any bad consequences.
Self-righteousness is a loud din raised to drown the voice of guilt within us - Eric Hoffer

Don't believe what it says on the right - I am anything but sagely; More oniony!
dunsurfin
Sagely Hen
 
Posts: 1333
Joined: Sun Jan 07, 2007 21:38
Location: Newcastle upon Tyne UK


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 1 guest

cron