Inkscape.org
Beginners' Questions circuitSymbols library error
  1. #1
    montrealcc montrealcc @montrealcc

    Hi,

    I use Inkscape 0.91. I installed the circuitSymbols library. I'm able to use some of the tabs such as "RLC" and "Ind. Src"; however, when I try to use some other such as "Dep. Src" or "Switches", it gives me the error below. Do you have any advice about the issue?

    Thanks in advance,

    Traceback (most recent call last):
      File "circuitSymbols.py", line 577, in <module>
        circuit.affect()
      File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
        self.effect()
      File "circuitSymbols.py", line 435, in effect
        convention=so.switchConvention)
      File "C:\Users\bacif\AppData\Roaming\inkscape\extensions\drawSwitches.py", line 175, in drawNPNT
        strokeColor=color, fillColor=color)
      File "C:\Users\bacif\AppData\Roaming\inkscape\extensions\inkscapeMadeEasy_Draw.py", line 654, in createArrow1Marker
        nameStart = marker.createMarker(ExtensionBaseObj, nameID + 'Start', markerPath, RenameMode, strokeColor, fillColor, width, markerTransform)
      File "C:\Users\bacif\AppData\Roaming\inkscape\extensions\inkscapeMadeEasy_Draw.py", line 462, in createMarker
        if RenameMode == 0 and ExtensionBaseObj.findMarker(nameID):
      File "C:\Users\bacif\AppData\Roaming\inkscape\extensions\inkscapeMadeEasy_Base.py", line 927, in findMarker
        for m in self.getDefsByTag(tag='marker'):
      File "C:\Users\bacif\AppData\Roaming\inkscape\extensions\inkscapeMadeEasy_Base.py", line 297, in getDefsByTag
        return self.getDefinitions().findall('.//svg:%s' % tag, namespaces=inkex.NSS)
    TypeError: findall() takes no keyword arguments

  2. #2
    phiscribe phiscribe @phiscribe

    Maybe disable Latex.  https://fsmmlk.github.io/inkscapeMadeEasy/

  3. #3
    Tyler Durden Tyler Durden @TylerDurden

    There are also electrical symbol-sets freely available.

    https://launchpadlibrarian.net/463796753/Electrical_symbols%20_library%20.svg

    The file is best placed in the user profile so it remains when Inkscape is updated. 

     

    Have a nice day.

    TD

  4. #4
    montrealcc montrealcc @montrealcc

    @phiscribe Disabling Latex didn't help (although I have Miktex and Texstudio), I got the same error again.

    @TylerDurden Thank you for the alternative symbols.