Forum

Full Version: XBIAN Setup failed in XBMC
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,
when I call XBIAN setup in XBMC, the screen shows at last "Loading packages, Initialize" and then goes back to the main screen.
I have installed the 1.0b2 as an upgrade over b1.
The xbian-config in the console works fine.

The Log shows this:
14:02:44 T:2768192576 NOTICE: Thread XBPyThread start, auto delete: false
14:02:44 T:2768192576 NOTICE: -->Python Interpreter Initialized<--
14:02:45 T:2768192576 NOTICE: XBian : XBian-config started
14:02:45 T:2768192576 NOTICE: __all__ ['10_system', '20_services', '30_packages', '40_update', '50_xbmc', '55_backup', '60_preference']
14:02:51 T:2768192576 ERROR: Traceback (most recent call last):
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/default.py", line 215, in <module>
14:02:51 T:2768192576 ERROR: win.show()
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/default.py", line 89, in show
14:02:51 T:2768192576 ERROR: self.onShow()
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/default.py", line 120, in onShow
14:02:51 T:2768192576 ERROR: catmodule = __import__('%s.%s'%(CATEGORY_PATH,module), globals(), locals(), [module])
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 190, in <module>
14:02:51 T:2768192576 ERROR: class packagesManager(Setting) :
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 191, in packagesManager
14:02:51 T:2768192576 ERROR: CONTROL = PackagesControl()
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 162, in __init__
14:02:51 T:2768192576 ERROR: xbmcxml.__init__(self,*args,**kwargs)
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 51, in __init__
14:02:51 T:2768192576 ERROR: self.onInit()
14:02:51 T:2768192576 ERROR: File "/home/xbian/.xbmc/addons/plugin.xbianconfig/categories/30_packages.py", line 163, in onInit
14:02:51 T:2768192576 ERROR: if packagelist[0] == '-3':
14:02:51 T:2768192576 ERROR: IndexError: list index out of range
14:02:51 T:2768192576 ERROR: Exception in xbianSettingWindow None
14:02:51 T:3041481248 ERROR: ClearBlock: Trying to clear non existent block /home/xbian/.xbmc/addons/plugin.xbianconfig
14:02:51 T:2768192576 ERROR: Previous line repeats 1 times.
14:02:51 T:2768192576 WARNING: The python script "/home/xbian/.xbmc/addons/plugin.xbianconfig/default.py" has left several classes in memory that we couldn't clean up. The classes include: Addon
how your /etc/apt/sources.list look like ?

can you from console do
Code:
sudo -i
xbian-config packages updatedb
xbian-config packages list
The sources.list:
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
deb mirror://apt.xbian.org/mirror.txt wheezy main

xbian-config->packages shows only "Loading package database dialog" and nothing else.

(14th Dec, 2013 11:56 PM)mk01 Wrote: [ -> ]how your /etc/apt/sources.list look like ?

can you from console do
Code:
sudo -i
xbian-config packages updatedb
xbian-config packages list
@guennti

can you confirm you have latest package of xbian-package-config-shell ?

probably a quick fix is to change the "deb mirror …." to "deb http://xbian.brantje.com wheezy main"


but proper fix was already issued as upgrade to this package.
# apt-get install xbian-package-config-shell
Reading package lists... Done
Building dependency tree
Reading state information... Done
xbian-package-config-shell is already the newest version.

(15th Dec, 2013 12:11 AM)mk01 Wrote: [ -> ]@guennti

can you confirm you have latest package of xbian-package-config-shell ?

probably a quick fix is to change the "deb mirror …." to "deb http://xbian.brantje.com wheezy main"


but proper fix was already issued as upgrade to this package.
2.1.6-52g ?

Code:
dpkg-query -W xbian-package-config-shell
Yup:
xbian-package-config-shell 2.1.6-52g

(15th Dec, 2013 12:21 AM)mk01 Wrote: [ -> ]2.1.6-52g ?

Code:
dpkg-query -W xbian-package-config-shell
then correct the sources. i tried now with "mirror" and is ok, but this is not guaranteed you get the same host … is possible you get one not in sync .

and this was meant to run from command line, not startt xbian-config GUI from command line
Code:
sudo -i
xbian-config packages updatedb
xbian-config packages list
(15th Dec, 2013 12:11 AM)mk01 Wrote: [ -> ]probably a quick fix is to change the "deb mirror …." to "deb http://xbian.brantje.com wheezy main"

This works!
thanks confirming this.

keep it like that.
I seem to have a similar or the same problem:

Code:
19:29:38 T:1861825552  NOTICE: XBian : XBian-config started
19:29:56 T:1861825552  NOTICE: __all__ ['10_system', '20_services', '30_packages', '40_update', '50_xbmc', '55_backup', '59_extra', '60_preference']
19:30:01 T:1861825552   ERROR: Traceback (most recent call last):
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/default.py", line 222, in <module>
19:30:01 T:1861825552   ERROR:     win.show()
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/default.py", line 94, in show
19:30:01 T:1861825552   ERROR:     self.onShow()
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/default.py", line 125, in onShow
19:30:01 T:1861825552   ERROR:     catmodule = __import__('%s.%s'%(CATEGORY_PATH,module), globals(), locals(), [module])
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/categories/30_packages.py", line 202, in <module>
19:30:01 T:1861825552   ERROR:     class packagesManager(Setting) :
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/categories/30_packages.py", line 203, in packagesManager
19:30:01 T:1861825552   ERROR:     CONTROL = PackagesControl()
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 165, in __init__
19:30:01 T:1861825552   ERROR:     xbmcxml.__init__(self,*args,**kwargs)
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/resources/lib/xbmcguie/virtualControl.py", line 51, in __init__
19:30:01 T:1861825552   ERROR:     self.onInit()
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/categories/30_packages.py", line 179, in onInit
19:30:01 T:1861825552   ERROR:     self.packages.append(PackageCategory(package,self._onPackage,self._onGetMore))
19:30:01 T:1861825552   ERROR:   File "/usr/local/share/kodi/addons/plugin.xbianconfig/categories/30_packages.py", line 37, in __init__
19:30:01 T:1861825552   ERROR:     self.available = int(tmp[1])
19:30:01 T:1861825552   ERROR: IndexError: list index out of range
19:30:01 T:1861825552   ERROR: Exception in xbianSettingWindow None

I can run xbian-config, update the package list and upgrade packages from the shell as well.

Code:
root@Yavanna ~ # xbian-config packages updatedb
1
root@Yavanna ~ # xbian-config packages list
-3
root@Yavanna ~ # dpkg-query -W xbian-package-config-shell
xbian-package-config-shell      20150227-0
root@Yavanna ~ # cat /etc/apt/sources.list
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main non-free
root@Yavanna ~ # cat /etc/apt/sources.list.d/xbian.list
deb mirror://apt.xbian.org/mirror.txt      stable  main rpi-wheezy
### deb mirror://apt.xbian.org/mirror.txt  staging main rpi-wheezy
### deb mirror://apt.xbian.org/mirror.txt  devel   main rpi-wheezy

Anything else I can do?
I have the exactly same problem. Did same steps but nothing helped so far Sad
Hi,
my sources.list looks like this:
deb http://mirrordirector.raspbian.org/raspbian/ wheezy main non-free rpi
deb http://apt.xbian.org stable main

Maybe this helps?
Tried your values, still doesn't work though. I just noticed that there's a new update to xbian-update available, maybe that helps, gonna try that now.
Reference URL's