fritzing / fritzing-app

Fritzing desktop application
http://fritzing.org
Other
4.01k stars 828 forks source link

Fritzing doesn't create copper/ground fill under Ubuntu 12.04 LTS x64 #3016

Closed ostrosablin closed 9 years ago

ostrosablin commented 10 years ago

Fritzing 0.9.0b seems to be unable to generate copper/ground fill under Ubuntu 12.04 LTS x64. After selecting the fill options, the progressbar stays here for a few minutes, then fill dialog just closes, apparently with failure (since no fill is actually added). On other hand, Windows version does that properly for same board and takes just a 20-30 seconds to perform a fill (even under a VM with a low amount of RAM), so this appears to be Linux-only bug.

aknoerig commented 10 years ago

Can verify this, too. There is also a related forum post that reports a similar problem for autorouting.

ostrosablin commented 10 years ago

Ah, yes. Now that you mention it, autorouting didn't seem to work properly either. For me, it just routed a very few traces (but not zero), so it didn't occur to me it was a bug, I just thought that algorithm was able to deal only with very simple PCBs, so I did routing by hand :)

But regarding both copper fill and autorouting bugs - I've tried them both with Fritzing 0.8.7b and both operations seem to work properly (autorouter does create traces and ground fill actually fills board, pretty much like Windows version does). So, like #3015 , this appears to be broken somewhere between 0.8.7b and 0.9.0b. Might be difficult to track down, though, since there seems to be a lot changes between those versions.

aknoerig commented 9 years ago

With Jonathan's help, we identified the problem to be in the locale setting. Some floats were getting written with a ',' as decimal separator if the locale suggests so. This is fixed for the next release (see 9d5d39d8d80a14ac4a107acfb93350513a47834e).

As a workaround, you could temporarily set your locale to US English.