-
Notifications
You must be signed in to change notification settings - Fork 133
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
cucumber cpp gives error: no implicit conversion of nil into String (TypeError) #194
Comments
What's the version of cucumber that you're using? ( I'm expecting this to be caused by a problem similar to #179. Which I'm reasonably sure is caused by a backwards compatible break in the wire protocol, similar to cucumber/cucumber-ruby#1183. |
Hello, here below you'll see the version as 3.1.1: dev@ubuntu:~/ws/cucumber-cpp$ cucumber --version |
Hi @ozenozkaya please use cucumber 2.4 |
Hello, on Windows I reproduced this error with all versions of Cucumber >= 2.1.0, using Cucumber 2.4.0 didn't fix it (for some specific reasons I wasn't able to try Cucumber 2.0.0). The reason is the environment variable "TMP_DIR" being not set, as visible in the cucumber output:
Defining this variable with the path of the Calc example worked for me and gives the expected output so it's a hacky solution until it's fixed. My configuration:
|
@elominp your problem seems to be unrelated to what has been reported in this issue. The code that you pasted is related to the end-to-end test suite for Cucumber-CPP and not the Calc example. The environment variable It looks like running |
Closing this as it is a Cucumber-Ruby 3.x issue: cucumber/cucumber-ruby#1183 |
CI is set-up to use Line 4 in f799908
|
This solved my problem for now. |
Summary
Calculator example gives "no implicit conversion of nil into String error. I changed nothing and cloned latest version of the repo. I am building the cucumber-cpp in Ubuntu 16.04 64-bit version.
Logs:
Expected Behavior
Expected behavior is to run success.
Current Behavior
Following and similar errors came:
Steps to Reproduce (for bugs)
Just build the cucumber-cpp under ubuntu and you'll get the errors.
The text was updated successfully, but these errors were encountered: