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
340 stars 95 forks source link

CSS and JS files not conveyed. #119

Closed ghost closed 12 years ago

ghost commented 12 years ago

Here is my config.xml - https://gist.github.com/2909617

I do have Java in my Ubuntu 11.10 java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Server VM (build 20.1-b02, mixed mode)

Though I have JAVA, I keep getting the following error for JS and CSS files.

2012-06-11 06:13:15,043 - Arbitrator.ProcessorChain - ERROR - The processsor 'yui_compressor.YUICompressor' has failed while processing the file '/var/www/drupal/misc/jquery.cookie.js'. Exception class: <type 'exceptions.IOError'>. Message: [Errno 2] No such file or directory: u'/tmp/fileconveyor/var/www/drupal/misc/jquery.cookie.js.tmp'.

chrisivens commented 12 years ago

you might want to edit that gist or change your passwords on the cdn.

EDIT: looks like you're doing it locally though so not so bad.

ghost commented 12 years ago

thanks @chrisivens . I found out my mistake. I went over the documentation over and over again. Then I found out that I need to have the yuicompressor.jar and compiler.jar and other processors on my machine. (Ya I know, such a big mistake). Works fine though.

Though occassionally, I get the CSSURLUpdater error. Gotta fix that.