TodoTxtJs icon indicating copy to clipboard operation
TodoTxtJs copied to clipboard

todo.txt from Dropbox doesn't load

Open dev4223 opened this issue 11 years ago • 9 comments

Get a "Uncaught TypeError: Cannot read property 'versionTag' of undefined" here in app.js in line 941

_this._versionTag = stat.versionTag;

dev4223 avatar Nov 10 '13 20:11 dev4223

Possible fix maybe (in src/js/storage/storage_dropbox.ts line 107)

if (typeof(stat) !== "undefined")
                this._versionTag = stat.versionTag;

dev4223 avatar Nov 10 '13 21:11 dev4223

According to the dropbox api versionTag should always exist.

I cannot reproduce this at all. I tried it for deleted files, or renamed files and I even tried it for a file that never existed and the page correctly display the error "File not found", or "file has been deleted".

Can you still reproduce this? How do you reproduce it?

MartinSGill avatar Nov 10 '13 23:11 MartinSGill

When I try to load my todo.txt File from Dropbox I get this error. I use another app (SimpleTask) on my android devices, so my todo.txt file resides under /Apps/SimpleTask/. I've tried it with a fresh installation, saved the empty file now to /Todo/todo.txt and then press the LOAD-Button and get the error. I also get the error when I restart the browser and start the app.

dev4223 avatar Nov 11 '13 00:11 dev4223

Ah, it's a browser issue. Got the error in Google Chrome. Firefox works fine.

dev4223 avatar Nov 11 '13 00:11 dev4223

I test primarily in Chrome, but I think I see the problem. The file failed to load the first time, then you clicked load again and you got the error? That would make sense.

MartinSGill avatar Nov 11 '13 08:11 MartinSGill

Also when I open the browser it fails to load.

dev4223 avatar Nov 11 '13 12:11 dev4223

I have a similar problem: Chrome can't Load the todo.txt file, while Firefox can. Don't see any error message [and don't know how to produce one]. Save and Import work in both browsers.

audiovideodisco avatar Nov 26 '13 12:11 audiovideodisco

Perhaps an older issue. But I edited the dropbox_key.js file and inserted my key. Checked the permissions of that file, which were fine. Regardless, the dropbox storage option is not present in the dropdown menu, and appears to be unavailable. I have scanned over my error logs in apache and did not see anything. Is there a package that I am missing? --P.S. Great web app. Love it so far.

anoduck avatar Aug 08 '15 18:08 anoduck

If you're not getting dropbox as an option, then you should be seeing a message in the console (of the browser)

WARN: 'Dropbox support disabled. No dropbox key found.'

and you should be seeing a 404 error in your network traffic (in the browser and apache):

[Sat, 08 Aug 2015 20:57:36 GMT] "GET /js/dropbox_key.js?_=1439067456027" Error (404): "Not found"

MartinSGill avatar Aug 08 '15 21:08 MartinSGill