View Issue Details
| ID | Project | Category | View Status | Date Submitted | Last Update |
|---|---|---|---|---|---|
| 0000821 | FreeCAD | Bug | public | 2012-09-02 18:31 | 2012-09-16 15:43 |
| Reporter | mjdemilliano | Assigned To | yorik | ||
| Priority | normal | Severity | minor | Reproducibility | always |
| Status | closed | Resolution | unable to reproduce | ||
| Fixed in Version | 0.13 | ||||
| Summary | 0000821: IndexError in DraftSnap | ||||
| Description | When moving any object, the following error appears in the console: Traceback (most recent call last): File "/usr/local/Mod/Draft/DraftTools.py", line 1809, in action point,ctrlPoint,info = getPoint(self,arg) File "/usr/local/Mod/Draft/DraftTools.py", line 144, in getPoint point = FreeCADGui.Snapper.snap(args["Position"],lastpoint=last,active=amod,constrain=cmod) File "/usr/local/Mod/Draft/DraftSnap.py", line 291, in snap if snap[0] == None: IndexError: list index out of range On inspection, the variable `snaps' is a list with an empty list: >>> print snaps [[]] | ||||
| Additional Information | Version: current Git master branch on Linux | ||||
| Tags | No tags attached. | ||||
| FreeCAD Information | |||||
|
|
I cannot reproduce this error, as far as I can test all works ok, probably some exceptional case. I added code to handle this specific error, so at least it should work without spitting error messages. (commit 1593ce9) If you have more info or precise and complete step-by-step instructions that makes the problem happen, please reopen this bug report... |
| Date Modified | Username | Field | Change |
|---|---|---|---|
| 2012-09-02 18:31 | mjdemilliano | New Issue | |
| 2012-09-06 17:59 | yorik | Status | new => assigned |
| 2012-09-06 17:59 | yorik | Assigned To | => yorik |
| 2012-09-16 15:43 | yorik | Note Added: 0002400 | |
| 2012-09-16 15:43 | yorik | Status | assigned => closed |
| 2012-09-16 15:43 | yorik | Resolution | open => unable to reproduce |
| 2012-09-16 15:43 | yorik | Fixed in Version | => 0.13 |
FreeCAD