Details
-
Type:
Bug
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Component/s: Media Monitor
-
Labels:None
-
Originating Party:Developer
-
What Changed:Fixed the exception + some new logic was needed.
Description
2011-08-22 14:10:56,331 INFO - [MainThread] [airtimeprocessevent.py : process_IN_MOVED_FROM()] : LINE 97 - process_IN_MOVED_FROM: <Event cookie=3453 dir=True mask=0x40000040 maskname=IN_MOVED_FROM|IN_ISDIR name=Anthrax path=/home/martin/tmp/imported pathname=/home/martin/tmp/imported/Anthrax wd=9 >
2011-08-22 14:10:56,332 INFO - [MainThread] [airtimeprocessevent.py : process_IN_MOVED_TO()] : LINE 112 - process_IN_MOVED_TO: <Event cookie=3453 dir=True mask=0x40000080 maskname=IN_MOVED_TO|IN_ISDIR name=Anthrax2 path=/home/martin/tmp/imported pathname=/home/martin/tmp/imported/Anthrax2 src_pathname=/home/martin/tmp/imported/Anthrax wd=9 >
2011-08-22 14:10:56,333 DEBUG - [MainThread] [mediamonitorcommon.py : scan_dir_for_new_files()] : LINE 234 - find "/home/martin/tmp/imported/Anthrax2" -type f -iname "*.ogg" -o -iname "*.mp3" -readable
2011-08-22 14:10:56,344 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 87 - Exception: global name 'pathname' is not defined
2011-08-22 14:10:56,332 INFO - [MainThread] [airtimeprocessevent.py : process_IN_MOVED_TO()] : LINE 112 - process_IN_MOVED_TO: <Event cookie=3453 dir=True mask=0x40000080 maskname=IN_MOVED_TO|IN_ISDIR name=Anthrax2 path=/home/martin/tmp/imported pathname=/home/martin/tmp/imported/Anthrax2 src_pathname=/home/martin/tmp/imported/Anthrax wd=9 >
2011-08-22 14:10:56,333 DEBUG - [MainThread] [mediamonitorcommon.py : scan_dir_for_new_files()] : LINE 234 - find "/home/martin/tmp/imported/Anthrax2" -type f -iname "*.ogg" -o -iname "*.mp3" -readable
2011-08-22 14:10:56,344 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 87 - Exception: global name 'pathname' is not defined