Git Product home page Git Product logo

eispice's People

Contributors

charleseidsness avatar dvc94ch avatar girivs82 avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

eispice's Issues

Unicode

Executing following example:

import eispice
cct = eispice.Circuit("Capacitor Test")
cct.Vx = eispice.V(1, eispice.GND, 4,
  eispice.Pulse(4, 8, '10n', '2n', '3n', '5n', '20n'))
cct.Cx = eispice.C(1, eispice.GND, '10n')
cct.tran('0.5n', '100n')
eispice.plot(cct)

show one remaining problem:

Traceback (most recent call last):
  File "/home/omnius/Sim/eiSpice/Examples/capacitor.py", line 2, in <module>
    cct = eispice.Circuit("Capacitor Test")
  File "/usr/lib/python3.3/site-packages/eispice/circuit.py", line 127, in __init__
    Circuit_.__init__(self, title)
TypeError: circuit() argument 1 must be bytes, not str

Used on this line
cct = eispice.Circuit(b"Capacitor Test")

and got to:

Traceback (most recent call last):
  File "/home/omnius/Sim/eiSpice/Examples/capacitor.py", line 4, in <module>
    eispice.Pulse(4, 8, '10n', '2n', '3n', '5n', '20n'))
  File "/usr/lib/python3.3/site-packages/eispice/circuit.py", line 138, in __setattr__
    Circuit_.__setattr__(self, name, value)
TypeError: expected bytes, str found

Not sure at the moment how to fix that

Memory problem

Python-transition is almost complete (I think)

Following error running thest.py

FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
ERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
ERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
ERROR:simulator ./module/simulatormodule.c:1083 !PyArg_ParseTupleAndKeywords(args, kwds, "OOsS:B", kwlist, &pNode, &nNode, &type, &r->equation) --
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
FERROR:simulator ./module/simulatormodule.c:1633 !PyArg_ParseTupleAndKeywords(args, kwds, "|S:circuit", kwlist, &r->title) --
ERROR:LIBNAME core/simulator.c:662 *r == NULL --
WARNING:simulator ./module/simulatormodule.c:1457 Failed to destroy simulator
Speicherzugriffsfehler (Speicherabzug geschrieben)

Header files not found

Doing a plain make install work so far.

But creating a package for pacman throw errors.
Simply said. It cannot locate the custom header files.

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.