[PyFeyn] PyFeyn error with fd.draw

Ian Brock brock at physik.uni-bonn.de
Mon Jun 6 20:47:29 BST 2016


Hi George,

Result  of pip freeze:
PyX==0.14.1
pyfeyn==1.0.0

Best Regards
Ian

Ian C. Brock | Physikalisches Institut, Universität Bonn | Nußallee 12 | D-53115 Bonn
Tel. +49 228 733616 | Email: brock at physik.uni-bonn.de <mailto:brock at physik.uni-bonn.de>



> On 06 Jun 2016, at 20:50, George S. Williams <physicist at websterling.com> wrote:
> 
> Hey, Ian,
> 
> Sorry you're having a problem with PyFeyn. I think the problem is actually with PyX- they change an API and any code that relied on that API call from a previous version is broken. We've had that problem in the past.
> 
> Would you please let us know which versions of PyX and PyFeyn you have installed?
> 
> Thanks,
> George
> 
> 
> On 6/6/2016 12:20 PM, Ian Brock wrote:
>> Dear PyFeyn,
>> 
>> I get an error when trying to run the first PyFeyn test file:
>> python pyfeyn-test1.py 
>> /usr/local/texlive/2015/texmf-dist/tex/latex/hepnames/hepnicenames.sty
>> Traceback (most recent call last):
>>   File "pyfeyn-test1.py", line 26, in <module>
>>     fd.draw("pyfeyn-test1.pdf")
>>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfeyn/diagrams.py", line 70, in draw
>>     c = self.drawToCanvas()
>>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfeyn/diagrams.py", line 62, in drawToCanvas
>>     obj.draw(self.currentCanvas)
>>   File "/opt/local/Library/Frameworks/Python.framework/Versions/3.5/lib/python3.5/site-packages/pyfeyn/lines.py", line 522, in draw
>>     ass, bs, cs = para.normpath_selfintersections(mypath.normpath(), epsilon=0.01)
>> TypeError: normpath_selfintersections() missing 1 required positional argument: 'eps_comparepairs'
>> 
>> I am using Python3.5 installed via Macports.
>> I installed PyX and PyFeyn via pip. This worked without any error messages.
>> I tested hepnames in test file and it works fine.
>> 
>> Best Regards
>> Ian
>> 
>> Ian C. Brock | Physikalisches Institut, Universität Bonn | Nußallee 12 | D-53115 Bonn
>> Tel. +49 228 733616 | Email:  <mailto:brock at physik.uni-bonn.de>brock at physik.uni-bonn.de <mailto:brock at physik.uni-bonn.de>
>> 
>> 
>> 
>> 
>> 
>> _______________________________________________
>> PyFeyn mailing list
>> PyFeyn at projects.hepforge.org <mailto:PyFeyn at projects.hepforge.org>
>> https://www.hepforge.org/lists/listinfo/pyfeyn <https://www.hepforge.org/lists/listinfo/pyfeyn>
> 
>  <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=icon>	Virus-free. www.avast.com <https://www.avast.com/sig-email?utm_medium=email&utm_source=link&utm_campaign=sig-email&utm_content=emailclient&utm_term=link>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://www.hepforge.org/lists-archive/pyfeyn/attachments/20160606/30d0e18e/attachment.html>


More information about the PyFeyn mailing list