reddit/reddit — Issue #276: ubuntu 11.04 make pyx doesn't complete
Author: katmai
Created: 2011-12-06 17:53:33+00:00
State: open

Hi guys,

Sorry to bug but when i run make pyx on a just cloned reddit git, i get this:
Can you please help me get my install rolling?

root@katmai-desktop:/home/reddit/reddit/r2# sudo -u reddit make pyx
Traceback (most recent call last):
File "r2/lib/js.py", line 8, in
from r2.lib.i18n import get_available_languages
ImportError: No module named r2.lib.i18n
Traceback (most recent call last):
File "r2/lib/js.py", line 8, in
from r2.lib.i18n import get_available_languages
ImportError: No module named r2.lib.i18n
cython r2/lib/wrapped.pyx

Error converting Pyrex file to C:
------------------------------------------------------------
...
def cache_key(self, attr, style, *a):
from pylons import c

# if template debugging is on, there will be no hash and we
# can make the caching process-local.
template_hash = getattr(self.template(style), "hash",
^
------------------------------------------------------------

/home/reddit/reddit/r2/r2/lib/wrapped.pyx:452:31: Call with wrong number of arguments (expected 2, got 3)

Error converting Pyrex file to C:
------------------------------------------------------------
...
# these values are needed to render any link on the site, and
# a menu is just a set of links, so we best cache against
# them.
keys = [c.user_is_loggedin, c.user_is_admin, c.domain_prefix,
style, c.secure, c.cname, c.lang, c.site.path,
getattr(c.user, "gold", False),
^
------------------------------------------------------------

/home/reddit/reddit/r2/r2/lib/wrapped.pyx:460:23: Call with wrong number of arguments (expected 2, got 3)
make: *** [r2/lib/wrapped.c] Error 1