home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
Graveyard
Black & White 1080p
Change and remove items from Basichome
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="z3r0_burn" data-source="post: 389860" data-attributes="member: 85451"><p>I tried to use fmarcia python script and I get the the following error:</p><p>C:\Documents and Settings\Owner>"C:\Program Files\Team MediaPortal\MediaPortal\skin\Black & White 1080\BasicHomer.py"</p><p>Traceback (most recent call last):</p><p> File "C:\Program Files\Team MediaPortal\MediaPortal\skin\Black & White 1080\BasicHomer.py", line 226, in <module></p><p> if not home.has_key(x + 1):</p><p>AttributeError: 'dict' object has no attribute 'has_key'</p><p></p><p>That section of code is below:</p><p># normalize 'home'</p><p>newhome = {}</p><p>for x in range(12):</p><p> if not home.has_key(x + 1): <<-- this is line 226 that is having problems</p><p> newhome[x + 1] = None</p><p> else:</p><p> newhome[x + 1] = home[x + 1]</p><p>home = newhome</p><p></p><p>Can someone please help me? All I did was download, extract and execute with all default settings. I didn't even change anything in the script before executing just to make sure it worked properly first.</p></blockquote><p></p>
[QUOTE="z3r0_burn, post: 389860, member: 85451"] I tried to use fmarcia python script and I get the the following error: C:\Documents and Settings\Owner>"C:\Program Files\Team MediaPortal\MediaPortal\skin\Black & White 1080\BasicHomer.py" Traceback (most recent call last): File "C:\Program Files\Team MediaPortal\MediaPortal\skin\Black & White 1080\BasicHomer.py", line 226, in <module> if not home.has_key(x + 1): AttributeError: 'dict' object has no attribute 'has_key' That section of code is below: # normalize 'home' newhome = {} for x in range(12): if not home.has_key(x + 1): <<-- this is line 226 that is having problems newhome[x + 1] = None else: newhome[x + 1] = home[x + 1] home = newhome Can someone please help me? All I did was download, extract and execute with all default settings. I didn't even change anything in the script before executing just to make sure it worked properly first. [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
MediaPortal 1 Skins
Popular Skins
Graveyard
Black & White 1080p
Change and remove items from Basichome
Contact us
RSS
Top
Bottom