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

python element tree not found on RHEL 5,but modules shows it's there!!! #53

Closed unixbhaskar closed 13 years ago

unixbhaskar commented 13 years ago

Hey,

I have come across this error: sudo python arbitrator.py Traceback (most recent call last): File "arbitrator.py", line 20, in ? from config import * File "/opt/fileconveyor/code/config.py", line 12, in ? import xml.etree.ElementTree as etree ImportError: No module named etree.ElementTree

scann ing modules shows me that the element tree is there!! any idea?

Thanks Bhaskar

wimleers commented 13 years ago

I'm sorry, I have no idea, definitely with so little information. Which version of Python do you have installed?

unixbhaskar commented 13 years ago

2.6 on RHEL 5

wimleers commented 13 years ago

Could you try with 2.5?

unixbhaskar commented 13 years ago

Nope Wim. But heard that one of my collegue has some success with python version 2.7. although I have't had tested it myself.Plus I am looking forward to see a sftp plug in place. We are planning to implement it on our production base.And sync between data centeres by your product.

unn commented 13 years ago

@unixbhaskar, I can confirm FC running on 2.7.

wimleers commented 13 years ago

Given that you also had Python issues in #54, I'm going to assume something is borked on your system.

An SFTP transporter has already been committed by now: see https://github.com/wimleers/fileconveyor/pull/57 :)

P.S.: please contact me directly (http://wimleers.com/contact) when you're using File Conveyor to sync data between data centers! :)