joelgraff / freecad.trails

Trails is the Transportation Engineering workbench for FreeCAD
GNU Lesser General Public License v2.1
68 stars 12 forks source link

FIX #blocker: unexpected indent (alignment_model.py, line 479) #83

Closed allanlaal closed 3 years ago

allanlaal commented 3 years ago

trails: todays master tip FreeCAD 0.20, Libs: 0.20R25220

when switching to trails Workspace:

unexpected indent (alignment_model.py, line 479)
Traceback (most recent call last):
  File "/home/allan/.FreeCAD/Mod/trails/freecad/trails/init_gui.py", line 225, in Initialize
    from .design.project.commands import create_alignment_from_line
  File "/home/allan/.FreeCAD/Mod/trails/freecad/trails/design/project/commands/create_alignment_from_line.py", line 28, in <module>
    from ...alignment import horizontal_alignment
  File "/home/allan/.FreeCAD/Mod/trails/freecad/trails/design/alignment/horizontal_alignment.py", line 41, in <module>
    from .alignment_model import AlignmentModel
joelgraff commented 3 years ago

Hmmm. I’ll take a look in the next day or so. Thanks for pointing it out.

allanlaal commented 3 years ago

fixed (seemingly) by replacing freecad/trails/design/alignment/alignment_model.py with the contents of freecad/trails/design/alignment/alignment_model_rewrite.py

joelgraff commented 3 years ago

This has been fixed.