Discussions
Activity
Sign In
How it works
Airtime Support
airtime-media-monitor
Vote Up
0
Vote Down
Fred Percevault
May 2012
Posts: 53
Member
Dear all,
sorry to bother you again
:(
i have changed my watched folder
but media monitor fail when scanning my folder/
I've made run "airtime-media-monitor restart"
I'm wondering what's about read-write right for media folder ?
www-data 0755 or www-data 2755 ?
let's have a look to my media-monitor logs :
2012-05-17 17:47:03,048 INFO - [MainThread] [airtimenotifier.py : init_rabbit_mq()] : LINE 38 - Initializing RabbitMQ stuff
2012-05-17 17:47:03,059 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-05-17 17:47:03,060 DEBUG - [MainThread] [connection.py : _open_ok()] : LINE 507 - Open OK! known_hosts [mydomain.net:5672]
2012-05-17 17:47:03,060 DEBUG - [MainThread] [channel.py : __init__()] : LINE 70 - using channel_id: 1
2012-05-17 17:47:03,060 DEBUG - [MainThread] [channel.py : _open_ok()] : LINE 484 - Channel open
2012-05-17 17:47:03,062 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 79 - Added watch to /home/subflow/airtime-music/
2012-05-17 17:47:03,062 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 80 - wdd result 1
2012-05-17 17:47:03,063 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 84 - Added watch to /home/subflow/separate/
2012-05-17 17:47:03,063 INFO - [MainThread] [MediaMonitor.py : <module>()] : LINE 85 - wdd result 5
2012-05-17 17:47:03,070 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 95 - Exception: 'ascii' codec can't decode byte 0xe4 in position 21: ordinal not in range(128)
2012-05-17 17:47:03,070 ERROR - [MainThread] [MediaMonitor.py : <module>()] : LINE 96 - traceback: Traceback (most recent call last):
File "/usr/lib/airtime/media-monitor/MediaMonitor.py", line 83, in <module>
wdd = notifier.watch_directory(dir)
File "/usr/lib/airtime/media-monitor/airtimefilemonitor/airtimenotifier.py", line 184, 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 294, in walk
for x in walk(path, topdown, onerror, followlinks):
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 70, in join
path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe4 in position 21: ordinal not in range(128)
Post edited by Fred Percevault at 2012-05-17 15:20:19
1 Comment
sorted by
Votes
Date Added
Vote Up
0
Vote Down
Martin Konecny
May 2012
Posts: 1,860
Member
Hi Fred,
Media Monitor in Airtime 2.0.x had some problems with Unicode filenames. Most if not all of these problems are fixed in 2.1.0 which will have an Release Candidate next week. If you are interested, 2.1.0 beta6 is also available here:
http://sourceforge.net/projects/airtime/files/2.1.0-beta6/
Airtime Pro Hosting:
http://airtime.pro
Add a Comment
Start a New Discussion
Howdy, Stranger!
It looks like you're new here. If you want to get involved, click one of these buttons!
Sign In
Apply for Membership
Categories
All Discussions
8,397
Sourcefabric
↳
Announcements
25
Newscoop
↳
Newscoop Support
2,189
↳
Newscoop Development
722
↳
Newscoop Security
13
↳
Newscoop Documentation
17
↳
Newscoop Themes
69
Airtime
↳
Airtime Support
3,139
↳
Airtime Development
1,286
↳
Airtime Français
146
↳
Airtime Documentation
14
↳
Airtime Hacks
102
↳
Promote your station!
37
↳
Airtime Security
11
Booktype
↳
Booktype Support
277
↳
Booktype Development
55
↳
Booktype Documentation
7
Superdesk
↳
Superdesk Development
264
↳
Web Publisher
21
Poll
No poll attached to this discussion.
Top Posters
Albert FR
1978
Martin Konecny
1860
Andrey Podshivalov
1526
Voisses Tech
1423
John Chewter
899
Daniel James
844
Roger Wilco
784
hoerich
627
Paul Baranowski
389
Cliff Wang
339