2014-10-17, 15:09
Thanks for the log.
Glad you had a sense of humor about the message. Just seems there are a lot of "its broken" with no follow-up messages lately. I guess yours was the stray that broke the camel's back.
Looking at what you posted I guess I'm a little confused. Is this the full run of the addon? I don't see the start where it normally lists the full path and then goes through it's file add process. It seems to be a snippet from somewhere in the middle. I do see your custom directory. Is that the one that isn't working or is the whole thing only putting up the first level folders?
One thing to note about the Dropbox stuff is a slight caveat to their upload process. Here is the code from the vfs.py file:
You'll see that it tries to put the file, and if that fails it tries again. If that fails we just give up and return "False" for the result. I think it's an error on the Dropbox side because you can continue to put the file indefinitely and it will never make it in some cases. Perhaps these "false" returns should be logged. I'll make a note to add that to the debug logging.
Glad you had a sense of humor about the message. Just seems there are a lot of "its broken" with no follow-up messages lately. I guess yours was the stray that broke the camel's back.
Looking at what you posted I guess I'm a little confused. Is this the full run of the addon? I don't see the start where it normally lists the full path and then goes through it's file add process. It seems to be a snippet from somewhere in the middle. I do see your custom directory. Is that the one that isn't working or is the whole thing only putting up the first level folders?
One thing to note about the Dropbox stuff is a slight caveat to their upload process. Here is the code from the vfs.py file:
Code:
def put(self,source,dest,retry=True):
dest = self._fix_slashes(dest)
if(self.client != None):
f = open(source,'rb')
try:
response = self.client.put_file(dest,f,True)
return True
except:
#if we have an exception retry
if(retry):
return self.put(source,dest,False)
else:
#tried once already, just quit
return False
else:
return False
You'll see that it tries to put the file, and if that fails it tries again. If that fails we just give up and return "False" for the result. I think it's an error on the Dropbox side because you can continue to put the file indefinitely and it will never make it in some cases. Perhaps these "false" returns should be logged. I'll make a note to add that to the debug logging.