Note that there are some explanatory texts on larger screens.

plurals
  1. POFile not uploading to dropbox via python script
    primarykey
    data
    text
    <p>This problem is just a more in depth explanation of the other problem.</p> <p>I put the code on github because it's quite a fair bit. I'm sorry for the inconvenience <code>https://github.com/lonehangman/mccdropdav/blob/master/views.py</code></p> <p>Line 100 onwards is where the problems start. For the past week I've tried and failed to upload a file from pages (on iPad) to dropbox through a webdav set up on Google App Engine (GAE). </p> <p>I can view the contents of my dropbox but when I download or upload from my computer or iPad it always gives an error. I checked the logs and saw that there was a key error for line 110, so I tried to fix this by printing meta_entry, which I then realised was a non existent resource.<br> (Hence the <code># make a fake Resource to ease our exporting</code>. On line 106). This problem left me befuddled for days, but then my friend told me to remove line 152 <code>root.append(self.export_meta_entry(metadata,href=self.request.path)) # first response's href contains exactly what you asked for (relative path)</code><br> Doing this got rid of the key error but still wouldn't let me upload to dropbox. The iPad tells me it's uploading but I check my dropbox but no new files are to be seen. Nor can I download files. The logs don't seem to be picking it up.</p> <p>Can anyone please explain and try help (If you're not going to help don't bother writing stuff like 'go somewhere else' or 'learn python noob'.)</p> <p>If there is any more information needed just ask. I'm quite tired at the time of writing this so it does seemed a bit rushed.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload