Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Workbench error with phyton 3 #7

Open
Geoplace opened this issue Mar 20, 2019 · 1 comment
Open

Workbench error with phyton 3 #7

Geoplace opened this issue Mar 20, 2019 · 1 comment

Comments

@Geoplace
Copy link

Hi,
When starting FreeCad v.0.18 the Report View shows:

During initialization the error inconsistent use of tabs and spaces in indentation (, line 48) occurred in C:\Users\vallejo1\AppData\Roaming\FreeCAD\Mod\GDT\InitGui.py

The workbench is not listed in the drop down selector list.

It seems related to the migration to phyton 3 in this version.

OS: Windows 8.1
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.16093 (Git)
Build type: Release
Branch: releases/FreeCAD-0-18
Hash: 690774c0effe4fd7b8d2b5e2fb2b8c8d145e21ce
Python version: 3.6.6
Qt version: 5.6.2
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Spanish/Mexico (es_MX)

Regards

@allanlaal
Copy link

I get the same error on a Python3 system. Python2 is hopelessly outdated by now :(

Foadsf added a commit to Foadsf/FreeCAD-GDT that referenced this issue Jul 23, 2024
Replaced all tabs with spaces to resolve indentation error.

fixes:

- juanvanyo#7
- juanvanyo#8
- juanvanyo#9
juanvanyo pushed a commit that referenced this issue Jul 23, 2024
* Fix inconsistent use of tabs and spaces in InitGui.py

Replaced all tabs with spaces to resolve indentation error.

fixes:

- #7
- #8
- #9

* Fix syntax error in GDT.py by replacing <> with !=

Replaced all instances of <> with != to resolve invalid syntax error at line 279.

fixes #14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants