Please use our GitHub Issues page for all new support inquiries. If you need to contact us directly, please e-mail [email protected]

What does "NoMethodError: undefined method `chr' for nil:NilClass" mean and how can I fix it? I'm trying to run a mutex script that has worked with other files. All I've done is changed the column names to run with a new file and I get back this error msg.

asked 23 Mar '17, 12:34

SEB's gravatar image

accept rate: 0%

The error message is saying that you are trying to call the function "chr" on a nil value. You should check stack trace (the sequence of code lines that led to the error) in the error message to find where in your script a nil value is being returned instead of the appropriate type.

If you copy paste the full error message output from the scripting console, I can assist you further.

permanent link

answered 27 Mar '17, 12:41

Shohan%20Hasan's gravatar image

Shohan Hasan ♦♦
accept rate: 14%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here



Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text]( "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:


question asked: 23 Mar '17, 12:34

question was seen: 7,550 times

last updated: 27 Mar '17, 12:41

powered by OSQA