SyntaxError at indexing #38

Closed
vulture20 opened this Issue Mar 19, 2013 · 2 comments

3 participants

@vulture20

Whenever i try to run the indexer i'm getting the following error:

Traceback (most recent call last):
  File "indexer.py", line 196, in <module>
    lola.run()
  File "indexer.py", line 181, in run
    self.walk(mdir)
  File "indexer.py", line 167, in walk
    self.walk(self.file_path)
  File "indexer.py", line 167, in walk
    self.walk(self.file_path)
  File "indexer.py", line 169, in walk
    if self.is_track():
  File "indexer.py", line 154, in is_track
    if not self.get_id3_reader().is_valid():
  File "indexer.py", line 137, in get_id3_reader
    self.id3r = ID3Manager(self.file_path)
  File "/opt/shiva-server/shiva/utils.py", line 53, in __init__
    self.reader = eyed3.load(mp3_path)
  File "/usr/local/lib/python2.6/dist-packages/eyed3/core.py", line 50, in load
    from . import mp3, id3
  File "/usr/local/lib/python2.6/dist-packages/eyed3/mp3/__init__.py", line 22, in <module>
    from .. import id3
  File "/usr/local/lib/python2.6/dist-packages/eyed3/id3/__init__.py", line 487, in <module>
    from .tag import Tag, FileInfo, TagException, TagTemplate
  File "/usr/local/lib/python2.6/dist-packages/eyed3/id3/tag.py", line 932
    date_frames = {f.id: f for f in flist if f.id in DEPRECATED_DATE_FIDS}\
                             ^
SyntaxError: invalid syntax

I'm not sure if this is an issue with the eyed3-library. It was installed via pip and your requirements.pip. I already tried to fix this error, but i'm not really into python.

@dbrgn
Collaborator

This is a Python 2.6 incompatibility in the EyeD3 library, as discussed in #27. This should get fixed with #47.

@tooxie
Owner

#47 was just merged. Marking this as fixed.

@tooxie tooxie closed this Apr 20, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment