error when downloading sub

Bug #582215 reported by djodjo
30
This bug affects 6 people
Affects Status Importance Assigned to Milestone
SubDownloader
Invalid
Undecided
Unassigned

Bug Description

When i try to download i'm having this error...

joaojose@server:~$ subdownloader -c -V /media/hd1/Torrents/Complete/ --lang=pob
/usr/lib/python2.6/dist-packages/kaa/metadata/disc/cdrom.py:37: DeprecationWarning: the md5 module is deprecated; use hashlib instead
  import md5
[12:45] INFO::subdownloader.cli.main # Scanning /media/hd1/Torrents/Complete/ ...
[12:45] INFO::metadata # No Type found by Extension (.avi). Trying all parsers. ] 34% ETA: 00:00:03
[12:45] INFO::metadata # Invalid header
[12:45] INFO::metadata # trying mpeg-pes scan
[12:45] INFO::metadata # No Type found by Extension (.vid). Trying all parsers.>>>>>>>>>>>>>>>>> ] 59% ETA: 00:00:02
[12:45] INFO::metadata # Invalid header
[12:45] INFO::metadata # trying mpeg-pes scan
[12:45] INFO::metadata # No Type found by Extension (.vid). Trying all parsers.>>>>>>>>>>>>>>>>>>> ] 60% ETA: 00:00:02
[12:45] INFO::metadata # Invalid header
[12:45] INFO::metadata # trying mpeg-pes scan
[12:45] INFO::metadata # No Type found by Extension (.vid). Trying all parsers.>>>>>>>>>>>>>>>>>>>> ] 61% ETA: 00:00:02
[12:45] INFO::metadata # Invalid header
[12:45] INFO::metadata # trying mpeg-pes scan
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]100% Time: 00:00:06
[12:45] INFO::subdownloader.cli.main # Videos found: 93 Subtitles found: 73
[12:45] INFO::subdownloader.cli.main # Looks like some of your videos might need subtitles :)
[12:45] INFO::subdownloader.cli.main # Starting subtitle search, please wait...
[>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>]100% Time: 00:00:19
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
{'96862': <modules.subtitlefile.SubtitleFile object at 0x987810c>, '3083780': <modules.subtitlefile.SubtitleFile object at 0x987814c>, '3292090': <modules.subtitlefile.SubtitleFile object at 0x987826c>, '27601': <modules.subtitlefile.SubtitleFile object at 0x987848c>, '3089195': <modules.subtitlefile.SubtitleFile object at 0x9878d6c>, '3158681': <modules.subtitlefile.SubtitleFile object at 0x9878b6c>, '3149921': <modules.subtitlefile.SubtitleFile object at 0x9878e6c>}
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "Alice.In.Wonderland.2010.480p.BRRip.XviD.AC3-ViSiON.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "Alice.in.Wonderland.DVDRip.XviD-DiAMOND.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "American.Dad.S05E18.HDTV.XviD-LOL.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "Amerrika [DVDRip][Castellano][WwW.EstrenosMix.CoM].avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "beeswax.xvid-lpd.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "sample.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "CSI.Miami.S07E01.HDTV.XviD-NoTV.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "CSI.Miami.S07E02.HDTV.XviD-LOL.avi". Maybe you already have it?
[12:46] INFO::subdownloader.cli.filter # No subtitle was downloaded "CSI.Miami.S07E03.HDTV.XviD-LOL.avi". Maybe you already have it?
Traceback (most recent call last):
  File "/usr/bin/subdownloader", line 79, in <module>
    cli.start_session()
  File "/usr/share/subdownloader/cli/main.py", line 107, in start_session
    self.handle_operation(self.options.operation)
  File "/usr/share/subdownloader/cli/main.py", line 156, in handle_operation
    self.DownloadSubtitles(_filter.subtitles_to_download())
  File "/usr/share/subdownloader/modules/filter.py", line 33, in subtitles_to_download
    self.log.debug("- adding: %s: %s"% (subtitle.getIdFileOnline(), subtitle.getFileName()))
  File "/usr/share/subdownloader/modules/subtitlefile.py", line 73, in getIdFileOnline
    return self._onlineFileId
AttributeError: 'SubtitleFile' object has no attribute '_onlineFileId'

Revision history for this message
Johan Bergquist (johan-bergquist) wrote :

Have the same problem.
But if I remove all textfiles, the subtitlefiles and run the command again I get no errors. Havent had the time to debug it and write a patch but will do as soon as possible.

Revision history for this message
Michael Baudino (gornack) wrote :

Hello,

I'd just like to confirm that I'm having the exact same error message.
If you need me to run any test, feel free to ask.

Changed in subdownloader:
status: New → Confirmed
Revision history for this message
Alessandro Losavio (alo21) wrote :

This bug does not persist anymore after upgrades and the bug report is too old, so I set this bug as 'Invalid'

Changed in subdownloader:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.