I will have to learn tousand things. English of course too. But I don't have much time. This is my problem. Thx
2009/8/2 miegiel <n...@miegiel.net>: > Some aditional info: > > I started it from the CLI "/usr/bin/gnome-app-install" and that spat out > a nice list of repeating errors : > > Traceback (most recent call last): > File "/usr/lib/python2.6/dist-packages/AppInstall/Menu.py", line 243, in > _visible_filter > self.itemIsInstalled(item): > File "/usr/lib/python2.6/dist-packages/AppInstall/Menu.py", line 419, in > itemIsInstalled > return (self.cache.has_key(item.pkgname) and > AttributeError: 'NoneType' object has no attribute 'has_key' > > to end with : > > /usr/lib/python2.6/dist-packages/AppInstall/AppInstall.py:1248: GtkWarning: > gtk_tree_model_sort_set_sort_column_id: assertion > `tree_model_sort->default_sort_func != NULL' failed > item.applications.set_sort_column_id(-1, sort_type) > > I took a look at /usr/lib/python2.6/dist-packages/AppInstall/Menu.py > which made me realise something. The last time I ran "Add /Remove" > (software) from the gnome menu I selected the filter to show only > installed programs. This filter is used again the next time gnome-app- > install is run and is where I think things go wrong. > > lines 224 to 256 from /usr/lib/python2.6/dist-packages/AppInstall/Menu.py > (added >>here>> at line 243) > def _visible_filter(self, model, iter): > item = model.get_value(iter, COL_ITEM) > #print "_visible_filter: ", item > if item: > # check for the various view settings > if not self.activationStyle.isApproved( > item.component, item.pkgname): > return False > if self.filter == SHOW_ONLY_MAIN and item.component != "main": > return False > if self.filter == SHOW_ONLY_SUPPORTED and item.supported != True: > return False > if self.filter == SHOW_ONLY_FREE and item.free == False: > return False > if self.filter == SHOW_ONLY_PROPRIETARY and item.free == True: > return False > if self.filter == SHOW_ONLY_THIRD_PARTY and item.thirdparty != > True: > return False > if self.filter == SHOW_ONLY_INSTALLED and not \ >>>here>> self.itemIsInstalled(item): > return False > # Allow to only show a subset by the activation filter > if (self.activationStyle.selectFilter is not None and > not self._activationStyleFilter(item)): > return False > # if we search, do the ranking updates > if len(self.searchTerms) > 0: > rank = self._filterAndRank(item) > if rank == None: > return False > else: > item.rank = rank > return True > > I hope this helps : ) > > -- > gnome-app-install crashed with AttributeError in itemIsInstalled() > https://bugs.launchpad.net/bugs/389749 > You received this bug notification because you are a direct subscriber > of the bug. > > Status in “gnome-app-install” package in Ubuntu: New > > Bug description: > Binary package hint: gnome-app-install > > In Firefox, I clicked Tools > Add-ons and then clicked "Get Ubuntu > Extensions". An interface similar to install/remove popped up and then apport > popped up reporting this crash. The "Install/Remove Extensions" remained but > the loading dialogue is frozen and says "Loading System...". > > ProblemType: Crash > Architecture: amd64 > Date: Fri Jun 19 21:18:17 2009 > DistroRelease: Ubuntu 9.10 > ExecutablePath: /usr/bin/gnome-app-install > InterpreterPath: /usr/bin/python2.6 > NonfreeKernelModules: wl nvidia > Package: gnome-app-install 0.5.30-0ubuntu1 > PackageArchitecture: all > ProcCmdline: /usr/bin/python /usr/bin/gnome-app-install > --xul-extensions=firefox > ProcEnviron: > LANG=en_CA.UTF-8 > SHELL=/bin/bash > ProcVersionSignature: Ubuntu 2.6.30-9.10-generic > PythonArgs: ['/usr/bin/gnome-app-install', '--xul-extensions=firefox'] > SourcePackage: gnome-app-install > Title: gnome-app-install crashed with AttributeError in itemIsInstalled() > Uname: Linux 2.6.30-9-generic x86_64 > UserGroups: adm admin audio cdrom dialout fuse kvm lpadmin netdev plugdev > sambashare > -- gnome-app-install crashed with AttributeError in itemIsInstalled() https://bugs.launchpad.net/bugs/389749 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs