8000 utf8' codec can't decode byte 0x89 in position 0 · Issue #79 · hyde/hyde-old · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
utf8' codec can't decode byte 0x89 in position 0 #79
Open
@michaelfillier

Description

@michaelfillier

Generation Failed
I am trying to install hyde on windows vista 64-bit. I am getting this error when attempting to run the generator:


Traceback (most recent call last):
File "c:\xampp\htdocs\hyde\hydeengine__init__.py", line 417, in process_all
self.process(resource)
File "c:\xampp\htdocs\hyde\hydeengine__init__.py", line 377, in process
return self.processor.process(item)
File "c:\xampp\htdocs\hyde\hydeengine\processor.py", line 116, in process
TemplateProcessor.process(resource)
File "c:\xampp\htdocs\hyde\hydeengine\media_processors.py", line 15, in proces
s
rendered = render_to_string(resource.source_file.path, settings.CONTEXT)
File "c:\Python27\lib\site-packages\django\template\loader.py", line 169, in r
ender_to_string
t = get_template(template_name)
File "c:\Python27\lib\site-packages\django\template\loader.py", line 145, in g
et_template
template, origin = find_template(template_name)
File "c:\Python27\lib\site-packages\django\template\loader.py", line 134, in f
ind_template
source, display_name = loader(name, dirs)
File "c:\Python27\lib\site-packages\django\template\loader.py", line 42, in __
call__
return self.load_template(template_name, template_dirs)
File "c:\Python27\lib\site-packages\django\template\loader.py", line 45, in lo
ad_template
source, display_name = self.load_template_source(template_name, template_dir
s)
File "c:\Python27\lib\site-packages\django\template\loaders\filesystem.py", li
ne 39, in load_template_source
return (file.read().decode(settings.FILE_CHARSET), filepath)
File "c:\Python27\lib\encodings\utf_8.py", line 16, in decode
return codecs.utf_8_decode(input, errors, True)
UnicodeDecodeError: 'utf8' codec can't decode byte 0x89 in position 0: invalid s
tart byte


I was looking to try out hyde as an alternative to jekyll, since I am in the process of learning python and django. But sadly can't get it running. Any help is appreciated, I will do a little googlin' and see if I come up with a fix. Thanks!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0