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

Rendering can't just fail when Gerber file is empty #313

Open
Argmaster opened this issue Oct 6, 2024 · 0 comments
Open

Rendering can't just fail when Gerber file is empty #313

Argmaster opened this issue Oct 6, 2024 · 0 comments
Assignees
Labels
enhancement New feature or request
Milestone

Comments

@Argmaster
Copy link
Owner

Argmaster commented Oct 6, 2024

File "Q:\dev_ubuntu_24_04\pygerber2\src\pygerber\vm_init_.py", line 31, in render
return PillowVirtualMachine(**options).run(rvmc)
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
File "Q:\pygerber2\src\pygerber\vm\pillow\vm.py", line 356, in run
super().run(rvmc)
File "Q:\pygerber2\src\pygerber\vm\vm.py", line 295, in run
command.visit(self)
File "Q:\pygerber2\src\pygerber\vm\commands\layer.py", line 33, in visit
visitor.on_end_layer(self)
File "Q:\pygerber2\src\pygerber\vm\vm.py", line 229, in on_end_layer
raise EmptyAutoSizedLayerNotAllowedError(top_layer.layer_id)
pygerber.vm.types.errors.EmptyAutoSizedLayerNotAllowedError: id='%main%'

@Argmaster Argmaster added the enhancement New feature or request label Oct 6, 2024
@Argmaster Argmaster added this to the 3.0.0a3 milestone Oct 6, 2024
@Argmaster Argmaster self-assigned this Oct 6, 2024
@Argmaster Argmaster moved this to In Progress in PyGerber Oct 6, 2024
@Argmaster Argmaster modified the milestones: 3.0.0a3, 3.0.0a4 Oct 13, 2024
@Argmaster Argmaster mentioned this issue Oct 13, 2024
49 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
Status: In Progress
Development

No branches or pull requests

1 participant