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

NameError: name 'os' is not defined in scale_lidar_io #3

Open
BeckerFelix opened this issue Aug 18, 2022 · 0 comments
Open

NameError: name 'os' is not defined in scale_lidar_io #3

BeckerFelix opened this issue Aug 18, 2022 · 0 comments

Comments

@BeckerFelix
Copy link

BeckerFelix commented Aug 18, 2022

This bug doesn't affect this library, but it affects scale_lidar_io.

When callingscene.get_frame(frame_id).save() from scale_lidar_io/frame.py:460, it raises a NameError at

        # Save frame
        with open(os.path.join(path, "frame-%s.json" % self.id), "w") as file:
            file.write(self.to_json(base_url))

because os is not imported.

scale-lidar-io.                      0.1.165
scale-lidar-io-debug                 0.2.0
scaleapi.                            2.9.0
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