Comments (6)
Generate commands from where? Can you help me replicate the issue?
from polargraphcontroller.
Step by step. I load the program from Processing, because the Java exe file didnt want to run. https://gyazo.com/a0b5918ab966d6b975e6709984751a34 (Console on startup if this helps any)
Start the Queue
Set Home
Load Image File
Load
Select Area, Show Density Range off
Mask the white area.
Render Pixels (Top Left, Var Freq Square Wave, Lift Pen over Masked.)
Generate Commands
Crash
The queue that would be sent goes from row: 24948.0 to 35262.0, skipping 18 numbers each time, the queue ending with Dir:SW and CME in orange at the top bar of the queue.
The Properties file if it'll help:
default.properties.txt
If there is anything else you may need, please ask for it!
from polargraphcontroller.
Have you gotten any idea or progress? It’s been a month.
from polargraphcontroller.
Hello, this is a fun one! I have two bad ways to solve it.
- Turn "show queue preview" off (the small toggle buttons) at the end of the buttons on the input tab.
- Wrap the call to queuePreview in a try/catch:
(line 843 onwards:
...
showGroupBox();
showCurrentMachinePosition();
try {
if (displayingQueuePreview)
previewQueue();
}
catch (ConcurrentModificationException cme)
{
// not doing anything with this exception - I don't mind if it's wrong on the screen for a second or two.
println("Caught CME coming from previewQueue(): " + cme.getMessage());
}
if (displayingInfoTextOnInputPage)
showText(250,45);
drawStatusText((int)statusTextPosition.x, (int)statusTextPosition.y);
...
I'm not sure what the problem actually is. I did replicate the issue and got the exception you described. There's nothing on that line (1624) that should be able to throw a concurrent modification exception!
I haven't dug into it. It looks to me that the list of pixels being extracted takes so long to be processed that some other process has time to interfere.
It's a very long list, and is quite unusual.
from polargraphcontroller.
I've pushed a try/catch, not the best way to do it, but it seems to work! See if it works for you.
from polargraphcontroller.
Kinda dissappointed but relieved that turning off the queue preview works. Such a simple thing. Thanks a lot though! Now I can finally doodle.
from polargraphcontroller.
Related Issues (20)
- With Ramps Steppers Not Working ! HOT 2
- Ubuntu error on port HOT 4
- Communication error ? HOT 3
- processing 3 updates / errors HOT 1
- When window is scaled buttons are not usable HOT 5
- Request for reversed order in serial dropdown HOT 2
- How to run the controller on Rpi? HOT 5
- Change zoom limits for very large machines HOT 2
- OSX: Polargraph "is damaged and can’t be opened. You should move it to the Trash." HOT 2
- Having issues with speed on homebrew machine. HOT 1
- Exported application doesn't run (Windows 10) / Load Vector doesn't work HOT 5
- The type Serial is ambiguous. HOT 1
- Version released Nov 2, 2017 does not run on Windows10 (x64t) at all
- Change density preview to use properly shaped segments HOT 1
- Add density preview mode to use SIZE rather than colour to visualise HOT 1
- Window resizing on Mac OS 10.10 HOT 2
- GCode functionality no longer available HOT 1
- Serial port select window doesn't allow me to choose ports near the bottom HOT 1
- Norwegian pixel offers no feedback when there's problems HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from polargraphcontroller.