Giter Site home page Giter Site logo

Comments (4)

fsmMLK avatar fsmMLK commented on August 16, 2024

Hum... I wonder whether Mac OS has problems with python's 'tempfile' module

from inkscapecircuitsymbols.

vitorsmonteiro avatar vitorsmonteiro commented on August 16, 2024

I'm having a similar issue in Inkscape0.92/Windows10 when using the general circuit extension. Here is the error message;

Traceback (most recent call last):
File "circuitSymbols.py", line 2264, in
circuit.affect()
File "inkex.py", line 283, in affect
self.effect()
File "circuitSymbols.py", line 247, in effect
currName=so.bipoleRLCCurrName,invertArrows=so.bipoleRLCVoltCurrInvert)
File "circuitSymbols.py", line 568, in drawResistor
inkDraw.text.latex(self,group,value,pos_text,fontSize=self.fontSize,refPoint='bc',preambleFile=self.preambleFile)
File "inkscapeMadeEasy_Draw.py", line 1230, in latex
tex.affect([r'--text=' + LatexCommands + LaTeXtext, '--scale-factor=1', '--preamble-file=' + preambleFile, tempFilePath], output=False)
File "inkex.py", line 283, in affect
self.effect()
File "textextLib/textext.py", line 126, in effect
% ';\n'.join(converter_errors))
RuntimeError: No Latex -> SVG converter available:
PstoeditPlotSvg: Command pstoedit -help failed: [Error 2] The system cannot find the file specified;
SkConvert: Command pstoedit failed: [Error 2] The system cannot find the file specified;
Pdf2Svg: Command pdf2svg failed: [Error 2] The system cannot find the file specified

When using the semiconductor it works fine as long as I uncheck the "Add voltage arrow" and "Add voltage box". When they are selected a error appears. Here is the complete error message from when those checkbox are selected:

Traceback (most recent call last):
File "circuitSymbols.py", line 2264, in
circuit.affect()
File "inkex.py", line 283, in affect
self.effect()
File "circuitSymbols.py", line 390, in effect
currName=so.diodeCurrName,invertArrows=not so.diodeVoltCurrInvert,flagType=so.diode,mirror=so.diodeMirror)
File "circuitSymbols.py", line 832, in drawDiode
self.drawVoltArrow(group,[position[0]+25 ,position[1]+7],name=voltName,color=self.voltageColor,angleDeg=angleDeg,invertArrows= not (invertArrows != mirror ))
File "circuitSymbols.py", line 2166, in drawVoltArrow
refPoint=justif,textColor=color,angleDeg=-theta,preambleFile=self.preambleFile)
File "inkscapeMadeEasy_Draw.py", line 1230, in latex
tex.affect([r'--text=' + LatexCommands + LaTeXtext, '--scale-factor=1', '--preamble-file=' + preambleFile, tempFilePath], output=False)
File "inkex.py", line 283, in affect
self.effect()
File "textextLib/textext.py", line 126, in effect
% ';\n'.join(converter_errors))
RuntimeError: No Latex -> SVG converter available:
PstoeditPlotSvg: Command pstoedit -help failed: [Error 2] The system cannot find the file specified;
SkConvert: Command pstoedit failed: [Error 2] The system cannot find the file specified;
Pdf2Svg: Command pdf2svg failed: [Error 2] The system cannot find the file specified

I'm really new at this, so maybe is a simple mistake. I really hope this works, it seems a great tool.
Regards,

from inkscapecircuitsymbols.

fsmMLK avatar fsmMLK commented on August 16, 2024

I guess you are having problems with latex support. Did you try to disable Latex support?

follow the instructions here:
https://fsmmlk.github.io/inkscapeMadeEasy/

from inkscapecircuitsymbols.

fsmMLK avatar fsmMLK commented on August 16, 2024

I am uploading soon a new version of inksapeMadeEasy that might solve the possible problem with tempfile.

from inkscapecircuitsymbols.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.