Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Loading file error on class Entity(), function add_section() #19

Open
dormanino opened this issue Nov 26, 2021 · 0 comments
Open

Loading file error on class Entity(), function add_section() #19

dormanino opened this issue Nov 26, 2021 · 0 comments

Comments

@dormanino
Copy link

dormanino commented Nov 26, 2021

Hi, I would thank you a lot if you could point me if the error:

    self.d[key] = int(status_number_string)
        ValueError: invalid literal for int() with base 10: ''

in the before mentioned class/function could be files issues or edge case issue

*file upload is not possible due github restrictions but we can arrange something - like convert the .txt to .igs please
A9584293168.txt

EDIT: found possible error from file but cant understand how pyIGES construct the image referencing the status number in the cls constructor - see position 65-72 - a.k.a - e.add_section(data[65:72], 'status_number'), line 326 from iges.py module

                                                                           !Here is pos 72
 406       1               1       1       0       0                D      1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant