Coder Social home page Coder Social logo

Comments (6)

michaelaye avatar michaelaye commented on August 23, 2024

Thanks. As already said in #16 (which I closed now for cleanliness and keeping this open), this happens for the toolkit N0065 currently. In #16 you will find a link to toolkit N0064 which works. Thanks for the patience.

from pyspice.

 avatar commented on August 23, 2024

Hi Michael,
thanks for your response. I checked the cspice version provided via dropbox link in #16 and noticed that it is for unix (based on the file makeall.csh). I am using Windows 7. I used the dropbox version of cspice and replaced makeall.csh with makeall.bat from the newest cspice version. Following the manual installation procedure and after running the first command, I now get the following error message:

"
File "mkwrapper.py", line 1077, in
print main(cspice_toolkit)

File "mkwrapper.py", line 1023, in main
gen_wrapper(curr_prototype, buffer)

File "mkwrapper.py", line 537, in gen_wrapper
doc = get_doc(prototype_obj.function_name)

File "mkwrapper.py", line 193, in get_doc
f.seek(f.tell()-input_len)
IOError: [Errno 22] Invalid argument
"

Thanks for your work on this project!

from pyspice.

michaelaye avatar michaelaye commented on August 23, 2024

Sorry, don't have a Windows machine for debugging. I'm quite annoyed that NAIF does not seem to offer links to older versions, maybe something changed in between N64 and N65 there as well?
Hopefully somebody else can help?
Also I will be out of network for the next 2 weeks of my holidays.

from pyspice.

drbitboy avatar drbitboy commented on August 23, 2024

Old versions:

ftp://naif.jpl.nasa.gov/pub/naif/misc/

?

from pyspice.

michaelaye avatar michaelaye commented on August 23, 2024

Ah, thanks! Didn't know about that one. The website does not mention anything about it, at least I could not find it.

from pyspice.

drbitboy avatar drbitboy commented on August 23, 2024

A quick fix for SPICE toolkit N0065

https://github.com/drbitboy/PySPICE

Basically just excludes a few new functions that trip up mkwrapper.py.

from pyspice.

Related Issues (13)

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.