hyde/hyde — Issue #118: Installing hyde isn't working
Author: thehodapp
Created: 2011-12-03 23:17:35+00:00
State: open

I'm trying to install hyde on my new Arch installation. Python 3.2.2 is installed as well as pip. When I install, here is my output:

Downloading/unpacking hyde
Real name of requirement hyde is hyde
Running setup.py egg_info for package hyde

Requirement already satisfied (use --upgrade to upgrade): argparse in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): commando in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): jinja2 in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): pyYAML in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): markdown in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): smartypants in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): pygments in /usr/lib/python3.2/site-packages (from hyde)
Requirement already satisfied (use --upgrade to upgrade): typogrify-hyde in /usr/lib/python3.2/site-packages (from hyde)
Installing collected packages: hyde
Running setup.py install for hyde

Installing hyde script to /usr/bin
File "/usr/lib/python3.2/site-packages/hyde/ext/templates/jinja.py", line 107
print u"Requires AsciiDoc library to use AsciiDoc tag."
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/ext/plugins/markings.py", line 27
return u'^Â§Â§+\s*([A-Za-z0-9_\-]+)\s*$'
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/ext/plugins/tagger.py", line 185
meta_text = u''
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/ext/plugins/stylus.py", line 112
except subprocess.CalledProcessError, e:
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/ext/publishers/pypi.py", line 52
print "Username: ",
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/ext/publishers/pyfs.py", line 50
print "Username: ",
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/engine.py", line 40
except HydeException, he:
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/lib/pygments/rst_directive.py", line 79
parsed = highlight(u'\n'.join(self.content), lexer, formatter)
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/ext/test_textlinks.py", line 46
text = u"""
{%% markdown %%}
[[!!img/hyde-logo.png]]
* [Rich object model][hyde objects] and
[overridable hierarchical metadata]([[ %(plugins)s ]]) thats available for use in
templates.
* Configurable [sorting][], filtering and grouping support.

[hyde objects]: [[ %(objects)s ]]
[sorting]: [[%(sorter)s]]
{%% endmarkdown %%}
"""

^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/ext/test_syntext.py", line 35
text = u"""
~~~~~~~~css~~~~~~~
.body{
background-color: white;
}
~~~~~~~~~~~~~~~~~~
"""

^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/ext/test_tagger.py", line 220
print q
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/ext/test_images.py", line 53
text = u"""

""" % IMAGE_NAME

^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/ext/test_markings.py", line 56
text = u"""
===
is_processable: False
===
{% filter markdown|typogrify %}
Â§Â§ heading
This is a heading
=================
Â§Â§ /heading

Â§Â§ content
Hyde & Jinja
Â§Â§ /

{% endfilter %}
"""

^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/test_fs.py", line 290
utxt = u'Ã¥ÃŸcdeÆ’'
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/test_plugin.py", line 26
print "NoReturnPlugin"
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/tests/test_jinja2template.py", line 50
users = map(User, [u'John Doe', u'Jane Doe', u'Peter Somewhat'])
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/plugin.py", line 340
except subprocess.CalledProcessError, error:
^
SyntaxError: invalid syntax

File "/usr/lib/python3.2/site-packages/hyde/server.py", line 198
except Exception, exception:
^
SyntaxError: invalid syntax

Successfully installed hyde
Cleaning up...

When I just run `hyde`, I get:

Traceback (most recent call last):
File "/usr/bin/hyde", line 9, in
load_entry_point('hyde==0.8.4', 'console_scripts', 'hyde')()
File "/usr/lib/python3.2/site-packages/pkg_resources.py", line 337, in load_entry_point
return get_distribution(dist).load_entry_point(group, name)
File "/usr/lib/python3.2/site-packages/pkg_resources.py", line 2280, in load_entry_point
return ep.load()
File "/usr/lib/python3.2/site-packages/pkg_resources.py", line 1990, in load
entry = __import__(self.module_name, globals(),globals(), ['__name__'])
File "/usr/lib/python3.2/site-packages/hyde/main.py", line 6, in
from hyde.engine import Engine
File "/usr/lib/python3.2/site-packages/hyde/engine.py", line 40
except HydeException, he:
^
SyntaxError: invalid syntax