Media monitor import error
  • Does anyone know why the Airtime 2.5.1-6 media monitor causes this
    error? It's creating all sorts of problems importing recorded and
    uploaded shows:

    2016-11-07 11:23:00,193 INFO - [Thread-2]
    [listeners.py : flush_events()] : LINE 62 - Bootstrapping: File in
    'organize' directory:                    
    '/mnt/airtime/stor/organize/my.mp3'
    2016-11-07 11:23:00,952 INFO -
    [Thread-2] [owners.py : get_owner()] : LINE 12 - Received owner for
    /mnt/airtime/stor/organize/my.mp3. Owner: -1
    2016-11-07 11:23:00,953
    INFO - [Thread-2] [events.py : __init__()] : LINE 96 - did not match
    path: /mnt/airtime/stor/organize/my.mp3
    2016-11-07 11:23:01,111 INFO -
    [Thread-2] [manager.py : __add_watch()] : LINE 100 - Attempting to add
    listener to path '/mnt/airtime/stor/imported/unknown/unknown'
    2016-11-07
    11:23:01,112 INFO - [Thread-2] [manager.py : __add_watch()] : LINE 101 -
    Listener: Listener(StoreWatchListener), Signal(hosted_install_watch)
    2016-11-07
    11:23:01,338 INFO - [Thread-1] [owners.py : get_owner()] : LINE 12 -
    Received owner for
    /mnt/airtime/stor/imported/2/unknown/unknown/unknown-my-256kbps.mp3.
    Owner: -1
    2016-11-07 11:23:01,342 INFO - [Thread-1] [events.py :
    __init__()] : LINE 93 - matched path:
    /mnt/airtime/stor/imported/2/unknown/unknown/unknown-my-256kbps.mp3
    2016-11-07
    11:23:01,369 INFO - [Thread-1] [watchersyncer.py : handle()] : LINE 65 -
    Received event 'NewFile'. Path:
    '/mnt/airtime/stor/imported/2/unknown/unknown/unknown-my-256kbps.mp3'
    2016-11-07 11:23:01,370 INFO - [Thread-1] [watchersyncer.py : push_queue()] : LINE 97 - Added event into queue
    2016-11-07 11:23:01,700 ERROR - [Thread-2] [log.py : fatal_exception()] : LINE 33 - 'Unexpected' exception has occured:
    2016-11-07
    11:23:01,747 ERROR - [Thread-2] [log.py : fatal_exception()] : LINE 34 -
    [Errno 2] No such file or directory:
    u'/mnt/airtime/stor/organize/my.mp3'
    2016-11-07 11:23:01,757 ERROR - [Thread-2] [log.py : fatal_exception()] : LINE 35 - Traceback (most recent call last):
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/organizer.py", line 71, in handle
        after_dir_make=new_dir_watch(dirname(new_path)))
      File "/usr/lib/airtime/media-monitor/mm2/media/monitor/pure.py", line 183, in magic_move
        shutil.move(old,new)
      File "/usr/lib/python2.7/shutil.py", line 301, in move
        copy2(src, real_dst)
      File "/usr/lib/python2.7/shutil.py", line 130, in copy2
        copyfile(src, dst)
      File "/usr/lib/python2.7/shutil.py", line 82, in copyfile
        with open(src, 'rb') as fsrc:
    IOError: [Errno 2] No such file or directory: u'/mnt/airtime/stor/organize/my.mp3'

    Post edited by James Dunn at 2016-11-07 08:11:41