prusa3d / PrusaSlicer

G-code generator for 3D printers (RepRap, Makerbot, Ultimaker etc.)
https://www.prusa3d.com/prusaslicer/
GNU Affero General Public License v3.0
7.71k stars 1.93k forks source link

[2.2.0-alpha2] Duplicate mouse_device section in ini - app crash #3479

Closed foreachthing closed 4 years ago

foreachthing commented 4 years ago

Version

2.2.0-alpha2

Operating system type + version

Win 10 x64 1809

Behavior

Workaround

Edit ini file, remove duplicate [mouse_device] section.

NOTE

These settings should not be necessary, since 3DConnexion has its own speed settings etc. - use those, please.

enricoturri1966 commented 4 years ago

@foreachthing I am unable to replicate the duplication of data into the ini file. Could you please add more info in how you get it ?

foreachthing commented 4 years ago

Well, no more than this:

  1. INITIAL start Prusa Slicer
  2. CTRL+M for changing the default values (is not needed; just to test if values are read at start)
  3. Close PS
  4. Start PS
  5. Close PS
  6. Start PS - Crash.
  7. Clean ini
  8. goto 4

image PrusaSlicer.ini.txt

Once PS has been started, I need to clean up the ini file. After closing, PS writes duplicate entries again....

If you need more info, please let me know.

foreachthing commented 4 years ago

After looking at the ini bit more closely .... I can see an unmotivated space in the section name:

[mouse_device:3Dconnexion /SpacePilot PRO 3Dmouse]
rotation_deadzone = 0.100000
rotation_speed = 2.000000
translation_deadzone = 0.100000
translation_speed = 2.000000

[mouse_device:3Dconnexion /SpacePilot PRO 3Dmouse ]
rotation_deadzone = 0.100000
rotation_speed = 1.500000
translation_deadzone = 0.100000
translation_speed = 1.700000
enricoturri1966 commented 4 years ago

My commit automatically closed the issue. This was not intentional ;)

foreachthing commented 4 years ago

I close here as it works for me.

foreachthing commented 4 years ago

Just to make one thing abundantly clear: I LOVE that I can use my SpacePilot with PS!!!! Big THANKS to the devs!