Giter Club home page Giter Club logo

Comments (6)

chipmuenk avatar chipmuenk commented on July 24, 2024

Thanx for reporting and sorry for the delay. I cannot exactly reproduce your error but I do get other errors (I dimly remember fixing something related to the key 'fx_base') so I will look into the issue!

from pyfda.

escherstair avatar escherstair commented on July 24, 2024

I see this crash with the last official release v0.7.1.
Maybe this is the reason why you can't reproduce it.

from pyfda.

chipmuenk avatar chipmuenk commented on July 24, 2024

Hm, could you perhaps try running the latest release (self-extracting executable for Windows and OSX, Flatpack for Linux)? There will be a new official release soon.

from pyfda.

escherstair avatar escherstair commented on July 24, 2024

Can you share the link of the release I should try?

from pyfda.

chipmuenk avatar chipmuenk commented on July 24, 2024

I had to rewrite the part for reading and writing filters as numpy arrays with irregular shapes ("ragged arrays") are discouraged / deprecated (https://numpy.org/devdocs/release/1.24.0-notes.html) and have become difficult to handle. Therefore, pyfda v0.8.0 no longer crashes but it also cannot read the old filter format anymore. Sorry aboout that!

from pyfda.

escherstair avatar escherstair commented on July 24, 2024

Hi @chipmuenk

Therefore, pyfda v0.8.0 no longer crashes

This is not 100% true, unfortunately.
If I open my old halfband_fir_decimator_by2 filter, pyfda shows the error message
[ ERROR][14:43:34.367] [pyfda_io_lib.py:1576] Missing key 'zpk' or wrong data type!
and it doesn't crash.
This is ok.

But as soon as I click on "b,a" tab, pyfda crashes with the following error

Traceback (most recent call last):
  File "C:\Users\<username>\AppData\Local\Programs\Python\Python39\lib\site-packages\pyfda\input_widgets\input_coeffs.py", line 159, in displayText
    if fb.fil[0]['fxqc']['QCB']['fx_base'] == 'float':
KeyError: 'fx_base'

from pyfda.

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.