You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello,
Thank you for your wonderful work. I'm currently facing an issue with SKiDL when trying to use generate_svg(). I would appreciate any guidance on how to resolve these warnings and errors.
KICAD-5.
Code used:
from skidl import *
Create net stubs.
e, b, c = Net("ENET"), Net("BNET"), Net("CNET")
e.stub, b.stub, c.stub = True, True, True
for q, tx in zip(qt(8), ['', 'H', 'V', 'R', 'L', 'VL', 'HR', 'LV']):
q['E B C'] += e, b, c # Attach stubs to transistor pins.
q.symtx = tx # Assign orientation to transistor attributes.
q.ref = 'Q_' + tx # Place orientation in transistor reference.
generate_svg()
Error:
ERROR: No footprint for Q_PNP_CBE/Q_. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_H. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_V. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_R. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_L. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_VL. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_HR. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_LV. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
Traceback (most recent call last):
File "C:\Users\abhic\OneDrive\Documents\SKiDL\main.py", line 15, in
generate_svg()
File "C:\Users\abhic\OneDrive\Documents\SKiDL\venv\Lib\site-packages\skidl\circuit.py", line 999, in generate_svg
subprocess.Popen(
File "C:\Users\abhic\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\abhic\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered:
Hello,
Thank you for your wonderful work. I'm currently facing an issue with SKiDL when trying to use generate_svg(). I would appreciate any guidance on how to resolve these warnings and errors.
KICAD-5.
Code used:
from skidl import *
Create net stubs.
e, b, c = Net("ENET"), Net("BNET"), Net("CNET")
e.stub, b.stub, c.stub = True, True, True
Create transistor part template.
qt = Part(lib="Device.lib", name="Q_PNP_CBE", dest=TEMPLATE)
Instantiate transistor with various orientations.
for q, tx in zip(qt(8), ['', 'H', 'V', 'R', 'L', 'VL', 'HR', 'LV']):
q['E B C'] += e, b, c # Attach stubs to transistor pins.
q.symtx = tx # Assign orientation to transistor attributes.
q.ref = 'Q_' + tx # Place orientation in transistor reference.
generate_svg()
Error:
ERROR: No footprint for Q_PNP_CBE/Q_. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_H. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_V. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_R. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_L. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_VL. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_HR. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
ERROR: No footprint for Q_PNP_CBE/Q_LV. @ [C:\Users\abhic\OneDrive\Documents\SKiDL\main.py:15]
Traceback (most recent call last):
File "C:\Users\abhic\OneDrive\Documents\SKiDL\main.py", line 15, in
generate_svg()
File "C:\Users\abhic\OneDrive\Documents\SKiDL\venv\Lib\site-packages\skidl\circuit.py", line 999, in generate_svg
subprocess.Popen(
File "C:\Users\abhic\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1026, in init
self._execute_child(args, executable, preexec_fn, close_fds,
File "C:\Users\abhic\AppData\Local\Programs\Python\Python311\Lib\subprocess.py", line 1538, in _execute_child
hp, ht, pid, tid = _winapi.CreateProcess(executable, args,
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [WinError 2] The system cannot find the file specified
The text was updated successfully, but these errors were encountered: