|
[PyFeyn] Issues running examples onGeorge S. Williams physicist at websterling.comSun Dec 27 19:53:46 GMT 2015
Hello, Farias, There is a bug in PyFeyn 0.3.4 that causes this problem using PyX0.12. The problem is fixed in the SVN, but it still needs to be packaged for release. I have a zip of the current SVN available at- https://users.hepforge.org/~websterling/ftp/pyfeyn-0.3.5.zip If you replace your version with this one, everything should work fine. Best, George S. Williams On 12/27/2015 6:36 AM, Antonio Carlos Amaro de Faria Junior wrote: > > Dear Pyfeyn developers, > > I thank you in advance for any assistance you may be able to offer > with my problem. I would like to use PyFeyn on a project as it looks > like it will be extremely useful for my work on this. > > I tried to run your examples and am, in all cases receiving an error > on the call of FeynDiagram().Draw() > > See stack trace for the Higgs Loop example below: > > Traceback (most recent call last): > File "test1.py", line 15, in <module> > fd.draw("pyfeyn-test1.pdf") > File "build/bdist.macosx-10.9-intel/egg/pyfeyn/diagrams.py", line > 69, in draw > File "build/bdist.macosx-10.9-intel/egg/pyfeyn/diagrams.py", line > 61, in drawToCanvas > File "build/bdist.macosx-10.9-intel/egg/pyfeyn/lines.py", line 329, > in draw > File > "/Library/Python/2.7/site-packages/PyX-0.12-py2.7.egg/pyx/canvas.py", > line 298, in stroke > self.draw(path, [deco.stroked]+list(attrs)) > File > "/Library/Python/2.7/site-packages/PyX-0.12-py2.7.egg/pyx/canvas.py", > line 284, in draw > adeco.decorate(dp, self.texrunner) > File "build/bdist.macosx-10.9-intel/egg/pyfeyn/deco.py", line 46, in > decorate > File "build/bdist.macosx-10.9-intel/egg/pyfeyn/deco.py", line 16, in > getarrowpath > NameError: global name 'self' is not defined > > I am running Python 2.7.5 with pyX 0.12 and PyFeyn 0.3.4. on Mac OSX > 10.9 Is there a possible version conflict? I’ll be happy to try other > versions if applicable. > > Many thanks, > > Farias > > > _______________________________________________ > PyFeyn mailing list > PyFeyn at projects.hepforge.org > https://www.hepforge.org/lists/listinfo/pyfeyn --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus -------------- next part -------------- An HTML attachment was scrubbed... URL: <https://www.hepforge.org/lists-archive/pyfeyn/attachments/20151227/142a3292/attachment.html>
More information about the PyFeyn mailing list |