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'
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.
> 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 received this message because you are subscribed to the Google Groups
> "reddit-dev" group.
> To view this discussion on the web visit
> https://groups.google.com/d/msg/reddit-dev/-/HachOQ80UPQJ.
> To post to this group, send email to reddit-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> reddit-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/reddit-dev?hl=en.
On Monday, July 23, 2012 9:13:38 PM UTC+3, Keith Mitchell wrote:
> 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.
> On Mon, Jul 23, 2012 at 10:58 AM, Feras Odeh wrote:
>> 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 received this message because you are subscribed to the Google Groups >> "reddit-dev" group. >> To view this discussion on the web visit >> https://groups.google.com/d/msg/reddit-dev/-/HachOQ80UPQJ. >> To post to this group, send email to reddit-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> reddit-dev+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/reddit-dev?hl=en.
> Downloading/unpacking pycassa==1.7.0
> [...]
On Mon, Jul 23, 2012 at 4:02 PM, Feras Odeh <feras...@gmail.com> wrote:
> Thanks Keith. How I can found which version of pycassa is installed on my
> ubuntu box?
> On Monday, July 23, 2012 9:13:38 PM UTC+3, Keith Mitchell wrote:
>> 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.
>> On Mon, Jul 23, 2012 at 10:58 AM, Feras Odeh wrote:
>>> 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 received this message because you are subscribed to the Google
>>> Groups "reddit-dev" group.
>>> To view this discussion on the web visit https://groups.google.com/d/** >>> msg/reddit-dev/-/HachOQ80UPQJ<https://groups.google.com/d/msg/reddit-dev/-/HachOQ80UPQJ>
>>> .
>>> To post to this group, send email to reddit-dev@googlegroups.com.
>>> To unsubscribe from this group, send email to reddit-dev+unsubscribe@**
>>> googlegroups.com <reddit-dev%2Bunsubscribe@googlegroups.com>.
>>> For more options, visit this group at http://groups.google.com/** >>> group/reddit-dev?hl=en <http://groups.google.com/group/reddit-dev?hl=en>
>>> .
> To post to this group, send email to reddit-dev@googlegroups.com.
> To unsubscribe from this group, send email to
> reddit-dev+unsubscribe@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/reddit-dev?hl=en.
> On Mon, Jul 23, 2012 at 4:02 PM, Feras Odeh wrote:
>> Thanks Keith. How I can found which version of pycassa is installed on my >> ubuntu box?
>> On Monday, July 23, 2012 9:13:38 PM UTC+3, Keith Mitchell wrote:
>>> 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.
>>> On Mon, Jul 23, 2012 at 10:58 AM, Feras Odeh wrote:
>>>> 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 received this message because you are subscribed to the Google >>>> Groups "reddit-dev" group. >>>> To view this discussion on the web visit https://groups.google.com/d/** >>>> msg/reddit-dev/-/HachOQ80UPQJ<https://groups.google.com/d/msg/reddit-dev/-/HachOQ80UPQJ> >>>> . >>>> To post to this group, send email to reddit-dev@googlegroups.com. >>>> To unsubscribe from this group, send email to reddit-dev+unsubscribe@** >>>> googlegroups.com <reddit-dev%2Bunsubscribe@googlegroups.com>. >>>> For more options, visit this group at http://groups.google.com/** >>>> group/reddit-dev?hl=en<http://groups.google.com/group/reddit-dev?hl=en> >>>> .
>> To post to this group, send email to reddit-dev@googlegroups.com. >> To unsubscribe from this group, send email to >> reddit-dev+unsubscribe@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/reddit-dev?hl=en.