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

Spreadsheet not found #15

Open
jziggas opened this issue Jul 9, 2014 · 12 comments
Open

Spreadsheet not found #15

jziggas opened this issue Jul 9, 2014 · 12 comments

Comments

@jziggas
Copy link

jziggas commented Jul 9, 2014

sheetdown https://docs.google.com/spreadsheets/d/14w0RjGvFE8MUyYzSz1cpaxqz5CxmBrikiySxMVmCCrc/pubhtml --save

yields

[Error: Spreadsheet not found. Please double check your spreadsheet key is correct.]

Check the link for yourself, it's published. Any ideas?

@jlord
Copy link
Owner

jlord commented Jul 9, 2014

When I go to the URL in a browser it says it's not found. Did you also change the share settings to "anyone with link can view"?

@jziggas
Copy link
Author

jziggas commented Jul 9, 2014

Hmm weird. Yes I made it public and double checked the links in an incognito window, everything showed up fine. Here is the other link https://docs.google.com/spreadsheets/d/14w0RjGvFE8MUyYzSz1cpaxqz5CxmBrikiySxMVmCCrc/edit?usp=sharing

Screenshot: http://cl.ly/image/2v0H2j3F3g33

@jlord
Copy link
Owner

jlord commented Jul 9, 2014

That URL worked for me, though it returned the header strangely and I had to delete a couple of new lines.

@jziggas
Copy link
Author

jziggas commented Jul 9, 2014

You did this?

sheetdown https://docs.google.com/spreadsheets/d/14w0RjGvFE8MUyYzSz1cpaxqz5CxmBrikiySxMVmCCrc/edit?usp=sharing --save

It's still giving me an error. Thanks for trying it out. I'm going to stop for now and try again tomorrow.

@jlord
Copy link
Owner

jlord commented Jul 9, 2014

Yep. Double check you have the latest version maybe? Hrmmm.

@ghost
Copy link

ghost commented Jul 10, 2014

I get the same error too.

@ghost
Copy link

ghost commented Jul 14, 2014

Sorry for bothering, but how can we at least research into this issue? Are there any ways to diagnose it to get more information?

@jlord
Copy link
Owner

jlord commented Jul 14, 2014

@TheMineMech It's hard for me to figure out since it is working for me and I can't replicate the error and therefore help debug. (I've just pulled the latest from the repo onto my machine and tried the link mentioned above and it is still working for me)

You could clone the repo and add some logs and try to trace the error you may learn more. Typically the two things that can cause errors are not publishing the spreadsheet and/or not setting the sharing to 'everyone with the link can view'. Google used to cause problems with new and old spreadsheets, but those should be resolved now. Do you know if you're using a new or old spreadsheet?

@ghost
Copy link

ghost commented Jul 15, 2014

I published it, but still get the same error. I was using new spreadsheet.

@ghost
Copy link

ghost commented Jul 15, 2014

Well, I commented out

    if (response.statusCode.toString() === "404") {
      return callback(new Error("HI Spreadsheet not found.\n"
        + "Please double check your spreadsheet key is correct."))
    }

in makeTable.js, and it (obviously) worked fine.
I want to help by providing logs or debug results, but I don't know how to do it. Any headups would be very appreciated.
By the way, script doesn't process links in spreadsheet. It could be a nice feature.

@devinreams
Copy link

This may be a red herring but I was having this issue with a spreadsheet that I "Imported" to Google Drive (instead of simply creating a new one).

So, I created a new spreadsheet, copy/pasted the data from the "imported" one, changed my sharing settings to "Anyone with the link can view" and 🎉 it worked.

@jlord
Copy link
Owner

jlord commented Aug 5, 2014

👋 Hi @devinreams!!!

Hrmm that's really interesting! Off the top of my head I'm not sure why that would be, but it's good to know!

If anyone wants to dump some more URLs in here of spreadsheets that don't work for them that would be helpful for me to test and debug with ✨

I'll also work on finding some failing ones this week and look into the status codes, too.

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

3 participants