Assembly 3 - no solver backend... (solved)

Discussion about the development of the Assembly workbench.
Forum rules
Be nice to others! Respect the FreeCAD code of conduct!
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Assembly 3 - no solver backend... (solved)

Post by bambuko »

When trying to run Link Branch with Assembly 3 I get the following error message at the beginning:

Code: Select all

12:55:06  2.691113 <asm3.main> init_gui.py(14): no solver backend found
Any idea what am I doing wrong?

Code: Select all

OS: Windows 10 (10.0)
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 2021.328.24301 +3441 (Git)
Build type: Release
Branch: LinkStage3
Hash: 0a157a307c91d241a370cdda6d8f0471b7c48915
Python version: 3.6.8
Qt version: 5.12.6
Coin version: 4.0.0a
OCC version: 7.5.0
Locale: English/United Kingdom (en_GB)
Last edited by bambuko on Thu Apr 08, 2021 4:11 pm, edited 1 time in total.
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
jpg87
Posts: 809
Joined: Thu Mar 16, 2017 7:16 am
Location: Limoges - France
Contact:

Re: Assembly 3 - no solver backend...

Post by jpg87 »

Check that the solver is well declared :
SelectSolveSpace.jpg
SelectSolveSpace.jpg (116.9 KiB) Viewed 5934 times
Otherwise see :
https://github.com/realthunder/FreeCAD_ ... nd-Solvers
... and follow the "SolveSpace" links.
My website : http://help-freecad-jpg87.fr updated 2023/11/06
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend...

Post by bambuko »

Thank you,
It happens (only in LinkStage3) even before I open any documents,
but if I open a document with Assembly 3, it shows Solver Type = none

I don't have this problem with 0.19 running on the same PC.

so it looks like you are on the right track?
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Assembly 3 - no solver backend...

Post by -alex- »

This issue means you can't acces to solvespace solver, as @jpg87 said.
But I don't know why...I'm not an expert.
BTW you could check the files in your asm3 directory:
Inside your FreeCAD install directory/Mod/asm3/freecad/asm3/py3_slvs you should see following files:
_pycache_ (directory)
_inti_.py
_slvs.pyd
_slvs.son
_slvs.py
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend...

Post by bambuko »

Thank you -alex-
My asm3 directory looks like follows:

backend.jpg
backend.jpg (44.35 KiB) Viewed 5827 times

all slvs things seem to be missing?
but it doesn't appear to be causeing problems for 0.19 version of FreeCAD, just LinkStage3 :oops:

I have installed py_slvs:
https://forum.freecadweb.org/viewtopic.php?f=20&t=57224

as per:
https://github.com/realthunder/FreeCAD_ ... stallation

although there were some questions about pip version?
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend...

Post by bambuko »

Just realised that 0.19 and LinkStage3 are in two different directories so that when I run solver install command I only did it for 0.19.
Feel really stupid :mrgreen: but at least recognised my error...

OK now it leads to two more questions:
1-since I am using "official FreeCAD pre-built images" I shouldn't have to manually install these solvers?
2-nevertheless, managed to do it OK for 0.19 but when I try to do it for LinkStage3 I get permission denied... :evil:

nothin g is simple :lol:
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Assembly 3 - no solver backend...

Post by -alex- »

OK, it seems the py3_slvs subdirectory is missing inside your asm3 directory.
Where have you dowloaded your FC linkstage3?
here?
FreeCAD-asm3-Win64-Py3-Qt5.12-20210328.7z portable stable daily package? Right?

Edit: cross post.
I shouldn't have to manually install these solvers?
No you shouldn't. It should work out of the box.
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend...

Post by bambuko »

Thank you,
It should indeed work out of the box (yes I have downloaded it from the link you quoted),
but it doesn't ...
how very frustrating :?

and when I try to install I am "access denied" :cry:
denied.jpg
denied.jpg (158.91 KiB) Viewed 5793 times
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
User avatar
-alex-
Veteran
Posts: 1856
Joined: Wed Feb 13, 2019 9:42 pm
Location: France

Re: Assembly 3 - no solver backend...

Post by -alex- »

You do not need to install anything with a pre-built packahe. Just launch the FreeCADlink binary in /bin subdirectory right?
BTW, do you have the py3slvs subdirectory in your Linkstage3 pre-built package?
Last edited by -alex- on Tue Apr 06, 2021 11:47 am, edited 1 time in total.
User avatar
bambuko
Veteran
Posts: 2165
Joined: Thu Oct 24, 2019 12:53 pm
Location: UK, England, North Devon

Re: Assembly 3 - no solver backend...

Post by bambuko »

Apparently no...

maybe it is a problem specific to FreeCAD-asm3-Win64-Py3-Qt5.12-20210328.7z ?
(which is what I am using)
I am using Link branch and Assembly3
you can also download ... and try it here
excellent Assembly3 tutorials here
Post Reply