Announcing the new Datavyu v1.4.0 with enhanced features, bug fixes, and a new video player for Windows!

We are in the process of migrating away from this forum—feel free to browse existing help topics. For new support inquiries, please reach out to us via email at info@datavyu.org

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

SEB
1224
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 ♦♦
531126
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

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "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:

×4

question asked: 23 Mar '17, 12:34

question was seen: 2,293 times

last updated: 27 Mar '17, 12:41

powered by OSQA