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

Setting up File Conveyor on Mac OSX, issues with Macports #37

Closed jmparsons closed 13 years ago

jmparsons commented 13 years ago

I had spent quite a bit of time trying to get File Conveyor to work on a Mac using a Macports version of Python, Python 2.5.*. After getting all the dependencies installed for what I was doing, the conveyor wouldn't fully startup, but there was no errors as to why it wasn't completing. Macports Py25 was giving me crazy numbers for my mac version. Importing and check platform.mac_ver() was returning a tuple with:

('4294967306.4294967302.4294967300', ('', '', ''), '')

The conveyor was stopping after trying to return the fs monitor by checking my Mac version. After removing the Darwin check lines in fsmonitory.py, I ran the arbitrator and found out FSEvents wasn't installed, and isn't available for anything but Py26. I ended up reverting to Apple Python 2.6 - python_select python26-apple and trying again. I already had the majority of dependencies installed including the egg, and it wound up working perfectly.

wimleers commented 13 years ago

This is now documented at https://github.com/wimleers/fileconveyor/wiki/Platform-specific-notes.