[MacPorts] #25132: py26-couchdbkit missing dependency

MacPorts noreply at macports.org
Fri Jun 4 13:02:48 PDT 2010


#25132: py26-couchdbkit missing dependency
----------------------------------+-----------------------------------------
 Reporter:  andrew@…              |       Owner:  blair@…           
     Type:  defect                |      Status:  new               
 Priority:  Normal                |   Milestone:                    
Component:  ports                 |     Version:  1.8.2             
 Keywords:                        |        Port:  py26-couchdbkit   
----------------------------------+-----------------------------------------
Changes (by macsforever2000@…):

  * keywords:  py26-couchdbkit =>
  * owner:  macports-tickets@… => blair@…


Old description:

> py26-couchdbkit does not work because restkit.rest is not installed as a
> dependency for the package.
>
> Validating models...
> Unhandled exception in thread started by <function inner_run at
> 0x102316ed8>
> Traceback (most recent call last):
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/core/management/commands/runserver.py", line 48, in
> inner_run
>     self.validate(display_num_errors=True)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/core/management/base.py", line 245, in validate
>     num_errors = get_validation_errors(s, app)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/core/management/validation.py", line 28, in
> get_validation_errors
>     for (app_name, error) in get_app_errors().items():
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/db/models/loading.py", line 146, in get_app_errors
>     self._populate()
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/db/models/loading.py", line 64, in _populate
>     self.load_app(app_name)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/db/models/loading.py", line 78, in load_app
>     models = import_module('.models', app_name)
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/django/utils/importlib.py", line 35, in import_module
>     __import__(name)
>   File
> "/Users/andrew/Documents/devel/python/baruwa2/../baruwa2/messages/models.py",
> line 2, in <module>
>     from couchdbkit.ext.django.schema import *
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/couchdbkit/ext/django/schema.py", line 23, in <module>
>     from couchdbkit import schema
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/couchdbkit/schema/__init__.py", line 151, in <module>
>     from couchdbkit.schema.base import *
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/couchdbkit/schema/base.py", line 26, in <module>
>     from couchdbkit.client import Database
>   File
> "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
> /site-packages/couchdbkit/client.py", line 50, in <module>
>     from restkit.rest import url_quote
> ImportError: No module named restkit.rest

New description:

 py26-couchdbkit does not work because restkit.rest is not installed as a
 dependency for the package.

 {{{
 Validating models...
 Unhandled exception in thread started by <function inner_run at
 0x102316ed8>
 Traceback (most recent call last):
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/management/commands/runserver.py", line 48, in
 inner_run
     self.validate(display_num_errors=True)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/management/base.py", line 245, in validate
     num_errors = get_validation_errors(s, app)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/core/management/validation.py", line 28, in
 get_validation_errors
     for (app_name, error) in get_app_errors().items():
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/db/models/loading.py", line 146, in get_app_errors
     self._populate()
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/db/models/loading.py", line 64, in _populate
     self.load_app(app_name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/db/models/loading.py", line 78, in load_app
     models = import_module('.models', app_name)
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/django/utils/importlib.py", line 35, in import_module
     __import__(name)
   File
 "/Users/andrew/Documents/devel/python/baruwa2/../baruwa2/messages/models.py",
 line 2, in <module>
     from couchdbkit.ext.django.schema import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/couchdbkit/ext/django/schema.py", line 23, in <module>
     from couchdbkit import schema
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/couchdbkit/schema/__init__.py", line 151, in <module>
     from couchdbkit.schema.base import *
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/couchdbkit/schema/base.py", line 26, in <module>
     from couchdbkit.client import Database
   File
 "/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6
 /site-packages/couchdbkit/client.py", line 50, in <module>
     from restkit.rest import url_quote
 ImportError: No module named restkit.rest
 }}}

--

-- 
Ticket URL: <http://trac.macports.org/ticket/25132#comment:1>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list