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

E57 element path well formed but not defined (ErrorPathUndefined) #58

Open
spro1976 opened this issue Apr 23, 2024 · 4 comments
Open

E57 element path well formed but not defined (ErrorPathUndefined) #58

spro1976 opened this issue Apr 23, 2024 · 4 comments

Comments

@spro1976
Copy link

spro1976 commented Apr 23, 2024

I had the error
File ".venv\lib\site-packages\pye57\e57.py", line 214, in read_scan xyz = self.to_global(xyz, header.rotation, header.translation) File ".venv\lib\site-packages\pye57\scan_header.py", line 32, in rotation q = Quaternion([e.value() for e in self.node["pose"]["rotation"]]) pye57.libe57.E57Exception: E57 element path well formed but not defined (ErrorPathUndefined)
for e57 files created from Recap and also the downloaded e57 sample file Trimble Data - Muliple Scans point cloud from libe57
Does anybody know this topic?

@dancergraham
Copy link
Collaborator

Hello,
Thanks for the sample file - that should help with debugging. I'm on holiday right now but I can have a look in a week or two if no-one has had the opportunity sooner

@Eecornwell
Copy link

I have had a similar error attempting to re-apply a previous header onto a new scan write. Any followup on what this error means?

@Eecornwell
Copy link

Eecornwell commented Jul 24, 2024

I was able to solve my issue by commenting out header attributes inside of e57.py (lines starting at 234) that are not currently in my scan headers. I believe temperature, humidity, and datetime were not in my original header that I was attempting to copy over.

@meLordlp
Copy link

Hi, I have the same issue. I solved it with changing the code locally.
In the scan_header.py in line 31 you should check if rotation is in self.node["pose"]. If not just return Quaternion([1, 0, 0, 0]).elements.
Can this be fixed?

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

4 participants