Closed (fixed)
Project:
CDN
Version:
6.x-2.0
Component:
File Conveyor mode
Priority:
Normal
Category:
Support request
Assigned:
Reporter:
Created:
13 Feb 2010 at 02:24 UTC
Updated:
20 Feb 2012 at 15:01 UTC
Placeholder since I still haven't figured out how to edit the first post in the issue queue.
Comments
Comment #1
mikeytown2 commentedCentOS Instructions
Install Java, OpenSSL, SQLite, ImageMagick
Install Python 2.5.5 http://blog.perplexedlabs.com/2008/11/10/setup-python-25-mod_wsgi-and-dj...
http://www.thrdcross.com/node/5
Install Pyinotify
File Conveyor (replace wimleers-fileconveyor-7a4a43a with the version github gives you)
YUI Compressor
Google Closure Compiler
cssutils
jpegtran
Pngcrush
gifsicle
Comment #2
mikeytown2 commentedps there is a typo in code\INSTALL.txt on line 25
The newest version from what I can tell is 0.8.9
http://seb.dbzteam.org/pub/pyinotify/releases/
Comment #3
mikeytown2 commentedI've opened a lot of issues over here: http://github.com/wimleers/fileconveyor/issues
Comment #4
wim leersThanks mikeytown2!
#1: Thanks! Linked to this from INSTALL.txt: http://github.com/wimleers/fileconveyor/commit/c472b96acf8a91c31c47e8824...
#2: I say "0.8.0 or better", because the 0.8.x versions have the same API. So that is correct. Newer is better of course.
#3: Thanks :) I'll get back to those as soon as I find the time.
P.S.:
Me neither. I don't think it's supported. :)
Comment #6
Peter Bowey commentedlink_updater.py code fault with Python 2.6+
The /fileconveyor/code/processors file [link_updater.py] needs a change to work correctly with Python versions greater than 2.5+:
Line # 39 of link_updater.py needs to change from:
parser = CSSParser(log=None, loglevel=logging.critical)to:
parser = CSSParser(log=None, loglevel=logging.CRITICAL)I have tested this with and without the above change.
It works fine with the correct Python setLevel syntax, but gives ERROR with out the change!
Comment #7
wim leersPlease report this at https://github.com/wimleers/fileconveyor. And preferably fork the code, make your changes, and do a pull request :)
Thanks!
Comment #8
Peter Bowey commentedQuestion: How can you achieve this concept:
I tried several [logical] combination's as to what seem Logical (reading the code, doc's and thesis) - but (as yet) no good result achieved on parallel asset divisions.
The excellent [various] notes given do not speak [clearly] of the inner code design or code methods.
I have [therefore] resorted to hours of 'guess + trial work' to find the methods that yet work.
Please advise - as time permits.
Comment #9
wim leersThanks for creating an issue on GitHub! I've replied right there: https://github.com/wimleers/fileconveyor/issues/issue/39/#issue/39/comme....
Comment #10
wim leersComment #11
PedroMiguel commentedFor people with error error: Setup script exited with error: command 'gcc' failed with exit status 1 when Install Pyinotify try:
yum install python-devel
Works for me...
Comment #12
airjoshb commentedI have installed python per the instructions here and file conveyor. I set up the config with my info and when I run the arbitrator.py, i get the following:
Traceback (most recent call last):
File "/opt/fileconveyor/code/arbitrator.py", line 9, in ?
import sqlite3
ImportError: No module named sqlite3
After doing some research it seems that maybe it is looking still to the old 2.4 v of python, how do I tell file conveyor to use the 2.5 install from above? Or is there another issue here that I am missing?
Comment #13
wim leerspython2.5 arbitrator.pyType
pythonin the terminal and then press the "tab" key. This will show you all Python versions installed.Comment #14
airjoshb commentedHere is what comes up from python [tab]
python python2 python2.4 python2.5
Comment #15
airjoshb commentedComment #16
wim leersThen you can do what I said:
python2.5 arbitrator.py. It should work just fine then.Comment #17
stongo commentedI can't get file conveyor running on centOS
I get an error when starting arbitrator.py:
I tried configuring other transporters in config.xml and they all return the same error
Issue also reported here https://github.com/wimleers/fileconveyor/issues/104
Any help would be appreciated