View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0004638 | Draft | Bug | public | 2021-04-18 11:14 | 2021-04-21 18:55 |
Reporter | le_top | Assigned To | |||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | 0.19 | ||||
Fixed in Version | 0.20 | ||||
Summary | 0004638: cannot import name '_ViewProviderDimension' from 'Draft' | ||||
Description | Platform: Windows 10 Works with FreeCAD 0.18, not with FreeCAD 0.19 . FreeCAD 0.19's python reports "cannot import name '_ViewProviderDimension' from 'Draft' " . | ||||
Steps To Reproduce | Create two files: - test.scad:
- test.py:
Then launch (on Windows), using FreeCAD's python: "c:\Program Files\FreeCAD 0.19\bin\python.exe" test.py Compare with FreeCAD 0.18 . "c:\Program Files\FreeCAD 0.18\bin\python.exe" test.py | ||||
Additional Information | Output on my machine: Test using FreeCAD 0.19:
Test using 0.18 (do not mind "list index out of range" - this is related to stripping the original code down to a test case.
| ||||
Tags | No tags attached. | ||||
FreeCAD Information | OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.16110 (Git) Build type: Release Branch: (HEAD detached at upstream/releases/FreeCAD-0-18) Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40 Python version: 3.6.6 Qt version: 5.6.2 Coin version: 4.0.0a OCC version: 7.3.0 Locale: French/France (fr_FR) | ||||
|
test.py (111 bytes)
#!/usr/bin/python import FreeCAD import Part # This should read any type of file FreeCAD.loadFile("test.scad") |
|
This has been fixed in the 0.20 development version and should be backported to v0.19.2 (we don't have a date for that release yet). Closing ticket. |
Date Modified | Username | Field | Change |
---|---|---|---|
2021-04-18 11:14 | le_top | New Issue | |
2021-04-18 11:14 | le_top | File Added: test.py | |
2021-04-18 11:14 | le_top | File Added: test.scad | |
2021-04-21 18:32 | Kunda1 | Project | FreeCAD => Draft |
2021-04-21 18:54 | Kunda1 | Status | new => closed |
2021-04-21 18:54 | Kunda1 | Resolution | open => fixed |
2021-04-21 18:54 | Kunda1 | Fixed in Version | => 0.20 |
2021-04-21 18:54 | Kunda1 | Note Added: 0015636 | |
2021-04-21 18:55 | Kunda1 | Severity | block => minor |
2021-04-21 18:55 | Kunda1 | Description Updated | |
2021-04-21 18:55 | Kunda1 | Steps to Reproduce Updated | |
2021-04-21 18:55 | Kunda1 | Additional Information Updated | |
2021-04-21 18:55 | Kunda1 | FreeCAD Information | OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.16110 (Git) Build type: Release Branch: (HEAD detached at upstream/releases/FreeCAD-0-18) Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40 Python version: 3.6.6 Qt version:... => OS: Windows 10 Word size of OS: 64-bit Word size of FreeCAD: 64-bit Version: 0.18.16110 (Git) Build type: Release Branch: (HEAD detached at upstream/releases/FreeCAD-0-18) Hash: f7dccfaa909e5b9da26bf50c4a22ccca9bb10c40 Python version: 3.6.6 Qt ... |