Wade Brainerd wrote: > Hi there, > > I'm trying to set up Trac with Perforce in a Cygwin environment. > Everything > seems to be working properly, aside from the Perforce integration: > > [EMAIL PROTECTED] /srv/trac/tl/plugins > $ !tracd > tracd --port 800 /srv/trac/tl/ > 13:29:45 Trac[__init__] DEBUG: Loading egg plugin perforce from > /srv/trac/tl/plugins/TracPerforce-0.4.2-py2.4.egg > 13:29:45 Trac[__init__] WARNING: Failed to import PyPerforce: Permission > denied > 13:29:45 Trac[__init__] WARNING: 500 Internal Error (Unsupported version > control system "perforce") > > I have some Python programming experience but am having a bit of trouble > working out where or why this Permission denied error is occuring. Do you > have any suggestions that might help me track it down?
Hi Wade, I think the problem here is due to a bug in the Cygwin implementation of setuptools. The cygwin platform doesn't unpack .egg files that contain Python extension modules correctly; the execute permission isn't set on the unpacked .dll, causing the "Permission denied" error you're seeing. A workaround is to build PyPerforce either as a binary distribution (python setup.py bdist) and unzip it into your Python's site-packages directory or to build an RPM (python setup.py bdist_rpm) and install that. Hope that helps. Cheers, Lewis. -- Lewis Baker I-SiTE Software Engineer 3D Laser Imaging Email : [EMAIL PROTECTED] http://www.isite3d.com.au/
begin:vcard fn:Lewis Baker n:Baker;Lewis org:I-SiTE 3D Laser Imaging;Software Development Team adr:;;63 Conyngham St.;Glenside;SA;5065;Australia email;internet:[EMAIL PROTECTED] title:Software Engineer tel;work:+61 8 8338 9222 note:OpenPGP Key ID: 0x60D0F558 x-mozilla-html:TRUE url:http://www.isite3d.com version:2.1 end:vcard
_______________________________________________ Trac mailing list [email protected] http://lists.edgewall.com/mailman/listinfo/trac
