Page 2 of 4 FirstFirst 1234 LastLast
Results 11 to 20 of 34

Thread: Ubuntu Software Center does not start

  1. #11
    Join Date
    Jul 2010
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu Software Center does not start

    hi mates,
    i'm using ubuntu 10.04 lucid lynx and i just found out that i have same problems with ubuntu software center.

    here is my command line response.
    perhaps anyone can help me

    myhasianku@myhasianku-laptop:~$ sudo software-center
    [sudo] password for myhasianku:
    Traceback (most recent call last):
    File "/usr/bin/software-center", line 80, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
    File "/usr/share/software-center/softwarecenter/app.py", line 201, in __init__
    self.view_switcher = ViewSwitcher(datadir, self.db, self.icons)
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 57, in __init__
    store = ViewSwitcherList(datadir, db, icons)
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 204, in __init__
    self._update_channel_list()
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 274, in _update_channel_list
    self.channels = self._get_channels()
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 352, in _get_channels
    channels.append(partner_channel)
    UnboundLocalError: local variable 'partner_channel' referenced before assignment

    thanks a lot

    \m/

  2. #12
    Join Date
    Nov 2006
    Beans
    24
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu Software Center does not start

    I'm using 10.04 as well, updated to v2.0.6 of software-center this morning & this is what I get...

    rob@rob-desktop:~$ software-center
    Traceback (most recent call last):
    File "/usr/bin/software-center", line 80, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
    File "/usr/share/software-center/softwarecenter/app.py", line 201, in __init__
    self.view_switcher = ViewSwitcher(datadir, self.db, self.icons)
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 57, in __init__
    store = ViewSwitcherList(datadir, db, icons)
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 204, in __init__
    self._update_channel_list()
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 274, in _update_channel_list
    self.channels = self._get_channels()
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 352, in _get_channels
    channels.append(partner_channel)
    UnboundLocalError: local variable 'partner_channel' referenced before assignment


    The same thing happened a couple of days ago & a full reinstall fixed it then but hasn't worked this time, any help fixing it would be appreciated.

  3. #13
    Join Date
    Oct 2009
    Location
    Leitchfield, KY
    Beans
    28
    Distro
    Kubuntu 13.10 Saucy Salamander

    Re: Ubuntu Software Center does not start

    I had the same problem with Ubuntu 10.04 and the local variable 'partner_channel' referenced before assignment error. I got it working again by going into synaptic package manager and marking software-center for complete removal and then installed it again.

  4. #14
    Join Date
    Feb 2010
    Location
    Summerwind
    Beans
    12,471
    Distro
    Ubuntu 17.10 Artful Aardvark

    Re: Ubuntu Software Center does not start

    I helped with a Wubi install last night and had the same issue , so I installed the latest ppa and that solved the problem ? Not good for someone trying Ubuntu to be without a software center.
    “Start where you are. Use what you have. Do what you can".

    Ubuntu Documentation Search: Popular Pages
    Ubuntu: Security Basics
    Ubuntu: Manual

  5. #15
    Join Date
    Aug 2008
    Beans
    90
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu Software Center does not start

    I have the local variable 'partner_channel' referenced before assignment error. but completely removing software center and reinstalling did not fix. Of course I added back the Ubuntu desktop package it had installed with it as it was claimed it is important especially in upgrades. I also had to re remove totem pitv f-spot and gnome games. I am not sure but I don't think I had this problem till after updating with lucid proposed updates!

  6. #16
    Join Date
    Feb 2008
    Beans
    4
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu Software Center does not start

    Same problem. Looks like a coding error. Look at the last line in the traceback.

    Traceback (most recent call last):
    File "/usr/bin/software-center", line 80, in <module>
    app = SoftwareCenterApp(datadir, xapian_base_path)
    File "/usr/share/software-center/softwarecenter/app.py", line 201, in __init__
    self.view_switcher = ViewSwitcher(datadir, self.db, self.icons)
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 57, in __init__
    store = ViewSwitcherList(datadir, db, icons)
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 204, in __init__
    self._update_channel_list()
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 274, in _update_channel_list
    self.channels = self._get_channels()
    File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 352, in _get_channels
    channels.append(partner_channel)
    UnboundLocalError: local variable 'partner_channel' referenced before assignment

  7. #17
    Join Date
    Nov 2009
    Location
    New Jersey, United States
    Beans
    81
    Distro
    Ubuntu 10.10 Maverick Meerkat

    Re: Ubuntu Software Center does not start

    Hello. I think I have a similar problem that you all are having. I try to open Ubuntu Software Center but it doesn't start. When I try to start it using the terminal, I get some error. Here it is:

    Code:
    tj@ubuntu:~$ sudo software-center
    [sudo] password for tj: 
    Traceback (most recent call last):
      File "/usr/bin/software-center", line 80, in <module>
        app = SoftwareCenterApp(datadir, xapian_base_path)
      File "/usr/share/software-center/softwarecenter/app.py", line 201, in __init__
        self.view_switcher = ViewSwitcher(datadir, self.db, self.icons)
      File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 57, in __init__
        store = ViewSwitcherList(datadir, db, icons)
      File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 204, in __init__
        self._update_channel_list()
      File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 274, in _update_channel_list
        self.channels = self._get_channels()
      File "/usr/share/software-center/softwarecenter/view/viewswitcher.py", line 352, in _get_channels
        channels.append(partner_channel)
    UnboundLocalError: local variable 'partner_channel' referenced before assignment
    -TJ

  8. #18
    Join Date
    Aug 2008
    Beans
    90
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: Ubuntu Software Center does not start

    I could do it later but not atm can someone report this bug on launchpad and put a link here so everyone can click effected too.

  9. #19
    Join Date
    Jul 2010
    Beans
    2
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: Ubuntu Software Center does not start

    hi mates,
    this morning i tried to do sudo apt-get update and i found that there is some replacement package for software-center, and after installation is complete software-center is working properly.

    thanks

  10. #20
    Join Date
    Sep 2010
    Location
    San Francisco Bay Area
    Beans
    121
    Distro
    Ubuntu Studio 12.04 Precise Pangolin

    Re: Ubuntu Software Center does not start

    This morning I found myself with the same problem. I'm running Ubuntu 10.04.1 lucid lynx.

    Read the above thread and went to Synaptic Package Manager, where I removed software-center and then reinstalled it. Still it wouldn't come up. Rebooted, in terminal, I issued the software-center command. The output was:

    Code:
    anthony@anthony-desktop:~$ sudo software-center
    [sudo] password for anthony: 
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    WARNING:root:No styling hints for Raleigh were found... using Human hints.
    /usr/share/software-center/softwarecenter/apt/aptcache.py:40: GtkWarning: gtk_container_add: assertion `GTK_IS_CONTAINER (container)' failed
      gtk.main_iteration()
    ERROR:dbus.proxies:Introspect error on :1.51:/: dbus.exceptions.DBusException: org.freedesktop.DBus.Error.AccessDenied: Rejected send message, 1 matched rules; type="method_call", sender=":1.49" (uid=0 pid=2138 comm="/usr/bin/python) interface="org.freedesktop.DBus.Introspectable" member="Introspect" error name="(unset)" requested_reply=0 destination=":1.51" (uid=0 pid=2176 comm="/usr/bin/python))
    But then the software-center came up!

    Great...I thought. It still won't come up from the menu, though. And I'm curious as to those errors I'm getting in Terminal.

    Thanks for any help you can give me.
    -----
    dug around some more through old posts. Found this:
    Quote Originally Posted by bertilow View Post
    In that discussion someone wrote that choosing a specific GTK theme for GTK applications (not just using a KDE style) fixes the problem. I can confirm that. Problem solved for me.

    System Settings -> Look & Feel -> Appearance -> GTK Styles and Fonts -> GTK Styles -> Use another Style -> (Pick one)

    (Maybe you need to have parts of Gnome installed.)
    I picked a new font. Now the software center comes up.

    Yet I am still getting those same errors in Terminal. I going to reboot and see about the effect.
    (later) Still am experiencing the same problem.
    Last edited by ProntoAnthony; October 19th, 2010 at 04:58 PM. Reason: put in [code] [/code], then found a partial solution

Page 2 of 4 FirstFirst 1234 LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •