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

Invalid byte sequence in UTF-8 trying to read meta-data from [...]/twitter/media/glyphicons-halflings.png #293

Open
ameuret opened this issue Jun 16, 2014 · 4 comments

Comments

@ameuret
Copy link

ameuret commented Jun 16, 2014

/home/arnaud/.rvm/gems/ruby-2.0.0-p353/gems/ruhoh-2.6/lib/ruhoh/parse.rb:28:in
`rescue in page_file': Error trying to read meta-data from /home/arnaud/projects/dio
/twitter/media/glyphicons-halflings.png. Check your folder configuration.
Error details: invalid byte sequence in UTF-8 (RuntimeError)

And the config.yml file has:

# Tell ruhoh which folder will model the "theme"
twitter :
  # Tells ruhoh which collection class to use for this folder.
  # Here we use "theme" which makes this folder the theme.
  use : "theme"

This is with a vanilla blog scaffolding, straight after running:

ruhoh new dio
cd dio
bundle update
bundle exec rackup -p 8989
@ameuret
Copy link
Author

ameuret commented Jun 17, 2014

This issue has the same origin as #281 so it is fixed by 1c7df99. This breaks every Ruhoh release at least as far back as 2.1. I think it deserves to be released as a hotfix or even backported.

If you do not want to use a non-tagged release, simply rename the config.ru to something else.

@plusjade
Copy link
Member

You are right, I will give this some attention tomorrow.

On Tue, Jun 17, 2014 at 4:51 AM, Arnaud Meuret notifications@github.com
wrote:

This issue has the same origin as #281
#281 so it is fixed by 1c7df99
1c7df99. This breaks every
Ruhoh release at least as far back as 2.1. I think it deserves to be
released as a hotfix or even backported.

If you do not want to use a non-tagged release, simply rename the
config.ru to something else.


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

@purefan
Copy link

purefan commented Aug 9, 2015

I was able to move past this error by renaming the config.yml to rackup.ru and running the server with this command bundle exec rackup -p 9292 rackup.ru

@ameuret
Copy link
Author

ameuret commented Dec 4, 2015

@purefan To clear up confusion, I think you renamed config.ru as I said above.
Passing the YAML file to rackup makes no sense.

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

3 participants