kanban icon indicating copy to clipboard operation
kanban copied to clipboard

css is not used

Open granin opened this issue 9 years ago • 6 comments

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

granin avatar Apr 12 '15 11:04 granin

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

jyruzicka avatar Apr 12 '15 13:04 jyruzicka

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 avatar Apr 13 '15 03:04 granin

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 [email protected] wrote:

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

— Reply to this email directly or view it on GitHub https://github.com/jyruzicka/kanban/issues/6#issuecomment-92057655.

granin avatar Jun 16 '15 08:06 granin

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.

jyruzicka avatar Jun 21 '15 09:06 jyruzicka

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 [email protected] 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 https://github.com/jyruzicka/kanban/issues/6#issuecomment-113880230.

granin avatar Jun 21 '15 12:06 granin

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?

jyruzicka avatar Jun 21 '15 20:06 jyruzicka