Opened 12 years ago

Closed 10 years ago

#18530 closed defect (duplicate)

py25-pylons requires py25-decorator

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


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/", line 4, in <module>
    from pylons.config import config
  File "/opt/local/lib/python2.5/site-packages/pylons/", line 2, in <module>
    from pylons.configuration import *
  File "/opt/local/lib/python2.5/site-packages/pylons/", line 16, in <module>
    import pylons.legacy
  File "/opt/local/lib/python2.5/site-packages/pylons/", line 10, in <module>
    import pylons.decorators
  File "/opt/local/lib/python2.5/site-packages/pylons/decorators/", 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@… 12 years ago.
Patch to add py25-decorator as a dependency

Download all attachments as: .zip

Change History (4)

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

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

Changed 12 years ago by mdippery@…

Attachment: Portfile.diff added

Patch to add py25-decorator as a dependency

comment:2 Changed 12 years ago by (none)

Milestone: Port Bugs

Milestone Port Bugs deleted

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

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