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

sinatra.error #<TypeError: no implicit conversion of nil into String> #133

Open
robertocabellon opened this issue May 19, 2017 · 0 comments

Comments

@robertocabellon
Copy link

After adding a first path to gitdocs server it gets into error state, showing the following message:

sinatra.error	
#<TypeError: no implicit conversion of nil into String>

rack.errors	
#<Object:0x00000000ff5410>
rack.input	
#<StringIO:0x00000002c5b960>

sinatra.accept	
[#<Sinatra::Request::AcceptEntry:0x00000002c0c090 @entry="text/html", @type="text/html", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x00000002c07e50 @entry="application/xhtml+xml", @type="application/xhtml+xml", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x00000002c078b0 @entry="image/webp", @type="image/webp", @params={}, @q=1.0>, #<Sinatra::Request::AcceptEntry:0x00000002c07c98 @entry="application/xml;q=0.9", @type="application/xml", @params={}, @q=0.9>, #<Sinatra::Request::AcceptEntry:0x00000002c076f8 @entry="*/*;q=0.8", @type="*/*", @params={}, @q=0.8>]
sinatra.error	
#<TypeError: no implicit conversion of nil into String>
sinatra.route	
GET /:id*

You're seeing this error because you have enabled the show_exceptions setting.

The server returns to normal state after removing the path.

(I've tried with several (relative and absolute) paths)

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

1 participant