paulh-rnd / TabbedBoxMaker

Inkscape tabbed box generator plugin - quickly design complex "finger jointed" boxes
GNU General Public License v2.0
200 stars 47 forks source link

Schroff Box Maker traceback - using Unix path on Windows #6

Closed ZenithDK closed 8 years ago

ZenithDK commented 8 years ago

I tried to use the Schroff box maker on Windows, Inkscape version 0.91

Traceback (most recent call last):
  File "boxmaker.py", line 489, in <module>
    effect.affect()
  File "C:\Program Files\Inkscape\share\extensions\inkex.py", line 268, in affect
    self.effect()
  File "boxmaker.py", line 429, in effect
    log("rail holes enabled on piece %d at (%d, %d)" % (idx, x+thickness,y+thickness))
  File "boxmaker.py", line 39, in log
    f = open('/tmp/boxmaker.log', 'a')
IOError: [Errno 2] No such file or directory: '/tmp/boxmaker.log'
jsleeio commented 8 years ago

Looks like an easy fix. I apologise for this, it is entirely my fault. I'll try to get a new branch for you to test later today. :-)

jsleeio commented 8 years ago

@ZenithDK does this fix your problems?

https://github.com/indigoid/TabbedBoxMaker/tree/windows-logging-fix

ZenithDK commented 8 years ago

Will test later today!

ZenithDK commented 8 years ago

Got it tested today, it works! Thanks!

jsleeio commented 8 years ago

Cool, thanks @ZenithDK. Please carefully check the output (mainly the rail mountings) before lasercutting files from the Schroff generator; I haven't had feedback on it from anyone else. But it's worked for me — have used it to build two Eurorack synth cases 🎹