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

Drupal - synced JS files are empty #120

Open ghost opened 12 years ago

ghost commented 12 years ago

Here is my config.xml - https://gist.github.com/2909617 (I use FTP)

All of my files were synced successfully. In my drupal site, 100% of the files are rendered from the CDN. I had a "jQuery not defined" error in the page. On investigating, I found that, all the JS files are synced and all of them are empty !!!!!! Not one JS file, but all are empty. No wonder there was the JS error.

I added this in the google_closure_compiler.py : self.logger.warning("self.input_file: "+self.input_file + " AND self.output_file: " + self.output_file) after this: (stdout, stderr) = self.run_command("java -jar %s --js %s --js_output_file %s" % (compiler_path, self.input_file, self.output_file))

This is one of those logs: self.input_file: /tmp/fileconveyor/var/www/drupal/misc/drupal.js AND self.output_file: /tmp/fileconveyor/var/www/drupal/misc/drupal.js

Help me !

wimleers commented 11 years ago

Can you reproduce this without YUI Compressor and Google Closure Compiler processors?