Opened 14 years ago

Closed 14 years ago

Last modified 14 years ago

#8660 closed defect (fixed)

MythTV Python Bindings - Config Variable Not Set

Reported by: erik@… Owned by: Raymond Wagner
Priority: major Milestone: 0.24
Component: Bindings - Python Version: Master Head
Severity: medium Keywords:
Cc: Ticket locked: no

Description

When calling the following

db = MythDB(SecurityPin?=1234)

You get the following error ..

Traceback (most recent call last):

File "<stdin>", line 1, in <module> File "mythtv/database.py", line 908, in init

self._writeXML(dbconn)

File "mythtv/database.py", line 982, in _writeXML

fp.write(config)

NameError?: global name 'config' is not defined

Attached is a patch to fix the issue.

Attachments (1)

python.patch (370 bytes) - added by anonymous 14 years ago.

Download all attachments as: .zip

Change History (3)

Changed 14 years ago by anonymous

Attachment: python.patch added

comment:1 Changed 14 years ago by Raymond Wagner

Resolution: fixed
Status: newclosed

(In [25349]) Fixes an issue with UPNP detection introduced by excess copy/paste in r25147. Fixes #8660. Thanks to Erik Kristensen for the patch.

comment:2 Changed 14 years ago by stuartm

Milestone: unknown0.24
Note: See TracTickets for help on using tickets.