Re: Getting ImproperlyConfigured: [Thu Sep 02 17:40:49 2010] [error] [client 10.105.178.26] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: "No module named encoders"

2010-09-03 Thread Eric Johnson


  
  
Hi Christian,

Unfortunately, this is the complex part - I'm using Gentoo as the
host system, so I'm using ebuilds.

Even worse, reviewboard and three of its dependencies are not part
of the standard gentoo supported packages.  Specifically, the
following come from the gentoo sunrise overlay:

  django-evolution - 0.5
  
  recaptcha-client - 1.0.5
  
  reviewboard itself - 1.5_beta2
  

And these are the versions of the other dependencies:

  django - 1.1.2
  setuptools - 0.6.14
  libmemcached - 0.39
  memcached - 1.4.5
  python-memcached - 1.45
  sqlite - 2.8.16 & 3.6.23.1
  pysvn - 1.7.2
  subversion - 1.6.12

Gentoo installs all the python packages under "site-packages" - on
the machine in question: /usr/lib64/python2.6/site-packages/

Does that help anything?

-Eric.

On 9/3/10 1:54 AM, Christian Hammond wrote:
Hi Eric,
  
  Can you tell me a bit more about how you installed it? Is this an
  install through easy_install? What version are you using?
  
  Having a copy of your Apache config files would also help.
  
  Christian
  
  -- 
  Christian Hammond - chip...@chipx86.com
  Review Board - http://www.reviewboard.org
  VMware, Inc. - http://www.vmware.com
  
  
  On Thu, Sep 2, 2010 at 5:52 PM, Eric
Johnson 
wrote:

  As far as I can tell, I have all the dependencies installed,
  except
  I'm getting this error (error modified to exclude actual
  server
  names):
  
  mod_python (pid=431,
  interpreter='reviewboard_foo_example_com',
  phase='PythonHandler',
  handler='django.core.handlers.modpython'):
  Application error
  ServerName: 'foo.example.com'
  DocumentRoot: '/var/www/foo.example.com/htdocs'
  URI: '/subject/'
  Location: '/subject/'
  Directory: None
  Filename: '/var/www/foo.example.com/htdocs/subject'
  PathInfo: '/'
  Traceback (most recent call last):
   File
  "/usr/lib64/python2.6/site-packages/mod_python/importer.py",
  line 1537, in HandlerDispatch\n    default=default_handler,
  arg=req,
  silent=hlist.silent)
   File
  "/usr/lib64/python2.6/site-packages/mod_python/importer.py",
  line 1229, in _process_target\n    result =
  _execute_target(config,
  req, object, arg)
   File
  "/usr/lib64/python2.6/site-packages/mod_python/importer.py",
  line 1128, in _execute_target\n    result = object(arg)
   File
  "/usr/lib64/python2.6/site-packages/django/core/handlers/
  modpython.py", line 228, in handler\n    return
  ModPythonHandler()
  (req)
   File
  "/usr/lib64/python2.6/site-packages/django/core/handlers/
  modpython.py", line 191, in __call__\n  
   self.load_middleware()
   File
  "/usr/lib64/python2.6/site-packages/django/core/handlers/
  base.py", line 42, in load_middleware\n    raise
  exceptions.ImproperlyConfigured, 'Error importing middleware
  %s: "%s"'
  % (mw_module, e)
  ImproperlyConfigured: Error importing middleware
  reviewboard.admin.middleware: "No module named encoders"
  
  I'm stumped.  From the reviewboard code, it looks like the
  only
  "encoders" used comes from djblets, and that's in my
  site-packages
  folder.
  
  What can I do to diagnose this problem further, or fix it?
  
  Any help appreciated.
  
--
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en
  
  
  -- 
  Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
  Happy user? Let us know at http://www.reviewboard.org/users/
  -~--~~~~--~~--~--~---
  To unsubscribe from this group, send email to
  reviewboard+unsubscr...@googlegroups.com
  For more options, visit this group at http://groups.google.com/group/reviewboard?hl=en

  




-- 
Want to help the Review Board project? Donate today at http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this

Re: Getting ImproperlyConfigured: [Thu Sep 02 17:40:49 2010] [error] [client 10.105.178.26] ImproperlyConfigured: Error importing middleware reviewboard.admin.middleware: "No module named encoders"

2010-09-03 Thread Christian Hammond
Hi Eric,

Can you tell me a bit more about how you installed it? Is this an install
through easy_install? What version are you using?

Having a copy of your Apache config files would also help.

Christian

-- 
Christian Hammond - chip...@chipx86.com
Review Board - http://www.reviewboard.org
VMware, Inc. - http://www.vmware.com


On Thu, Sep 2, 2010 at 5:52 PM, Eric Johnson
wrote:

> As far as I can tell, I have all the dependencies installed, except
> I'm getting this error (error modified to exclude actual server
> names):
>
> mod_python (pid=431, interpreter='reviewboard_foo_example_com',
> phase='PythonHandler', handler='django.core.handlers.modpython'):
> Application error
> ServerName: 'foo.example.com'
> DocumentRoot: '/var/www/foo.example.com/htdocs'
> URI: '/subject/'
> Location: '/subject/'
> Directory: None
> Filename: '/var/www/foo.example.com/htdocs/subject'
> PathInfo: '/'
> Traceback (most recent call last):
>  File "/usr/lib64/python2.6/site-packages/mod_python/importer.py",
> line 1537, in HandlerDispatch\ndefault=default_handler, arg=req,
> silent=hlist.silent)
>  File "/usr/lib64/python2.6/site-packages/mod_python/importer.py",
> line 1229, in _process_target\nresult = _execute_target(config,
> req, object, arg)
>  File "/usr/lib64/python2.6/site-packages/mod_python/importer.py",
> line 1128, in _execute_target\nresult = object(arg)
>  File "/usr/lib64/python2.6/site-packages/django/core/handlers/
> modpython.py", line 228, in handler\nreturn ModPythonHandler()
> (req)
>  File "/usr/lib64/python2.6/site-packages/django/core/handlers/
> modpython.py", line 191, in __call__\nself.load_middleware()
>  File "/usr/lib64/python2.6/site-packages/django/core/handlers/
> base.py", line 42, in load_middleware\nraise
> exceptions.ImproperlyConfigured, 'Error importing middleware %s: "%s"'
> % (mw_module, e)
> ImproperlyConfigured: Error importing middleware
> reviewboard.admin.middleware: "No module named encoders"
>
> I'm stumped.  From the reviewboard code, it looks like the only
> "encoders" used comes from djblets, and that's in my site-packages
> folder.
>
> What can I do to diagnose this problem further, or fix it?
>
> Any help appreciated.
>
> --
> Want to help the Review Board project? Donate today at
> http://www.reviewboard.org/donate/
> Happy user? Let us know at http://www.reviewboard.org/users/
> -~--~~~~--~~--~--~---
> To unsubscribe from this group, send email to
> reviewboard+unsubscr...@googlegroups.com
> For more options, visit this group at
> http://groups.google.com/group/reviewboard?hl=en

-- 
Want to help the Review Board project? Donate today at 
http://www.reviewboard.org/donate/
Happy user? Let us know at http://www.reviewboard.org/users/
-~--~~~~--~~--~--~---
To unsubscribe from this group, send email to 
reviewboard+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/reviewboard?hl=en