[mythtv-commits] Ticket #9279: Mirobridge failure with Python 2.7 and oursql

MythTV mythtv at cvs.mythtv.org
Tue Nov 23 21:01:02 UTC 2010


#9279: Mirobridge failure with Python 2.7 and oursql
-------------------------+--------------------------------------------------
 Reporter:  anonymous    |            Type:  Bug Report      
   Status:  new          |        Priority:  minor           
Milestone:  unknown      |       Component:  MythTV - General
  Version:  Unspecified  |        Severity:  medium          
 Keywords:               |   Ticket locked:  0               
-------------------------+--------------------------------------------------
 I'm testing Fedora 14 with trunk revision 27314. Per commit 27184
 regarding Python 2.7 I have installed ousql (with the patch at
 https://bugs.launchpad.net/oursql/+bug/672059) and set the ENABLE_OURSQL
 environment variable. It appears that oursql is found and utilized,
 however, mirobridge errors running at configuration test with:

 $ python /usr/share/doc/mythtv-
 docs-0.24/contrib/imports/mirobridge/mirobridge.py -t
 2010-11-23 15:52:49,044 - mirobridge - INFO - Using python library
 'pyparsing' version 1.5.5
 2010-11-23 15:52:49,777 - mirobridge - INFO - Miro Bridge version v0.6.6
 with Miro version 3.5
 2010-11-23 15:52:49,779 - mirobridge - INFO - Using
 mirobridge_interpreter_3_5_0
 2010-11-23 15:52:49,870 - mirobridge - INFO -
 Traceback (most recent call last):
   File "/usr/share/doc/mythtv-
 docs-0.24/contrib/imports/mirobridge/mirobridge.py", line 2649, in
 <module>
     main()
   File "/usr/share/doc/mythtv-
 docs-0.24/contrib/imports/mirobridge/mirobridge.py", line 2137, in main
     if getStorageGroups() == False:
   File "/usr/share/doc/mythtv-
 docs-0.24/contrib/imports/mirobridge/mirobridge.py", line 659, in
 getStorageGroups
     if dirname[-1:] == u'/':
 UnboundLocalError: local variable 'dirname' referenced before assignment

-- 
Ticket URL: <http://svn.mythtv.org/trac/ticket/9279>
MythTV <http://www.mythtv.org/>
MythTV Media Center


More information about the mythtv-commits mailing list