Please cut an 0.18.5 release

Have some feature requests, feedback, cool stuff to share, or want to know where FreeCAD is going? This is the place.
Forum rules
Be nice to others! Read the FreeCAD code of conduct!
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Please cut an 0.18.5 release

Post by yorik »

That error doesn't seem related to the latest fix... Seems more like a network error actually (server inaccessible). Can you retry?
User avatar
spacelord
Posts: 4
Joined: Sun Nov 08, 2020 1:47 pm

Re: Please cut an 0.18.5 release

Post by spacelord »

yorik wrote: Tue Dec 01, 2020 3:26 pm That error doesn't seem related to the latest fix... Seems more like a network error actually (server inaccessible). Can you retry?
I have the same problem as @sgrogan except my program barfs:
Traceback (most recent call last):
File "/usr/lib64/FreeCAD/Mod/AddonManager/AddonManager.py", line 790, in run
File "/usr/lib64/FreeCAD/Mod/AddonManager/addonmanager_utilities.py", line 36, in urlopen
File "/usr/lib64/python3.8/urllib/request.py", line 222, in urlopen
File "/usr/lib64/python3.8/urllib/request.py", line 525, in open
File "/usr/lib64/python3.8/urllib/request.py", line 542, in _open
File "/usr/lib64/python3.8/urllib/request.py", line 502, in _call_chain
File "/usr/lib64/python3.8/urllib/request.py", line 1393, in https_open
File "/usr/lib64/python3.8/urllib/request.py", line 1350, in do_open
File "/usr/lib64/python3.8/http/client.py", line 1255, in request
File "/usr/lib64/python3.8/http/client.py", line 1266, in _send_request
File "/usr/lib64/python3.8/http/client.py", line 1100, in putrequest
File "/usr/lib64/python3.8/http/client.py", line 1200, in _validate_path
http.client.InvalidURL: URL can't contain control characters. '/opensearch.xml" title="GitHub"> <link rel="fluid-icon" href="https:/' (found at least ' ')
Seems related to parsing, not network.
OS: openSUSE Tumbleweed
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.18.Unknown
Build type: Release
Python version: 3.8.6
Qt version: 5.15.2
Coin version: 3.1.3
OCC version: 7.3.0
Locale: English/United Kingdom (en_GB)
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Please cut an 0.18.5 release

Post by yorik »

It's endless... :shock: It looks like github changed once again since then.
Okay I'll do a much better fix now and base it on the gimodules, like 0.19.... Hopefully that should solve the problem once and for all
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Please cut an 0.18.5 release

Post by yorik »

Okay done with git commit 5e51288bf6 Hopefully that's the last time we'll need it...
If someone else could test too before we release it, I'd be grateful
goldmen8
Posts: 11
Joined: Sun Oct 18, 2020 8:07 pm

Re: Please cut an 0.18.5 release

Post by goldmen8 »

"yorik", i would love to test it, but I can't figure out how to do it. Or I'm doing something wrong. I copied the entire file from the link, inserted (replaced) my own AddonManager.py. and it still doesn't work. I feel that I'm doing something wrong, wrong, but how to do it right? need to kick in the right direction, where can I look?
(Machine translation.)
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Please cut an 0.18.5 release

Post by Kunda1 »

yorik wrote: Fri Dec 04, 2020 2:01 pm Okay done with git commit 5e51288bf6 Hopefully that's the last time we'll need it...
If someone else could test too before we release it, I'd be grateful
I'm testing the v0.18 appimage. I needed to update the appimage manually. This is what I did, in the terminal I ran:

Code: Select all

FreeCAD_0.18-16146-rev1-Linux-Conda_Py3Qt5_glibc2.12-x86_64.AppImage --appimage-extract
cd squashfs-root/usr/Mod/AddonManager
curl -s https://raw.githubusercontent.com/FreeCAD/FreeCAD/5e51288bf6a3d62fa70e36d75b270ddecfd7ab09/src/Mod/AddonManager/AddonManager.py > AddonManager.py
cd ../../../
./AppRun
My results weren't reliable since I'm having internet connectivity problems which are polluting my results.

Edit: Trying to fetch the macro list hangs

Code: Select all

Unable to fetch the code of this macro.Traceback (most recent call last):
  File "/home/foo/Applications/squashfs-root/usr/Mod/AddonManager/addonmanager_macro.py", line 147, in fill_details_from_wiki
    code = code.replace(b'\xc2\xa0'.decode("utf-8"), ' ')
AttributeError: 'list' object has no attribute 'replace'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/home/foo/Applications/squashfs-root/usr/Mod/AddonManager/AddonManager.py", line 862, in run
    self.macro.fill_details_from_wiki(url)
  File "/home/foo/Applications/squashfs-root/usr/Mod/AddonManager/addonmanager_macro.py", line 149, in fill_details_from_wiki
    FreeCAD.Console.PrintWarning(translate("AddonsInstaller", "Unable to clean macro code: ") + code + '\n')
TypeError: must be str, not list
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
User avatar
yorik
Founder
Posts: 13665
Joined: Tue Feb 17, 2009 9:16 pm
Location: Brussels
Contact:

Re: Please cut an 0.18.5 release

Post by yorik »

Kunda1 wrote: Sun Dec 06, 2020 1:39 pm Unable to fetch the code of this macro.Traceback (most recent call last):
Darn, that's yet another problem... Will look at it too. But did the list of workbenches appear and work correctly? That was the main issue I solved above
User avatar
Kunda1
Veteran
Posts: 13434
Joined: Thu Jan 05, 2017 9:03 pm

Re: Please cut an 0.18.5 release

Post by Kunda1 »

yorik wrote: Mon Dec 07, 2020 11:53 am But did the list of workbenches appear and work correctly? That was the main issue I solved above
It's not stable. Sometimes I can see them sometime not.
When I can't see them I see

Code: Select all

Init: Entering event loop
Init: Processing command line files
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
XmbTextListToTextProperty result code -2
Alone you go faster. Together we go farther
Please mark thread [Solved]
Want to contribute back to FC? Checkout:
'good first issues' | Open TODOs and FIXMEs | How to Help FreeCAD | How to report Bugs
BIM Bo
Posts: 40
Joined: Sun Nov 22, 2020 3:55 pm

Re: Please cut an 0.18.5 release

Post by BIM Bo »

JFYI - the 0.18.5 has already arrived downstream with Arch Linux 2 days ago. I still prefer the current 0.19dev AppImage (and the exquisite AppImageUpdate mechanism which worked like a charm 23058->23141) as the 0.18.5 seems pretty much unusable, tbh.

From where I stand, the AppImage should be the goto-way to use FreeCAD, at least for Linux users. For the time being.
drmacro
Veteran
Posts: 9002
Joined: Sun Mar 02, 2014 4:35 pm

Re: Please cut an 0.18.5 release

Post by drmacro »

BIM Bo wrote: Mon Dec 07, 2020 12:20 pm ...
From where I stand, the AppImage should be the goto-way to use FreeCAD, at least for Linux users. For the time being.
Just for contrast...
Have used the daily build of 0.19 for about 2 years, no issues, on Debian 10, Ubuntu 19.04, UbuntuStudio 19.04/19.10/20.04 on PC/Laptops with both Radeon and Nvidia graphics

RasbianOS compiled from scratch over the past few weeks.

And I agree that 0.18 should just be deprecated.

There are ways to allow the .deb for FC to appear in the apt repos, so it could bypass the need for 0.19 pre to be an official release, at least temporarily be available (until 0.19 is released) and just let 0.18 deprecate itself.
Star Trek II: The Wrath of Khan: Spock: "...His pattern indicates two-dimensional thinking."
Post Reply