Hello,I have aproblemwith playlists, whichdoes not showany songs,while attempting tomanuallyload thesongtoappearin the playlist.I attach thelog from themedia-monitor
logafter restartingmedia-monitor *** Media Monitor bootup ***
2012-08-31 12:31:51,315 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 31 - Before ANSI_X3.4-1968 2012-08-31 12:31:51,315 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 35 - No locale currently set. Attempting to get default locale. 2012-08-31 12:31:51,315 INFO - [MainThread] [media_monitor.py : configure_locale()] : LINE 50 - New locale set to: en_US.UTF8 2012-08-31 12:31:51,315 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 57 - sys default encoding UTF-8 2012-08-31 12:31:51,316 DEBUG - [MainThread] [media_monitor.py : configure_locale()] : LINE 58 - After UTF-8 2012-08-31 12:31:51,522 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 88 - Setting up monitor 2012-08-31 12:31:51,724 INFO - [MainThread] [api_client.py : setup_media_monitor()] : LINE 398 - Connected to Airtime Server. Json Media Storage Dir: {u'watched_dirs': [u'/home/music/archiv/'], u'stor': u'/srv/airtime/stor/'} 2012-08-31 12:31:56,729 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 96 - Storage Directory is: /srv/airtime/stor/ 2012-08-31 12:31:56,734 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 109 - Initializing event processor 2012-08-31 12:31:56,801 INFO - [MainThread] [airtimemediamonitorbootstrap.py : __init__()] : LINE 30 - Adding /etc on watch list... 2012-08-31 12:31:56,999 INFO - [MainThread] [airtimemediamonitorbootstrap.py : scan()] : LINE 47 - watched directories found: {u'1': u'/srv/airtime/stor/', u'2': u'/home/music/archiv/'} 2012-08-31 12:31:56,999 DEBUG - [MainThread] [airtimemediamonitorbootstrap.py : scan()] : LINE 50 - 1, /srv/airtime/stor/ 2012-08-31 12:31:57,212 DEBUG - [MainThread] [mediamonitorcommon.py : scan_dir_for_new_files()] : LINE 291 - find "/srv/airtime/stor/" -iname "*.ogg" -o -iname "*.mp3" -type f -readable 2012-08-31 12:31:57,219 DEBUG - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 125 - find /srv/airtime/stor/ -iname '*.ogg' -o -iname '*.mp3' -type f -readable -mmin -14 2012-08-31 12:31:57,226 INFO - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 151 - Deleted files: set([])
2012-08-31 12:31:57,227 INFO - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 152 - New files: set([u'imported/RaDiOtOP.Cz/jingly.radiotop.cz/Upoutavka na webove stranky-128kbps.mp3'])
2012-08-31 12:31:57,227 INFO - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 153 - Modified files: set([])
2012-08-31 12:31:57,228 DEBUG - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 168 - new file 2012-08-31 12:31:57,228 DEBUG - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 170 - /srv/airtime/stor/imported/RaDiOtOP.Cz/jingly.radiotop.cz/Upoutavka na webove stranky-128kbps.mp3 2012-08-31 12:31:57,228 DEBUG - [MainThread] [airtimeprocessevent.py : handle_created_file()] : LINE 137 - PROCESS_IN_CLOSE_WRITE: False, name: Upoutavka na webove stranky-128kbps.mp3, pathname: /srv/airtime/stor/imported/RaDiOtOP.Cz/jingly.radiotop.cz/Upoutavka na webove stranky-128kbps.mp3 2012-08-31 12:31:57,229 DEBUG - [MainThread] [airtimemediamonitorbootstrap.py : scan()] : LINE 50 - 2, /home/music/archiv/ 2012-08-31 12:31:57,531 DEBUG - [MainThread] [mediamonitorcommon.py : scan_dir_for_new_files()] : LINE 291 - find "/home/music/archiv/" -iname "*.ogg" -o -iname "*.mp3" -type f -readable 2012-08-31 12:31:57,562 ERROR - [MainThread] [mediamonitorcommon.py : exec_command()] : LINE 285 - Could not decode None using UTF-8 2012-08-31 12:31:57,563 DEBUG - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 125 - find /home/music/archiv/ -iname '*.ogg' -o -iname '*.mp3' -type f -readable -mmin -1 2012-08-31 12:31:57,588 INFO - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 151 - Deleted files: set([])
2012-08-31 12:31:57,589 INFO - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 152 - New files: set([])
2012-08-31 12:31:57,589 INFO - [MainThread] [airtimemediamonitorbootstrap.py : sync_database_to_filesystem()] : LINE 153 - Modified files: set([])
2012-08-31 12:31:57,590 INFO - [MainThread] [airtimenotifier.py : init_rabbit_mq()] : LINE 46 - Initializing RabbitMQ stuff 2012-08-31 12:31:57,671 DEBUG - [MainThread] [connection.py : _start()] : LINE 661 - Start from server, version: 8.0, properties: {u'platform': u'Erlang/OTP', u'product': u'RabbitMQ', u'version': u'1.8.1', u'copyright': u'Copyright (C) 2007-2010 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.', u'information': u'Licensed under the MPL. See http://www.rabbitmq.com/'}, mechanisms: [u'PLAIN', u'AMQPLAIN'], locales: [u'en_US'] 2012-08-31 12:31:57,674 DEBUG - [MainThread] [connection.py : _open_ok()] : LINE 507 - Open OK! known_hosts [ns.radiotop.cz:5672] 2012-08-31 12:31:57,675 DEBUG - [MainThread] [channel.py : __init__()] : LINE 70 - using channel_id: 1 2012-08-31 12:31:57,677 DEBUG - [MainThread] [channel.py : _open_ok()] : LINE 484 - Channel open 2012-08-31 12:31:57,687 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 129 - Added watch to /srv/airtime/stor/ 2012-08-31 12:31:57,687 INFO - [MainThread] [media_monitor.py : <module>()] : LINE 130 - wdd result 2 2012-08-31 12:31:57,688 ERROR - [MainThread] [media_monitor.py : <module>()] : LINE 143 - Exception: 'utf8' codec can't decode byte 0xe8 in position 4: invalid continuation byte 2012-08-31 12:31:57,692 ERROR - [MainThread] [media_monitor.py : <module>()] : LINE 144 - traceback: Traceback (most recent call last): File "/usr/lib/airtime/media-monitor/media_monitor.py", line 133, in <module> wdd = notifier.watch_directory(dir) File "/usr/lib/airtime/media-monitor/airtimefilemonitor/airtimenotifier.py", line 199, in watch_directory return self.wm.add_watch(directory, self.mask, rec=True, auto_add=True) File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/pyinotify.py", line 1887, in add_watch for rpath in self.__walk_rec(apath, rec): File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/site-packages/pyinotify.py", line 2075, in __walk_rec for root, dirs, files in os.walk(top): File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/os.py", line 284, in walk if isdir(join(top, name)): File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/posixpath.py", line 68, in join path += b File "/usr/lib/airtime/airtime_virtualenv/lib/python2.6/encodings/utf_8.py", line 16, in decode return codecs.utf_8_decode(input, errors, True) UnicodeDecodeError: 'utf8' codec can't decode byte 0xe8 in position 4: invalid continuation byte
The problem wasresolved byreinstalling
Post edited by Pavel Kučera at 2012-09-01 05:47:26