Recent Posts

Sunday, September 22, 2019

sfc_models Parsing Errors?

I got a question about a parsing error in the sfc_models package.  The error given is:

"NotImplementedError: Non-simple parsing not done"

If this is happening to you, the file needs to be updated to match the development branch version. Link to the file:

There was a change of behaviour between Python versions 3.4/3.5 and 3.7. The code is now cleaner, and it now works for me on Python versions 3.5 and 3.7.

I have pushed the change to both branches on GitHub, and updated the release version on PyPi (what pip installs) to version 1.0.3.

Note: If you have problems, one way to diagnose problems is to run the unit tests. (Very easy to do from PyCharm.)

(c) Brian Romanchuk 2019


  1. Thank you for this Brian. It works perfectly now.

    1. (This is Brian.) Great. I was unsure about the fix, and so I held off pushing it to GitHub.


Note: Posts may be moderated, and there may be a considerable delay before they appear.

Although I welcome people who disagree with me, please be civil.

Please note that my spam comment filter appears to dislike long "anonymous" posts.

Note: if you want to post comments from Apple devices (iPhone, iPad), you apparently need to turn off "prevent cross-site tracking" in Safari privacy settings. (The reason presumably is that another URL handles comments, and so the user session needs to be preserved when redirected to that site. I don't like this, but this is not enough to make me switch my hosting service.)