# Random issue with Gerber export, PCB not usable

**URL:** <https://forum.fritzing.org/t/random-issue-with-gerber-export-pcb-not-usable/2499>\
**Category:** bugs\
**Created:** [November 25, 2016, 10:45am UTC](https://forum.fritzing.org/t/random-issue-with-gerber-export-pcb-not-usable/2499 "2016-11-25T10:45:50Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![aisler](https://forum.fritzing.org/user_avatar/forum.fritzing.org/aisler/32/1581_2.png) [@aisler](https://forum.fritzing.org/u/aisler)\
**Post date:** [November 25, 2016, 10:45am UTC](https://forum.fritzing.org/t/random-issue-with-gerber-export-pcb-not-usable/2499/1 "2016-11-25T10:45:51Z")

</div>

### Steps I took that resulted in the problem:

Export Gerber files through CLI. About 50% of exports have the copper top layer destroyed. I used the chaser light as an example project.  
Please see attached screenshots for valid and invalid output. This only happens to copper top layer.

 ![](https://forum.fritzing.org/uploads/default/original/2X/4/4234f13ee5daaaa4b8321ed26a2412d4623c0d35.png)  
…

### What I expected should have happened instead:

Export of proper Gerber files for production.  
…

### My version of Fritzing and my operating system:

Linux x64 with current version of Fritzing. Tested on Ubuntu 16.04 LTS and Linux Mint.  
…

I already created an issue on Github but got no answer yet. [https://github.com/fritzing/fritzing-app/issues/3288](https://github.com/fritzing/fritzing-app/issues/3288)  
Attached to the Github issue is also an Ruby script to reproduce the issue.
