SynDaverCO / symple-slicer

A web-based slicer for 3D printers using the Cura Engine
GNU Affero General Public License v3.0
21 stars 9 forks source link

TOML import error #140

Open synsuiter opened 3 years ago

synsuiter commented 3 years ago

I was on the current, 1.0.16, version of the User Symple Slicer.

Describe the bug Not a bug, more like a communication improvement request.

I imported a .TOML file that was missing the quotes around one of the named values: "zigzag". When I applied the profile, Symple Slicer gave me this pop up message: "Error: Cannot read property 'split' of undefined Line:" BUT it did not give me the line that had the error, making it difficult for me to find and solve. (Thank you @marciot for finding it!)

Expected behavior It should give the toml file line with the error in the pop up message.

error producing TOML file attached as TXT file.

PETG_clip-board.txt

synsuiter commented 2 years ago

does this still need to be on hold or is there a possible fix?

marciot commented 2 years ago

@synsuiter: Right now I have not solution, as this is part of a third party code library, but maybe in the future they either release an update or I find some other way to solve the issue. I think leaving it on hold is reasonable.

synsuiter commented 2 years ago

k, sounds like a plan.