Opened 14 years ago

Closed 10 years ago

Last modified 10 years ago

#25132 closed defect (fixed)

py26-couchdbkit missing dependency

Reported by: andrew@… Owned by: petrrr
Priority: Normal Milestone:
Component: ports Version: 1.8.2
Keywords: Cc: jkrage@…, blair (Blair Zajac)
Port: py26-couchdbkit

Description (last modified by mf2k (Frank Schima))

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

Change History (13)

comment:1 Changed 14 years ago by mf2k (Frank Schima)

Description: modified (diff)
Keywords: py26-couchdbkit removed
Owner: changed from macports-tickets@… to blair@…

comment:2 Changed 13 years ago by jmroot (Joshua Root)

If this module can't be used without restkit, either a py26-restkit port needs to be added, or this one needs to be deleted.

comment:3 Changed 12 years ago by jkrage@…

Cc: jkrage@… added

Cc Me!

comment:4 Changed 11 years ago by jkrage@…

Submitted an updated port in #38898 that addresses the dependency issue, which depends on proposed new ports in #38895 (py-http-parser) and #38896 (py-restkit).

comment:5 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… added

Cc Me!

comment:6 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:7 Changed 10 years ago by petrrr

Cc: Peter.Danecek@… removed

comment:8 Changed 10 years ago by petrrr

Owner: changed from blair@… to petr@…
Status: newassigned

comment:9 Changed 10 years ago by petrrr

Cc: petr@… removed

Cc Me!

comment:10 Changed 10 years ago by petrrr

Resolution: fixed
Status: assignedclosed

This issue should be fixed now. Closing!

  • The port py-restkit was added in r123641;
  • The port py-couchdbkit was updated updated to @0.6.5 and dependencies were fixed in r123646.

comment:11 Changed 10 years ago by petrrr

Cc: petr@… added

Cc Me!

comment:12 Changed 10 years ago by petrrr

Cc: petr@… removed

Cc Me!

comment:13 Changed 10 years ago by petrrr

Cc: blair@… added
Note: See TracTickets for help on using tickets.