Equo crashes on any package install attempt [Solved]

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Post Reply
carltonh
Young Hen
Posts: 38
Joined: Sun Aug 12, 2007 17:14
Location: decentralist.wordpress.com

Equo crashes on any package install attempt [Solved]

Post by carltonh » Wed Jun 24, 2009 4:32

The last several days I've run equo update with no problems, but I tried to run "equo install equo" and it crashes when trying to install. Then I discovered it crashes when I try to install anything, although it gets through the download without any problems.

Equo prompts me to send info automatically, but that fails and so it tells me to email an error file to lxnay. I did that but I thought I'd post here to see if there are any fixes known. Here is the text output in the terminal:

Code: Select all

>> Hi. My name is Bug Reporter. I am sorry to inform you that Equo crashed. Well, you know, shit happens.                                                       
>> But there's something you could do to help Equo to be a better application.  
>> -- EVEN IF I DON'T WANT YOU TO SUBMIT THE SAME REPORT MULTIPLE TIMES --      
>> Now I am showing you what happened. Don't panic, I'm here to help you.       
Traceback (most recent call last):                                              
  File "/usr/bin/equo", line 517, in main                                       
    rc = text_ui.package(options)                                               
  File "/usr/lib/entropy/client/text_ui.py", line 140, in package               
    check_critical_updates = True)                                              
  File "/usr/lib/entropy/client/text_ui.py", line 1144, in installPackages      
    metaopts['removeconfig'] = configFiles                                      
NameError: global name 'configFiles' is not defined                             

Frame installPackages in /usr/lib/entropy/client/text_ui.py at line 1144
                crit_matches =  []                                      
                  multifetch =  1                                       
          read_lic_selection =  <function read_lic_selection at 0x87263ac>
                        deps =  True                                      
                downloadSize =  -486560                                   
                    deepdeps =  False                                     
                   mysizetxt =  Used disk space                           
                   onlyfetch =  False                                     
                  foundAtoms =  [(30226, 'sabayonlinux.org')]             
                     pkgatom =  app-admin/equo-0.96.26                    
                      mykeys =  {'sabayonlinux.org': set([u'app-admin/sulfur', u'sys-apps/entropy', u'app-admin/equo', u'app-admin/entropy-notification-applet', u'sys-apps/entropy-client-services'])}                                         
                    currsize =  169097                                          
                   deltaSize =  76                                              
                    reponame =  sabayonlinux.org                                
             pkgsToReinstall =  0                                               
                    licenses =  {}                                              
                currentqueue =  1                                               
               pkgsToInstall =  0                                               
                      dbconn =  <entropy.db.LocalRepository instance at 0x85ac86c>                                                                              
                     pkgsize =  74857                                           
                     pkgslot =  0                                               
                  dochecksum =  True                                            
                    metaopts =  {}                                              
                   atomsdata =  []                                              
                      mysize =  0b                                              
        equo_client_settings =  {'ignore_spm_downgrades': False, 'filesbackup': False, 'collisionprotect': 1, 'configprotectmask': [u'/etc/pam.d'], 'configprotectskip': [u'/usr/kde/3.5/share/config/kdm/kdmrc', u'/etc/conf.d/hostname', u'/etc/sudoers'], 'forcedupdates': True, 'configprotect': [u'/etc/conf.d', u'/etc/hosts', u'/etc/X11/xorg.conf', u'/etc/X11', u'/etc/entropy']}                      
             onDiskFreedSize =  10245577                                        
                       mytxt =  You need at least: 1.8MB of free space          
                  unpackSize =  1853750                                         
                    runQueue =  [(30229, 'sabayonlinux.org'), (30224, 'sabayonlinux.org'), (30230, 'sabayonlinux.org'), (30225, 'sabayonlinux.org'), (30226, 'sabayonlinux.org')]                                                               
                pkgsToUpdate =  0                                               
                installedTag =                                                  
                  size_match =  True                                            
                          rc =  0                                               
                   idpackage =  30226                                           
                       match =  (30229, 'sabayonlinux.org')                     
             pkgsToDowngrade =  0                                               
                  neededSize =  1853826                                         
               installedRepo =  sabayonlinux.org                                
                   emptydeps =  False                                           
        check_critical_updates =  True                                          
                          dl =  0                                               
                 dirscleanup =  <function dirscleanup at 0x8726844>             
                installedVer =  0.96.24                                         
                resume_cache =  {'runQueue': [(30229, 'sabayonlinux.org'), (30224, 'sabayonlinux.org'), (30230, 'sabayonlinux.org'), (30225, 'sabayonlinux.org'), (30226, 'sabayonlinux.org')], 'emptydeps': False, 'user_packages': set([(30226, 'sabayonlinux.org')]), 'onlyfetch': False, 'deepdeps': False}                 
                removalQueue =  []                                              
                config_files =  False                                           
                     pkgfile =  packages/x86/4/app-admin:equo-0.96.26~0.tbz2    
        sys_set_client_plg_id =  client_plugin                                  
                      resume =  False                                           
                   skipfirst =  False                                           
                   spawn_ugc =  <function spawn_ugc at 0x85725dc>               
                installedRev =  0                                               
                  fetchqueue =  5                                               
                    packages =  ['equo']                                        
                      pkgver =  0.96.26                                         
                       count =  5                                               
            myaccept_license =  None                                            
                pkginstalled =  (9157, 0)                                       
                  crit_atoms =  set([])                                         
                         idx =  9157                                            
                           f =  <closed file u'/var/lib/entropy/packages/x86/4/app-admin:equo-0.96.26~0.tbz2', mode 'r' at 0x87234e8>                           
                      pkgtag =                                                  
        explicit_user_packages =  set([(30226, 'sabayonlinux.org')])            
              onDiskUsedSize =  10245653                                        
                mymultifetch =  1                                               
                pkgsToRemove =  0                                               
                xterm_header =  Equo (fetch) :: 5 of 5 ::                       
                      pkgrev =  0                                               
                       abort =  False                                           
                  totalqueue =  5                                               
                        tbz2 =  []                                              
                      myrepo =  sabayonlinux.org                                
                        myrc =  (0, 0)                                          
Last edited by carltonh on Thu Jun 25, 2009 3:04, edited 1 time in total.

lxnay
Land Owner
Posts: 3596
Joined: Thu Oct 13, 2005 23:16
Location: Italy
Contact:

Re: Equo crashes on any package install attempt

Post by lxnay » Wed Jun 24, 2009 6:57

Update to 0.96.26, this is the fix:
http://gitweb.sabayon.org/?p=entropy.gi ... 0df1f15be1
Image
Join us on IRC (chat.freenode.net #sabayon or WebChat)
Submit bugs to our Bug Tracker
Follow me on Twitter
Add me on Facebook
Add me on Google+

chickpea
Sagely Hen
Posts: 1084
Joined: Fri Jan 05, 2007 15:08
Location: Washington, DC

Re: Equo crashes on any package install attempt

Post by chickpea » Wed Jun 24, 2009 21:27

What lxnay means by this is, to fix this issue,

do a

Code: Select all

 nano /usr/lib/entropy/client/text_ui.py
go a LOOOOOG way down until you hit the line that says :

Code: Select all

 metaopts = {}

        metaopts['removeconfig'] = configFiles
Change that piece of code to

Code: Select all

 metaopts = {}

        metaopts['removeconfig'] = config_files
save and exit. Try equo now. It should work.

carltonh
Young Hen
Posts: 38
Joined: Sun Aug 12, 2007 17:14
Location: decentralist.wordpress.com

Re: Equo crashes on any package install attempt

Post by carltonh » Thu Jun 25, 2009 3:03

That worked! Thanks guys. I'll mark the thread resolved.

Post Reply