Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Error while trying to run reddit
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  5 messages - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Feras Odeh  
View profile  
 More options Jul 23 2012, 1:58 pm
From: Feras Odeh <feras...@gmail.com>
Date: Mon, 23 Jul 2012 10:58:30 -0700 (PDT)
Local: Mon, Jul 23 2012 1:58 pm
Subject: Error while trying to run reddit

Hi all,

I got this error when I tried to run reddit:

 $ paster serve --reload example.ini http_port=8001

Starting subprocess with file monitor
Traceback (most recent call last):
  File "/usr/local/bin/paster", line 9, in <module>
    load_entry_point('PasteScript==1.7.3', 'console_scripts', 'paster')()
  File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 84, in
run
    invoke(command, command_name, options, args[1:])
  File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 123, in
invoke
    exit_code = runner.run(args)
  File "/usr/lib/pymodules/python2.7/paste/script/command.py", line 218, in
run
    result = self.command()
  File "/usr/lib/pymodules/python2.7/paste/script/serve.py", line 276, in
command
    relative_to=base, global_conf=vars)
  File "/usr/lib/pymodules/python2.7/paste/script/serve.py", line 313, in
loadapp
    **kw)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 204,
in loadapp
    return loadobj(APP, uri, name=name, **kw)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 225,
in loadobj
    return context.create()
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 625,
in create
    return self.object_type.invoke(self)
  File "/usr/lib/pymodules/python2.7/paste/deploy/loadwsgi.py", line 110,
in invoke
    return fix_call(context.object, context.global_conf,
**context.local_conf)
  File "/usr/lib/pymodules/python2.7/paste/deploy/util/fixtypeerror.py",
line 57, in fix_call
    val = callable(*args, **kw)
  File "/home/reddit/reddit/r2/r2/config/middleware.py", line 542, in
make_app
    load_environment(global_conf, app_conf)
  File "/home/reddit/reddit/r2/r2/config/environment.py", line 54, in
load_environment
    config['pylons.g'] = app_globals.Globals(global_conf, app_conf, paths)
  File "/home/reddit/reddit/r2/r2/lib/app_globals.py", line 154, in __init__
    self.cassandra = pycassa.connect_thread_local(self.cassandra_seeds)
AttributeError: 'module' object has no attribute 'connect_thread_local'

Can anyone help me with this error?

Thanks,
Feras


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Keith Mitchell  
View profile  
 More options Jul 23 2012, 2:13 pm
From: Keith Mitchell <kemit...@reddit.com>
Date: Mon, 23 Jul 2012 11:13:38 -0700
Local: Mon, Jul 23 2012 2:13 pm
Subject: Re: [reddit-dev] Error while trying to run reddit

That sort of AttributeError would imply to me that the wrong version of
pycassa is being used. Check the install script / setup.py and compare the
version there against the version of pycassa that you have installed.

--
Join me in the fight to end AIDS!
http://www.tofighthiv.org/goto/kemitche

 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Feras Odeh  
View profile  
 More options Jul 23 2012, 4:02 pm
From: Feras Odeh <feras...@gmail.com>
Date: Mon, 23 Jul 2012 13:02:19 -0700 (PDT)
Local: Mon, Jul 23 2012 4:02 pm
Subject: Re: [reddit-dev] Error while trying to run reddit

Thanks Keith. How I can found which version of pycassa is installed on my
ubuntu box?


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Jean-Philippe Caissy  
View profile  
 More options Jul 23 2012, 4:11 pm
From: Jean-Philippe Caissy <jpcai...@piji.ca>
Date: Mon, 23 Jul 2012 16:11:41 -0400
Local: Mon, Jul 23 2012 4:11 pm
Subject: Re: [reddit-dev] Error while trying to run reddit

Feras,

I'm not sure what steps you used to install the dependencies, but you need
pycassa >= 1.7.0

Just install it using pip:

jp@lo:~$ pip install pycassa==1.7.0


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
Feras Odeh  
View profile  
 More options Jul 23 2012, 4:18 pm
From: Feras Odeh <feras...@gmail.com>
Date: Mon, 23 Jul 2012 13:18:58 -0700 (PDT)
Local: Mon, Jul 23 2012 4:18 pm
Subject: Re: [reddit-dev] Error while trying to run reddit

Thanks Jean,

I'm trying to install an old version of reddit maybe 2 years old (in order
to get solr support). and I found that it contains this line in setup.py
easy_install(["https://github.com/pycassa/pycassa/downloads/pycassa-0.3.0.tar.gz"])

So I think it is installing version 0.3.0 but not sure why this can cause
problems


 
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »