GNOME Bugzilla – Bug 452746
ImportError: could not import gnomecanvas
Last modified: 2007-10-30 00:19:29 UTC
What were you doing when the application crashed? flskdj Distribution: Ubuntu 7.04 (feisty) Gnome Release: 2.18.1 2007-04-10 (Ubuntu) BugBuddy Version: 2.18.1 System: Linux 2.6.20-16-generic #2 SMP Thu Jun 7 20:19:32 UTC 2007 i686 X Vendor: The X.Org Foundation X Vendor Release: 70200000 Selinux: No Accessibility: Disabled GTK+ Theme: Industrial Icon Theme: Mist Memory status: size: 0 vsize: 0 resident: 0 share: 0 rss: 0 rss_rlim: 0 CPU usage: start_time: 0 rtime: 0 utime: 0 stime: 0 cutime:0 cstime: 0 timeout: 0 it_real_value: 0 frequency: 0 ----------- .xsession-errors --------------------- ** (gnome-cups-icon:5264): WARNING **: IPP request failed with status 1280 ** (gnome-app-install:7660): WARNING **: return value of custom widget handler was not a GtkWidget ** (gnome-cups-icon:5264): WARNING **: IPP request failed with status 1280 ** (gnome-cups-icon:5264): WARNING **: IPP request failed with status 1280 /usr/lib/python2.5/site-packages/AppInstall/AppInstall.py:1532: GtkWarning: gtk_tree_model_sort_sort: assertion `tree_model_sort->default_sort_func != NULL' failed item.applications.set_default_sort_func(None) ** (gnome-cups-icon:5264): WARNING **: IPP request failed with status 1280 ** (gnome-cups-icon:5264): WARNING **: IPP request failed with status 1280 ImportError: could not import gnomecanvas -------------------------------------------------- ImportError: could not import gnomecanvas
*** Bug 456490 has been marked as a duplicate of this bug. ***
*** Bug 457567 has been marked as a duplicate of this bug. ***
*** Bug 457583 has been marked as a duplicate of this bug. ***
*** Bug 457999 has been marked as a duplicate of this bug. ***
*** Bug 458256 has been marked as a duplicate of this bug. ***
*** Bug 452748 has been marked as a duplicate of this bug. ***
*** Bug 458415 has been marked as a duplicate of this bug. ***
*** Bug 458454 has been marked as a duplicate of this bug. ***
*** Bug 458455 has been marked as a duplicate of this bug. ***
*** Bug 458520 has been marked as a duplicate of this bug. ***
*** Bug 458529 has been marked as a duplicate of this bug. ***
*** Bug 458557 has been marked as a duplicate of this bug. ***
*** Bug 458658 has been marked as a duplicate of this bug. ***
*** Bug 458726 has been marked as a duplicate of this bug. ***
*** Bug 458776 has been marked as a duplicate of this bug. ***
*** Bug 458800 has been marked as a duplicate of this bug. ***
*** Bug 458844 has been marked as a duplicate of this bug. ***
*** Bug 458866 has been marked as a duplicate of this bug. ***
*** Bug 458890 has been marked as a duplicate of this bug. ***
*** Bug 458962 has been marked as a duplicate of this bug. ***
*** Bug 459138 has been marked as a duplicate of this bug. ***
*** Bug 459110 has been marked as a duplicate of this bug. ***
*** Bug 459087 has been marked as a duplicate of this bug. ***
*** Bug 459006 has been marked as a duplicate of this bug. ***
*** Bug 458998 has been marked as a duplicate of this bug. ***
*** Bug 458987 has been marked as a duplicate of this bug. ***
*** Bug 459274 has been marked as a duplicate of this bug. ***
*** Bug 459296 has been marked as a duplicate of this bug. ***
*** Bug 459316 has been marked as a duplicate of this bug. ***
*** Bug 459320 has been marked as a duplicate of this bug. ***
*** Bug 459321 has been marked as a duplicate of this bug. ***
*** Bug 459325 has been marked as a duplicate of this bug. ***
*** Bug 459439 has been marked as a duplicate of this bug. ***
This sounds like a problem with the gutsy Gnome bindings/package dependencies. glChess does not explicitly use gnomecanvas anywhere (and I believe it is a new Gnome/GTK feature?). Unfortunately none of the reports have a backtrace. Could a Gutsy user try the following and post here their result: $ python >>> import gtk >>> import gnome >>> import gnome.ui (and if no errors please try quiting and restarting Python and changing the order) Cheers, --Robert
(Browsing launchpad didn't immediately find a bug). Note that all the duplicate reports have come from Gutsy systems.
Robert Ancell, It shows errors: igor@igorlaptop:~$ python Python 2.5.1 (r251:54863, Jul 17 2007, 16:02:11) [GCC 4.1.3 20070629 (prerelease) (Ubuntu 4.1.2-13ubuntu2)] on linux2 Type "help", "copyright", "credits" or "license" for more information. >>> import gtk >>> import gnome >>> import gnome.ui ImportError: could not import gnomecanvas ImportError: cannot import name DockItem from bonobo.ui >>>
Thanks Igor, Digging a bit deeper shows the bug: https://bugs.launchpad.net/ubuntu/+source/python-gnome2/+bug/126144 The python-gnome2 package needs to depend on the python-gnomecanvas package (as it does in Feisty). Workaround: $ apt-get install python-gnomecanvas Should fix the problem.
*** Bug 459724 has been marked as a duplicate of this bug. ***
*** Bug 459739 has been marked as a duplicate of this bug. ***
*** Bug 459738 has been marked as a duplicate of this bug. ***
*** Bug 459695 has been marked as a duplicate of this bug. ***
*** Bug 459659 has been marked as a duplicate of this bug. ***
*** Bug 459634 has been marked as a duplicate of this bug. ***
*** Bug 459460 has been marked as a duplicate of this bug. ***
*** Bug 459816 has been marked as a duplicate of this bug. ***
*** Bug 459799 has been marked as a duplicate of this bug. ***
*** Bug 459796 has been marked as a duplicate of this bug. ***
*** Bug 460043 has been marked as a duplicate of this bug. ***
*** Bug 459999 has been marked as a duplicate of this bug. ***
*** Bug 459957 has been marked as a duplicate of this bug. ***
*** Bug 459956 has been marked as a duplicate of this bug. ***
*** Bug 459912 has been marked as a duplicate of this bug. ***
*** Bug 460152 has been marked as a duplicate of this bug. ***
*** Bug 460197 has been marked as a duplicate of this bug. ***
*** Bug 460246 has been marked as a duplicate of this bug. ***
*** Bug 460261 has been marked as a duplicate of this bug. ***
*** Bug 460287 has been marked as a duplicate of this bug. ***
*** Bug 460331 has been marked as a duplicate of this bug. ***
*** Bug 460337 has been marked as a duplicate of this bug. ***
*** Bug 460402 has been marked as a duplicate of this bug. ***
*** Bug 460667 has been marked as a duplicate of this bug. ***
*** Bug 460674 has been marked as a duplicate of this bug. ***
*** Bug 460836 has been marked as a duplicate of this bug. ***
*** Bug 460321 has been marked as a duplicate of this bug. ***
*** Bug 459678 has been marked as a duplicate of this bug. ***
*** Bug 456896 has been marked as a duplicate of this bug. ***
*** Bug 461034 has been marked as a duplicate of this bug. ***
*** Bug 461098 has been marked as a duplicate of this bug. ***
*** Bug 461077 has been marked as a duplicate of this bug. ***
*** Bug 461309 has been marked as a duplicate of this bug. ***
*** Bug 461243 has been marked as a duplicate of this bug. ***
*** Bug 461466 has been marked as a duplicate of this bug. ***
@robert ancell: if this is NOTGNOME and only a ubuntu gutsy issue, why isn't this closed yet as NOTGNOME???
Andre: I had it open to make it easy to file duplicates against, I expect there will be many more until these users have upgraded. But closing now. (Does closing reduce the amount of duplicate notices sent to those who have reported?)
*** Bug 461605 has been marked as a duplicate of this bug. ***
@robert: unfortunately not, bugzilla 3.0 will support that. people that do not want to get the mail flood of duplicate reports please remove yourself from the CC list at http://bugzilla.gnome.org/show_bug.cgi?id=452746
*** Bug 462452 has been marked as a duplicate of this bug. ***
*** Bug 462396 has been marked as a duplicate of this bug. ***
*** Bug 461897 has been marked as a duplicate of this bug. ***
*** Bug 461903 has been marked as a duplicate of this bug. ***
*** Bug 462278 has been marked as a duplicate of this bug. ***
*** Bug 463761 has been marked as a duplicate of this bug. ***
*** Bug 463670 has been marked as a duplicate of this bug. ***
*** Bug 463221 has been marked as a duplicate of this bug. ***
*** Bug 462870 has been marked as a duplicate of this bug. ***
*** Bug 462702 has been marked as a duplicate of this bug. ***
*** Bug 462697 has been marked as a duplicate of this bug. ***
*** Bug 462538 has been marked as a duplicate of this bug. ***
*** Bug 462237 has been marked as a duplicate of this bug. ***
*** Bug 462227 has been marked as a duplicate of this bug. ***
*** Bug 461994 has been marked as a duplicate of this bug. ***
*** Bug 461908 has been marked as a duplicate of this bug. ***
*** Bug 463793 has been marked as a duplicate of this bug. ***
*** Bug 463714 has been marked as a duplicate of this bug. ***
*** Bug 466450 has been marked as a duplicate of this bug. ***
*** Bug 464269 has been marked as a duplicate of this bug. ***
*** Bug 464685 has been marked as a duplicate of this bug. ***
*** Bug 469158 has been marked as a duplicate of this bug. ***
*** Bug 469658 has been marked as a duplicate of this bug. ***
*** Bug 472671 has been marked as a duplicate of this bug. ***
*** Bug 473204 has been marked as a duplicate of this bug. ***
*** Bug 474785 has been marked as a duplicate of this bug. ***
*** Bug 474944 has been marked as a duplicate of this bug. ***
*** Bug 475162 has been marked as a duplicate of this bug. ***
*** Bug 475618 has been marked as a duplicate of this bug. ***
*** Bug 476062 has been marked as a duplicate of this bug. ***
*** Bug 476552 has been marked as a duplicate of this bug. ***
*** Bug 479323 has been marked as a duplicate of this bug. ***
*** Bug 479759 has been marked as a duplicate of this bug. ***
*** Bug 480189 has been marked as a duplicate of this bug. ***
*** Bug 486150 has been marked as a duplicate of this bug. ***
*** Bug 485804 has been marked as a duplicate of this bug. ***
*** Bug 488741 has been marked as a duplicate of this bug. ***
I'm going to remove all the people CC'd on this bug to stop spamming them everytime a duplicate is found. If you still want to watch this bug please add yourself again.
*** Bug 488419 has been marked as a duplicate of this bug. ***