'Scanning files' never ends in Windows

Bug #593378 reported by mimi
18
This bug affects 3 people
Affects Status Importance Assigned to Milestone
SubDownloader
Confirmed
Undecided
Unassigned

Bug Description

In Windows Vista, with version 2.0.10 from source, when I select a folder from the left pane, it starts 'Scanning...' but never ends. I have to manually select a specific video to search for subs.
Also in Windows Vista, already reported, the settings window never appears.

P.S. where can I get the source from version 2.0.9.3, which seems to work much better than 2.0.10. tks

Revision history for this message
Tomer Levi (tmrlvi) wrote :

What is written in the log?
Where does it searches?

Revision history for this message
Dorneles Tremea (dtremea) wrote :

Ok, I've tracked down this issue... I'm not sure why, but the 2.0.10 tar.gz file doesn't contains the mmpython folder, so when you click in any folder in the left panel it logs an exception like this:

No handlers could be found for logger "subdownloader.modules.metadata"
Traceback (most recent call last):
  File "C:\Program Files\subdownloader\gui\main.py", line 925, in onFolderTreeClicked
    self.SearchVideos(folder_path)
  File "C:\Program Files\subdownloader\gui\main.py", line 762, in SearchVideos
    videos_found,subs_found = FileScan.ScanFilesFolders(path,recursively = True,report_progress = self.progress)
  File "C:\Program Files\subdownloader\FileManagement\FileScan.py", line 43, in ScanFilesFolders
    videos_found, subs_found = ScanFolder(path,recursively = True,report_progress=report_progress, progress_end=progress_end)
  File "C:\Program Files\subdownloader\FileManagement\FileScan.py", line 85, in ScanFolder
    if metadata.parse(filepath):
  File "C:\Program Files\subdownloader\modules\metadata.py", line 17, in parse
    return metadata.parse(filepath)
NameError: global name 'metadata' is not defined

Workaround: download the 2.0.9.3 tar.gz file and get the modules\mmpython folder from it... ;-)

Question: was the folder intentionally removed out of 2.0.10 release, or is this just a packaging issue?

Changed in subdownloader:
status: New → Confirmed
Revision history for this message
Sciamano (sciamano72) wrote :

Thanks Dorneles!
But where can the source for v2.0.9.3 be downloaded? I can't find it here on launchpad... :-(
Thanks!!

Revision history for this message
Sciamano (sciamano72) wrote :

Ok, I've downloaded the trunk files and everything now works fine (except for the wrong warning regarding a new version, when the program starts! but that's nothing important)

Thanks a lot Dorneles!!!

Revision history for this message
Dorneles Tremea (dtremea) wrote :

Sciamano, to avoid the version warning, edit the modules\__init__.py file and bump the version from 2.0.10 to 2.0.11...

Wild guess: for some reason, someone updated the latest released version without releasing a 2.0.11 version... :-)

Revision history for this message
Sciamano (sciamano72) wrote : Re: [Bug 593378] Re: 'Scanning files' never ends

Thanks, it works perfectly now!
You are my new hero! :-)

On Tue, Aug 3, 2010 at 7:56 PM, Dorneles Tremea <email address hidden> wrote:
> Sciamano, to avoid the version warning, edit the modules\__init__.py
> file and bump the version from 2.0.10 to 2.0.11...
>
> Wild guess: for some reason, someone updated the latest released version
> without releasing a 2.0.11 version... :-)

summary: - 'Scanning files' never ends
+ 'Scanning files' never ends in Windows
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Related questions

Remote bug watches

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