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

css is not used #6

Open
granin opened this issue Apr 12, 2015 · 6 comments
Open

css is not used #6

granin opened this issue Apr 12, 2015 · 6 comments

Comments

@granin
Copy link

granin commented Apr 12, 2015

App looks like this:
https://www.dropbox.com/s/gbbc60l4vh7c3h6/Screenshot%202015-04-12%2019.48.29.png?dl=0

@jyruzicka
Copy link
Owner

What do you see if you go to /styles.css in your app?

@granin
Copy link
Author

granin commented Apr 13, 2015

Error starting application
Your Rack app raised an exception when Pow tried to run it.
ArgumentError: invalid byte sequence in US-ASCII
~/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/utils.rb:241:in `gsub'
~/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/utils.rb:241:in `escape_html'
~/.rbenv/versions/2.2.1/lib/ruby/gems/2.2.0/gems/rack-1.6.0/lib/rack/showexceptions.rb:103:in `h'
(erb):177:in `block in pretty'
(erb):155:in `each'
Show 20 more lines...

Screenshot of what is on styles.css

@granin
Copy link
Author

granin commented Jun 16, 2015

I don’t see this file at all, I suppose it is not generated, updated Ruby and Sinatra to latest stable version, still same problem, here is how app folder looks:

On 12 Apr 2015, at 21:10, Jan-Yves Ruzicka notifications@github.com wrote:

What do you see if you go to /styles.css in your app?


Reply to this email directly or view it on GitHub #6 (comment).

@jyruzicka
Copy link
Owner

Hi @granin - sorry for the incredible delay in dealing with this. Life has been somewhat busy of late.

My only guess for what's happening is that somewhere in the process you're using UTF-8, and ruby/sinatra/something is expecting ASCII. Ideally, the app should just deal with UTF-8. I'm planning on chucking some UTF-8 at my copy of kanban and seeing what it does - hopefully in the near future, but no guarantees I'm afraid.

@granin
Copy link
Author

granin commented Jun 21, 2015

thank you, so the only way for me for now would be to start from scratch to make sure there are no non-ASCII characters and use only ASCII?

On 21 Jun 2015, at 17:40, Jan-Yves Ruzicka notifications@github.com wrote:

Hi @granin https://github.com/granin - sorry for the incredible delay in dealing with this. Life has been somewhat busy of late.

My only guess for what's happening is that somewhere in the process you're using UTF-8, and ruby/sinatra/something is expecting ASCII. Ideally, the app should just deal with UTF-8. I'm planning on chucking some UTF-8 at my copy of kanban and seeing what it does - hopefully in the near future, but no guarantees I'm afraid.


Reply to this email directly or view it on GitHub #6 (comment).

@jyruzicka
Copy link
Owner

Had a look at the stack trace. I'm not quite sure where it's coming from, but I can have a go at tracing it back through the app.

When you get your error message, can you click "Show 20 more lines" and post the whole backtrace?

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

2 participants