Skip to content
This repository has been archived by the owner on Sep 3, 2018. It is now read-only.

todo.txt from Dropbox doesn't load #55

Open
dev4223 opened this issue Nov 10, 2013 · 9 comments
Open

todo.txt from Dropbox doesn't load #55

dev4223 opened this issue Nov 10, 2013 · 9 comments

Comments

@dev4223
Copy link

dev4223 commented Nov 10, 2013

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

_this._versionTag = stat.versionTag;
@dev4223
Copy link
Author

dev4223 commented Nov 10, 2013

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

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

@MartinSGill
Copy link
Owner

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?

@dev4223
Copy link
Author

dev4223 commented Nov 11, 2013

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
Copy link
Author

dev4223 commented Nov 11, 2013

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

@MartinSGill
Copy link
Owner

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.

@dev4223
Copy link
Author

dev4223 commented Nov 11, 2013

Also when I open the browser it fails to load.

@audiovideodisco
Copy link

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.

@anoduck
Copy link

anoduck commented Aug 8, 2015

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.

@MartinSGill
Copy link
Owner

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"

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

4 participants