wimleers / fileconveyor

File Conveyor is a daemon written in Python to detect, process and sync files. In particular, it's designed to sync files to CDNs. Amazon S3 and Rackspace Cloud Files, as well as any Origin Pull or (S)FTP Push CDN, are supported. Originally written for my bachelor thesis at Hasselt University in Belgium.
https://wimleers.com/fileconveyor
The Unlicense
341 stars 95 forks source link

UnicodeDecodeError #169

Open errogaht opened 9 years ago

errogaht commented 9 years ago

Wim, please help, its not work!!!!!!!!!!!!!

python arbitrator.py
/root/src/fileconveyor/fileconveyor/filter.py:10: DeprecationWarning: the sets module is deprecated
  from sets import Set, ImmutableSet
2014-12-12 12:44:06,447 - Arbitrator                - WARNING  - File Conveyor is initializing.
2014-12-12 12:44:06,449 - Arbitrator                - WARNING  - Loaded config file.
2014-12-12 06:44:07,083 - Arbitrator                - WARNING  - Created 'ftp' transporter for the 'Selectel' server.
2014-12-12 06:44:07,083 - Arbitrator                - WARNING  - Server connection tests succesful!
2014-12-12 06:44:07,084 - Arbitrator                - WARNING  - Setup: created transporter pool for the 'Selectel' server.
2014-12-12 06:44:07,085 - Arbitrator                - WARNING  - Setup: initialized 'pipeline' persistent queue, contains 0 items.
2014-12-12 06:44:07,085 - Arbitrator                - WARNING  - Setup: initialized 'files_in_pipeline' persistent list, contains 0 items.
2014-12-12 06:44:07,086 - Arbitrator                - WARNING  - Setup: initialized 'failed_files' persistent list, contains 0 items.
2014-12-12 06:44:07,086 - Arbitrator                - WARNING  - Setup: initialized 'files_to_delete' persistent list, contains 0 items.
2014-12-12 06:44:07,086 - Arbitrator                - WARNING  - Setup: moved 0 items from the 'files_in_pipeline' persistent list into the 'pipeline' persistent queue.
2014-12-12 06:44:07,086 - Arbitrator                - WARNING  - Setup: connected to the synced files DB. Contains metadata for 0 previously synced files.
2014-12-12 06:44:07,123 - Arbitrator                - WARNING  - Setup: initialized FSMonitor.
2014-12-12 06:44:07,123 - Arbitrator                - WARNING  - Fully up and running now.
Exception in thread FSMonitorThread:
Traceback (most recent call last):
  File "/usr/lib/python2.6/threading.py", line 532, in __bootstrap_inner
    self.run()
  File "/root/src/fileconveyor/fileconveyor/fsmonitor_inotify.py", line 122, in run
    self.__process_queues()
  File "/root/src/fileconveyor/fileconveyor/fsmonitor_inotify.py", line 155, in __process_queues
    self.__add_dir(path, event_mask)
  File "/root/src/fileconveyor/fileconveyor/fsmonitor_inotify.py", line 74, in __add_dir
    wdd = self.wm.add_watch(path, event_mask_inotify, proc_fun=self.process_event, rec=True, auto_add=True, quiet=False)
  File "/usr/local/lib/python2.6/dist-packages/pyinotify.py", line 1898, in add_watch
    for rpath in self.__walk_rec(apath, rec):
  File "/usr/local/lib/python2.6/dist-packages/pyinotify.py", line 2082, in __walk_rec
    for root, dirs, files in os.walk(top):
  File "/usr/lib/python2.6/os.py", line 294, in walk
    for x in walk(path, topdown, onerror, followlinks):
  File "/usr/lib/python2.6/os.py", line 284, in walk
    if isdir(join(top, name)):
  File "/usr/lib/python2.6/posixpath.py", line 70, in join
    path += '/' + b
UnicodeDecodeError: 'ascii' codec can't decode byte 0xd0 in position 1: ordinal not in range(128)
errogaht commented 9 years ago

Please, why its not work?