Skip to content
This repository has been archived by the owner on Oct 5, 2021. It is now read-only.

"no implicit conversion of nil into Hash" Error #30

Open
kjacks opened this issue Aug 29, 2016 · 3 comments
Open

"no implicit conversion of nil into Hash" Error #30

kjacks opened this issue Aug 29, 2016 · 3 comments

Comments

@kjacks
Copy link

kjacks commented Aug 29, 2016

I'm getting this error when I try to publish a sheet and can't seem to pinpoint the problem.

I have published other sheets using driveshaft, but am running into errors with this one.

Is there a size limit to the sheet? or some sort of misconfiguration that would lead to this error?

@abstrctn
Copy link
Contributor

Hi @kjacks, sorry to see you're running into a bug! That looks more like a parsing issue when driveshaft tries to convert the document to JSON. Would you mind giving a little more information about the document you're trying to convert?

  1. Is it a spreadsheet or a text document?
  2. Do you have access to any logs that were generated when the error occurred that you could post here? (If you're running on Heroku, here are docs for retrieving them)
  3. Does the error also occur if you try to download the file instead of publishing it? (There should be a button in the top-right corner of the screen that takes you to the converted document, without trying to publish it to S3)

image

Also, if the document isn't confidential, you could share the document publicly or with myself (michael.strickland@nytimes.com) and I'd be happy to look for where the conversion is breaking.

Best,
Michael

@kjacks
Copy link
Author

kjacks commented Aug 29, 2016

Hi Michael,
Thank you so much for getting back to me so soon. Here goes:

  1. It's a spreadsheet.
  2. I am running through Heroku - I pulled what I gathered to be the log messages based on the request: driveshaft_issue_30_server_logs.txt
    it looks like the error is on line 23.
  3. When I try to download the file, I get the message:
    "Error converting homegrown_extremism_live_data into spreadsheet. (Illegal quoting in line 1.)"

I will go ahead and email the link to the document so that you can play around if need be.

Thank you so much for all of your help!

Kirk

@kjacks
Copy link
Author

kjacks commented Sep 1, 2016

Hi @abstrctn, I just wanted to check in about what you are thinking might be the cause of this error. I would be happy to dig into the source code a bit if need be, but figure you might have some valuable insight!

Thank you so much!

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

No branches or pull requests

2 participants