[Bug 325775] Re: interface.py crashed with "TypeError: object of type 'NoneType' has no len()"

Andrew Swinn andrew at swinn.id.au
Wed Jul 22 10:13:47 UTC 2009


I am seeing a similar crash trying to use envyng.

+-------------------------------------------------+
 |                                                 |
 |             Welcome to EnvyNG                   |
 |    Developed by Alberto Milone (aka tseliot)    |
 |                                                 |
 +-------------------------------------------------+


 +-----------------------------------------------------------+
 |    EnvyNG Menu                                            |
 |                                                           |
 |    1 - Install the NVIDIA driver                          |
 |                                                           |
 |    2 - Uninstall the NVIDIA driver                        |
 |                                                           |
 |    3 - Install the ATI driver                             |
 |                                                           |
 |    4 - Uninstall the ATI driver                           |
 |                                                           |
 |    5 - Restart the Xserver                                |
 |                                                           |
 |    6 - Restart your computer                              |
 |                                                           |
 |    7 - Exit                                               |
 |                                                           |
 |    NOTE: IF THE SCREEN TURNS BLACK, PLEASE TYPE ALT+F1    |
 +-----------------------------------------------------------+
Please select one of the activities displayed above and press ENTER:

1
 +----------------------------------------------------------------------------+
 | Number | Candidate Version  | Installed Version | Compatible | Recommended |
 |----------------------------------------------------------------------------|
 | 0      | 180.44-0ubuntu1    | -                 | +          | +           |
 |----------------------------------------------------------------------------|
 | 1      | 173.14.16-0ubuntu1 | -                 | +          | -           |
 |----------------------------------------------------------------------------|
 | 2      | 96.43.10-0ubuntu1  | -                 | -          | -           |
 |----------------------------------------------------------------------------|
 | 3      | 71.86.08-0ubuntu1  | -                 | -          | -           |
 +----------------------------------------------------------------------------+
Please select the number corresponding to the desired driver and press ENTER 
(or type another number and press Enter to go back to the previous menu): 
0

Dowloading the packages...
Traceback (most recent call last):
  File "interface.py", line 432, in <module>
    a.mainMenu()
  File "interface.py", line 295, in mainMenu
    a.driverMenu('nvidia')
  File "interface.py", line 333, in driverMenu
    self.process(self.abstract.install, package)
  File "interface.py", line 391, in process
    myFunction(myArgs)
  File "/usr/lib/python2.6/dist-packages/Envy/abstraction.py", line 155, in install
    self.pkg.install(packages, self.widget)
  File "/usr/lib/python2.6/dist-packages/Envy/packagemanager.py", line 206, in install
    self.cacheUi.commit(UiFetchProgress(widget, self.isText), UiInstallProgress(widget, self.isText)) 
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 277, in commit
    res = self.installArchives(pm, installProgress)
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 252, in installArchives
    res = installProgress.run(pm)
  File "/usr/lib/python2.6/dist-packages/apt/progress.py", line 281, in run
    res = pm.DoInstall(self.writefd)
SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
Traceback (most recent call last):
  File "interface.py", line 432, in <module>
    a.mainMenu()
  File "interface.py", line 295, in mainMenu
    a.driverMenu('nvidia')
  File "interface.py", line 333, in driverMenu
    self.process(self.abstract.install, package)
  File "interface.py", line 391, in process
    myFunction(myArgs)
  File "/usr/lib/python2.6/dist-packages/Envy/abstraction.py", line 155, in install
    self.pkg.install(packages, self.widget)
  File "/usr/lib/python2.6/dist-packages/Envy/packagemanager.py", line 206, in install
    self.cacheUi.commit(UiFetchProgress(widget, self.isText), UiInstallProgress(widget, self.isText)) 
  File "/usr/lib/python2.6/dist-packages/apt/cache.py", line 281, in commit
    raise SystemError("installArchives() failed")
SystemError: installArchives() failed

-- 
interface.py crashed with "TypeError: object of type 'NoneType' has no len()"
https://bugs.launchpad.net/bugs/325775
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs at lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs




More information about the universe-bugs mailing list