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

Error loading .sat file #60

Open
eldir opened this issue Aug 30, 2022 · 5 comments
Open

Error loading .sat file #60

eldir opened this issue Aug 30, 2022 · 5 comments
Assignees

Comments

@eldir
Copy link

eldir commented Aug 30, 2022

I'm getting an error trying to load a .sat file. Let me know if you need more information! It's a fresh installation of FreeCAD.

FreeCAD About

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 0.20.29177 (Git)
Build type: Release
Branch: releases/FreeCAD-0-20
Hash: 68e337670e227889217652ddac593c93b5e8dc94
Python 3.8.10, Qt 5.15.2, Coin 4.0.1, Vtk 8.2.0, OCC 7.6.2
Locale: English/United Kingdom (en_GB)
Installed mods: 
  * InventorLoader 1.3.0

Error Message

10:13:19  Traceback (most recent call last):
  File "<string>", line 1, in <module>
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\importerIL.py", line 147, in open
    _open(filename, skip, only, root)
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\importerIL.py", line 127, in _open
    reader = read(filename)
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\importerIL.py", line 46, in read
    if (importerSAT.readText(filename)):
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\importerSAT.py", line 163, in readText
    result = reader.readText()
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\Acis.py", line 4952, in readText
    self._readHeaderText()
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\Acis.py", line 4851, in _readHeaderText
    self.date,    data = getNextText(data)
  File "C:\Users\eldir\AppData\Roaming\FreeCAD\Mod\InventorLoader\.\Acis.py", line 4705, in getNextText
    count = int(m.group(1))
<class 'AttributeError'>: 'NoneType' object has no attribute 'group'
@luzpaz
Copy link
Contributor

luzpaz commented Aug 31, 2022

Can you include the file?

@eldir
Copy link
Author

eldir commented Aug 31, 2022

I'm afraid I cannot share the entire file, but I can share the header and the tail if that helps

500 0 2 0 
58 PRO/ENGINEER BY PARAMETRIC TECHNOLOGY CORPORATION, 2015480 8 ACIS 7.0 24
Tue Mar 13 09:58:36 2018 
1 0.030172922507418501 1e-10 
-0 body $-1 $-1 $-1 $2 #
0.99999999999999967 0 0 0 0 -0.15240000000000009 1 F 0 F 3.1415926535897931 #
End-of-ACIS-data

@drTusse
Copy link

drTusse commented Sep 26, 2022

I have the exakt same issue with a .sat file, I receive the very same error message. Any chance there's a fix? Same for me, I cannot share the file unfortunately

@HolographicPrince
Copy link

If you don't include the file how do you think this error cna be fixed? It's a trivial parsing error and ACIS has so many dialects.

@jmplonka
Copy link
Owner

@drTusse : Coult you please send me a test file?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants