Thread: find_orphans.py syntax error line 27

Reply to Thread
Results 1 to 4 of 4
  1. Default find_orphans.py syntax error line 27 #1
    nitmd1 is offline MythTV Rookie
    Join Date
    Jan 2013
    Posts
    2
    MythTV Gallery
    0
    I'm trying to clean up my myth installation, and tried running this script without success. I keep getting an error that designates the second ' in the following line as a syntax error. I don't know much about python, but I can't find any obvious error such as a missing item of a pair or such.

    Code:
    print u'  {0:<90}{1:>8}'.format(name, human_size(self.size))
    Running mythtv 26 and python 3.3

    Reply With Quote  

  2. Default #2
    wagnerrp is offline Cornerstone of the Community
    Join Date
    Mar 2010
    Posts
    2,267
    IRC Nick
    wagnerrp
    Distribution
    FreeBSD, Gentoo
    MythTV Version
    trunk
    MythTV Gallery
    0
    The MythTV Python bindings do not work with Python 3.3. You should not have even been able to install them against Python 3.3.


    Reply With Quote  

  3. Default #3
    nitmd is offline MythTV Friend in Training
    Join Date
    May 2006
    Posts
    12
    MythTV Gallery
    0
    ok, I just copied the script in and tried to run it. I really don't even know what your response means, other than this won't work. What exactly are bindings?


    Reply With Quote  

  4. Default #4
    wagnerrp is offline Cornerstone of the Community
    Join Date
    Mar 2010
    Posts
    2,267
    IRC Nick
    wagnerrp
    Distribution
    FreeBSD, Gentoo
    MythTV Version
    trunk
    MythTV Gallery
    0
    It means you must use Python 2.6 or Python 2.7.


    Reply With Quote  

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

     

Similar Threads

  1. myth.find_orphans.pl
    By garyg in forum General
    Replies: 6
    Last Post: 11-04-2010, 01:50 AM
  2. myth.find_orphans.pl
    By theophile in forum General
    Replies: 0
    Last Post: 06-13-2008, 06:56 PM
  3. Black line at top of image and line scanning
    By jaymode in forum Ivtv Issues
    Replies: 1
    Last Post: 01-26-2007, 05:43 PM
  4. syntax error on line 680 of install scrip of step 5/5
    By LAVEC in forum Installation Issues
    Replies: 1
    Last Post: 12-25-2005, 01:06 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts