I’ve downloaded the newest weekly build for Windows and I’ve noticed that I can’t draw anything in Draft using cursor. It just doesn’t work, I can only enter the dimensions manually:
Thanks. That tells us that the cause of your problem is probably not the revised Draft code. Can you try downloading and installing V0.22 again? If you use the same folder as before then you should delete all existing files and folders first.
While the original previous download has been removed from the Weekly Assets, the old package can still be built using the specific win-64/freecad-0.21.pre-py310h4ba7268__nnn_.conda from https://anaconda.org/freecad/freecad/files
I have a miniconda setup on my Windows partition so I’ve have a try with both tomorrow morning but I have to say one of the ‘fun’ things with Conda is finding out whether an upstream file that’s not pinned has changed.
But I downloaded and unpacked the build separately on each computer. Now I checked on yet another Windows computer and the same thing happens. I also got multiple instances of this error message when I enabled the Draft Rectangle tool:
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 18: invalid continuation byte
I think from the French forum that OpenBrain might have an idea what is wrong but to confirm could you replace the src\Mod\Draft\draftguitools\gui_rectangles.py with the one attached, this will just give some more debug info. start FC, change to Draft and try to just create the first point of the rectangle, you don’t need to move your mouse very much, it’ll flood the Report View. Copy the lines from:
19:53:57 Draft workbench activated.
19:54:00 ----------------
19:54:00 GuiCommand: Rectangle
19:54:00 About to call ViewObserver
19:54:00 Pick first point
Syres I did this on one of the computers where this issue occurs. On that computer, there’s no full error message from above, just class ‘UnicodeDecodeError’ message in orange. When I replaced the gui_rectangles.py file, I just got:
23:57:55 Pick first point
23:57:56 <class 'UnicodeDecodeError'>
23:57:56 UnicodeDecodeError: 'utf-8' codec can't decode byte 0xf1 in position 18: invalid continuation byte
and those two messages repeated many times. Perhaps I should try on that computer on which the longer (red) error message occurred even without the modified file but I’m not sure if I can get more output this way.
Not sure whether the issue is caused by a Py3.10 specific fix for Debian. Here is a PR that activates that fix for Linux & UNIX only. Maybe it heals the Windows issue: https://github.com/FreeCAD/FreeCAD/pull/10395