Opened 15 years ago

Closed 13 years ago

#18530 closed defect (duplicate)

py25-pylons 0.9.6.2 requires py25-decorator

Reported by: venom087@… Owned by: stechert@…
Priority: Normal Milestone:
Component: ports Version: 1.7.0
Keywords: Cc: akitada@…
Port: py25-pylons

Description

After doing a port install of py25-pylons and trying to import pylons, I get the following traceback:

>>> import pylons
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
  File "/opt/local/lib/python2.5/site-packages/pylons/__init__.py", line 4, in <module>
    from pylons.config import config
  File "/opt/local/lib/python2.5/site-packages/pylons/config.py", line 2, in <module>
    from pylons.configuration import *
  File "/opt/local/lib/python2.5/site-packages/pylons/configuration.py", line 16, in <module>
    import pylons.legacy
  File "/opt/local/lib/python2.5/site-packages/pylons/legacy.py", line 10, in <module>
    import pylons.decorators
  File "/opt/local/lib/python2.5/site-packages/pylons/decorators/__init__.py", line 9, in <module>
    from decorator import decorator
ImportError: No module named decorator

Doing a port install of py25-decorator fixes this.

Attachments (1)

Portfile.diff (432 bytes) - added by mdippery@… 15 years ago.
Patch to add py25-decorator as a dependency

Download all attachments as: .zip

Change History (4)

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

Cc: akitada@… added; stechert akitada removed
Owner: changed from macports-tickets@… to stechert@…

Changed 15 years ago by mdippery@…

Attachment: Portfile.diff added

Patch to add py25-decorator as a dependency

comment:2 Changed 15 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

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

Resolution: duplicate
Status: newclosed
Note: See TracTickets for help on using tickets.