micahsoft/mythbox

'NoneType' object ha no attribute 'ipAddress'

Closed this issue · 0 comments

What steps will reproduce the problem?
1. compile xbmc from source
2. add mythbox addon
3. start mythbox

What is the expected output? What do you see instead?
Errot:onInit
'NoneType' object ha no attribute 'ipAddress with a Ok button.

When pressing test settings under settings menu nothing happends.

What version of the product are you using? On what operating system?
Starting XBMC (11.0-PRE Git:20120217-f6c6361), Platform: Linux (Ubuntu 10.10, 
2.6.35-28-generic-pae i686). Built on Feb 18 2012

mythbox 1.1.0

Please provide any additional information below.

Enable mythbox logging, no log file is created.

xbmc.log
21:22:14 T:2794543984   ERROR: util.py:268 | MainThread | CATCHALL_UI: Caught 
<type 'exceptions.AttributeError'> exception 'NoneType' object has no attribute 
'ipAddress' on method onInit
                                            Traceback (most recent call last):
                                              File "/home/myth_vrum/.xbmc/addons/script.mythbox/resources/src/mythbox/util.py", line 265, in catchall_ui
                                                return func(*args, **kw)
                                              File "/home/myth_vrum/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/home.py", line 88, in onInit
                                                self.startup()
                                              File "<string>", line 1, in <lambda>
                                              File "/home/myth_vrum/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/toolkit.py", line 199, in window_busy
                                                result = func(*args, **kwargs)
                                              File "/home/myth_vrum/.xbmc/addons/script.mythbox/resources/src/mythbox/ui/home.py", line 164, in startup
                                                self.settings.verify()
                                              File "/home/myth_vrum/.xbmc/addons/script.mythbox/resources/src/mythbox/settings.py", line 203, in verify
                                                self.verifyMythTVConnectivity()
                                              File "/home/myth_vrum/.xbmc/addons/script.mythbox/resources/src/mythbox/settings.py", line 223, in verifyMythTVConnectivity
                                                raise SettingsException('Connection to MythTV host %s failed: %s' % (db.getMasterBackend().ipAddress, ex))
                                            AttributeError: 'NoneType' object has no attribute 'ipAddress'
*****
In mythbackend.log no access attempt can bee seen, 
In xbmc myth:// can be used to watch LiveTv

Original issue reported on code.google.com by ulbj125...@gmail.com on 20 Feb 2012 at 8:45