Image Workbench is missing on the latest Weekly.

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
User avatar
easyw-fc
Veteran
Posts: 3629
Joined: Thu Jul 09, 2015 9:34 am

Re: Image Workbench is missing on the latest Weekly.

Post by easyw-fc »

wmayer wrote: Tue Mar 28, 2023 9:47 am Confirmed. It happens with old and newly created project files.

git commit c26dc2e68534e
thanks a lot it is now fixed... and even more the plane is viewable from bottom.
wmayer wrote: Mon Mar 27, 2023 12:20 pm
Is the scaling by clicking on two points going to be implemented soon? It is the only reason I used the Image WB.
I think so. I actually haven't ported it because the workflow is a bit awkward and not very user-friendly. But the idea behind it is nice.
looking forward to see this feature implemented... I use it a lot as in the FC file I attached few posts above.
user1234
Veteran
Posts: 3343
Joined: Mon Jul 11, 2016 5:08 pm

Re: Image Workbench is missing on the latest Weekly.

Post by user1234 »

Today i get a crash on startup. Compiled FreeCAD from scratch, still crashed. Then i deleted the configs, starts, but when i load the image WB, it crashes. There is no image WB more (takes a while for me to recognize that), but the entry (WB itself in the menu and in the WB preferences tab) is still there in the preferences, even in a new clean one. It should be removed. Also it should be somehow prevent, that FreeCAD crashes, when the configs still have this entry in the config for autoload. The error output is pretty expressionless.

Code: Select all

Err: Program received signal SIGSEGV, Segmentation fault.
Err: #0  /lib/x86_64-linux-gnu/libc.so.6(+0x38d60) [0x7f18e2012d60]
Err: #1  0x7f18e4f23630 in typeinfo name for Base::ILogger from /home/user/Programs/FreeCAD/build/lib/libFreeCADGui.so+0

Code: Select all

OS: Debian GNU/Linux 11 (bullseye) (X-Cinnamon/lightdm-xsession)
Word size of FreeCAD: 64-bit
Version: 0.21.0.32631 (Git)
Build type: Release
Branch: master
Hash: 87b0893044f16da41aa84a500d7faaa895a953aa
Python 3.9.2, Qt 5.15.2, Coin 4.0.0, Vtk 9.0.1, OCC 7.5.1
Locale: English/United States (en_US)
I can not test it on my main machine, have no access for a few days for it.


Greetings
user1234
User avatar
chennes
Veteran
Posts: 3880
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by chennes »

It should not still be in the workbenches list -- if it is, you still have an old copy. Did you do an install after building, or are you running from your build folder?
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
user1234
Veteran
Posts: 3343
Joined: Mon Jul 11, 2016 5:08 pm

Re: Image Workbench is missing on the latest Weekly.

Post by user1234 »

chennes wrote: Tue Mar 28, 2023 9:24 pm if it is, you still have an old copy.
From what an old copy? Deleted all configs from hand (controlled with a seach, even cache and local), nothing left.


chennes wrote: Tue Mar 28, 2023 9:24 pm Did you do an install after building, or are you running from your build folder?
Run from build folder.


Greetings
user1234
wmayer
Founder
Posts: 20243
Joined: Thu Feb 19, 2009 10:32 am
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by wmayer »

When I open the preferences I now get this warning:
Ignoring unknown ImageWorkbench workbench found in user preferences.
I get this warning since today which is odd because the image wb has already been removed last week.

And when I open the parameter dialog in order to search for the ImageWorkbench I get a long list of error messages:
Error at file "(memory)", line 167, column 64
Message: invalid character encountered
Error at file "(memory)", line 168, column 70
Message: invalid character encountered
Error at file "(memory)", line 192, column 71
Message: invalid character encountered
Error at file "(memory)", line 319, column 74
Message: invalid character encountered
Error at file "(memory)", line 320, column 73
Message: invalid character encountered
Error at file "(memory)", line 321, column 68
Message: invalid character encountered
Error at file "(memory)", line 1066, column 60
Message: invalid character encountered
Error at file "(memory)", line 1073, column 63
Message: invalid character encountered
Error at file "(memory)", line 1079, column 76
Message: invalid character encountered
Error at file "(memory)", line 1092, column 62
Message: invalid character encountered
Unexpected XML structure detected: 10 errors
I guess this must be caused by one of the commits of today.

The term ImageWorkbench still exists in the comma separated list under BaseApp > Workbenches > Enabled
user1234
Veteran
Posts: 3343
Joined: Mon Jul 11, 2016 5:08 pm

Re: Image Workbench is missing on the latest Weekly.

Post by user1234 »

wmayer wrote: Tue Mar 28, 2023 10:10 pm I guess this must be caused by one of the commits of today.
Just said, that behavior was ident with an few day older version. This is why i pulled the todays master and build it from scratch. I did not noted how old it was or commit number.


Greetings
user1234
User avatar
chennes
Veteran
Posts: 3880
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by chennes »

I'm guessing that the Preferences thing is from @paddle's work on the Workbenches preference page. I don't know about the "invalid character" though.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
User avatar
chennes
Veteran
Posts: 3880
Joined: Fri Dec 23, 2016 3:38 pm
Location: Norman, OK, USA
Contact:

Re: Image Workbench is missing on the latest Weekly.

Post by chennes »

user1234 wrote: Tue Mar 28, 2023 9:40 pm From what an old copy? Deleted all configs from hand (controlled with a seach, even cache and local), nothing left.
I was thinking of an old copy in your build folder.
Chris Hennes
Pioneer Library System
GitHub profile, LinkedIn profile, chrishennes.com
leoheck
Veteran
Posts: 1223
Joined: Tue Mar 13, 2018 5:56 pm
Location: Coffee shop

Re: Image Workbench is missing on the latest Weekly.

Post by leoheck »

chrisb wrote: Mon Mar 27, 2023 9:33 pm
Syres wrote: Mon Mar 27, 2023 6:13 pm Here you go, a macro based on the old Python code for you to use as a workaround for the time being.
Very good contribution to leave room for a good built-in solution.
Exactly, cannot agree more, this time.

Thank you @Syres
etyrnal
Posts: 2
Joined: Mon Sep 06, 2021 11:09 pm

Re: Image Workbench is missing on the latest Weekly.

Post by etyrnal »

saso wrote: Fri Mar 24, 2023 11:35 pm Hmm, I can see the reasons to remove and merge the Image WB since it did not had much functionality,
"...since it did not had much functionality [to me]..."

I start EVERY SINGLE project with it. it's crucial.

whatever happened to, *if it isn't broken don't fix it"?
Post Reply