Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

some folders being excluded? #166

Open
csdougliss opened this issue May 6, 2014 · 0 comments
Open

some folders being excluded? #166

csdougliss opened this issue May 6, 2014 · 0 comments

Comments

@csdougliss
Copy link

Inside my media folder I have CSS, downloadable folder etc. which is excluded from my rackspace CDN sync - why is this?

Here is my config.xml:

<?xml version="1.0" encoding="UTF-8"?>
<config>
  <!-- Sources -->
  <sources ignoredDirs="CVS:.git">
    <source name="media" scanPath="/var/www/vhosts/magento-capistrano-dev/current/media" />
    <source name="skin" scanPath="/var/www/vhosts/magento-capistrano-dev/current/skin" />
  </sources>

  <!-- Servers -->
  <servers>
    <server name="rackspace" transporter="cloudfiles">
      <username>username</username>
      <api_key>key</api_key>
      <container>MagentoEESync</container>
    </server>
  </servers>

  <!-- Rules -->
  <rules>
    <rule for="media" label="media">
      <filter>
        <paths>blfa_files:captcha:cart_icons:catalog:categories:css:css_secure:customer:dhl:downloadable:import:js:minified:product_icons:rma_item:tmp:videos:wysiwyg:xmlconnect</paths>
        <extensions>ico:js:css:gif:png:jpg:jpeg:svg:swf:avi:mp4:webm:pdf</extensions>
      </filter>
      <processorChain>
        <processor name="image_optimizer.KeepFilename" />
      </processorChain>
      <destinations>
        <destination server="rackspace" path="media" />
      </destinations>
    </rule>
    <rule for="skin" label="skin">
      <filter>
        <!--<paths>skin</paths>-->
        <extensions>ico:js:css:gif:png:jpg:jpeg:svg:swf:avi:mp4:webm:pdf</extensions>
      </filter>
      <processorChain>
        <processor name="image_optimizer.KeepFilename" />
      </processorChain>
      <destinations>
        <destination server="rackspace" path="skin" />
      </destinations>
    </rule>
  </rules>
sqlite3 persistent_data.db 
SQLite version 3.8.2 2013-12-06 14:53:30
Enter ".help" for instructions
Enter SQL statements terminated with a ";"
sqlite> .table
failed_files_list     pipeline_list       
files_to_delete_list  pipeline_queue      
sqlite> select count(*) from pipeline_queue;
8923
sqlite> select count(*) from pipeline_list;
48
sqlite> select count(*) from failed_files_list;
16

When running verify.py I get a crash after 5 files:

  1% (444/26719)Traceback (most recent call last):
  File "./verify.py", line 20, in <module>
    conn.request("HEAD", parsed.path)
  File "/usr/lib/python2.7/httplib.py", line 973, in request
    self._send_request(method, url, body, headers)
  File "/usr/lib/python2.7/httplib.py", line 1007, in _send_request
    self.endheaders(body)
  File "/usr/lib/python2.7/httplib.py", line 969, in endheaders
    self._send_output(message_body)
  File "/usr/lib/python2.7/httplib.py", line 829, in _send_output
    self.send(msg)
  File "/usr/lib/python2.7/httplib.py", line 805, in send
    self.sock.sendall(data)
  File "/usr/lib/python2.7/socket.py", line 224, in meth
    return getattr(self._sock,name)(*args)
UnicodeEncodeError: 'ascii' codec can't encode character u'\xfc' in position 48: ordinal not in range(128)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant