Closed farreres closed 15 years ago
Now that's odd!
Could you please post your log file? And try running python arbitrator.py
from within the daemon's directory, does that make any difference?
I don't know why did this happen. Now it is not happening anymore, although I have been moved from one host to another. Perhaps some environment variable badly set or anything.
File Conveyor does not depend at all on environment variables. Not sure what caused this. Glad that it's solved though :)
I am having similar trouble with the transporters being reported as not found.
2010-09-30 16:11:10,046 - Arbitrator - ERROR - The Transporter module 'transporters.transporter_cf' could not be found. <class 'main.TransporterAvailabilityTestError'> Consult the log file for details
The log shows:
2010-09-30 15:58:13,585 - Arbitrator - WARNING - Arbitrator is initializing. 2010-09-30 15:58:13,585 - Arbitrator - INFO - Loading config file. 2010-09-30 15:58:13,587 - Arbitrator.Config - INFO - Parsing sources. 2010-09-30 15:58:13,587 - Arbitrator.Config - INFO - Parsing servers. 2010-09-30 15:58:13,587 - Arbitrator.Config - INFO - Parsing rules. 2010-09-30 15:58:13,587 - Arbitrator - WARNING - Loaded config file. 2010-09-30 15:58:13,971 - Arbitrator - ERROR - The Transporter module 'transporters.transporter_cf' could not be found.
Sadly, not seeming all that informative.
I am on Dreamhost (which farreres also seemed to be). Have a python virtualenv running 2.5.2 and have installed pyinotify 0.9.0 . .pyc files are being generated for the transporters I have tried...ftp and cf.
Any insight or ideas on things to check would be most welcome.
Yes I'm getting the same error. "ERROR - The Transporter module 'transporters.transporter_ftp' could not be found."
I'm on a Mac 10.5.8 "Python 2.5.1 (r251:54863, Feb 6 2009, 19:02:12)".
Also if "
Try calling arbitrator.py from within the same directory and see if that works — if it does, then that means something is wrong with File Conveyor's path handling.
I.e. you should change directories until you can type the following command: python arbitrator.py
.
I encountered this problem and tracked it down to a more recent version of django being installed on the system.
I changed 1 line in arbitrator.py to fix:
Remove:
sys.path.append(os.path.abspath(os.path.join(sys.path[0], 'dependencies')))
And replace with:
sys.path.insert(1,os.path.abspath(os.path.join(sys.path[0], 'dependencies')))
@aljosh: thanks for the detective work! Could you maybe fork this project, make the changes and then do a pull request? :)
Sure, I can try that when I make it back to the project I was working on (integrating cloudfiles with our website).
This is the error
ERROR - The Transporter module 'transporters.transporter_ftp' could not be found.
May it be caused by some problem in the configuration? When I check transporters directory I see ftp has pyc extension so I understand it has been found and byte compiled.