Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

installing error (may be related to external Part-o-Magic addon) #1203

Closed
hamza00789 opened this issue Apr 13, 2022 · 21 comments
Closed

installing error (may be related to external Part-o-Magic addon) #1203

hamza00789 opened this issue Apr 13, 2022 · 21 comments

Comments

@hamza00789
Copy link

This error occurred while installing sheet metal add-ons. Is this a problem?

11:51:39 GitPython not found. Using standard download instead.
11:51:40 Traceback (most recent call last):
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\Mod\AddonManager\addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 531, in open
response = meth(req, response)
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
11:51:40 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
11:51:40 urllib.error.HTTPError: HTTP Error 404: Not Found
11:51:40 Downloading https://github.com/shaise/FreeCAD_SheetMetal/archive/master.zip

@hamza00789
Copy link
Author

Now this error message comes when installing any workbench

12:00:37 GitPython not found. Using standard download instead.
12:00:38 Traceback (most recent call last):
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\Mod\AddonManager\addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 531, in open
response = meth(req, response)
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
12:00:38 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
12:00:38 urllib.error.HTTPError: HTTP Error 404: Not Found
12:00:38 Downloading https://github.com/mnesarco/FreeCAD_ExtMan/archive/master.zip
12:01:14 GitPython not found. Using standard download instead.
12:01:15 Traceback (most recent call last):
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\Mod\AddonManager\addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 531, in open
response = meth(req, response)
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
12:01:15 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
12:01:15 urllib.error.HTTPError: HTTP Error 404: Not Found
12:01:15 Downloading https://github.com/shaise/FreeCAD_SheetMetal/archive/master.zip
12:01:36 GitPython not found. Using standard download instead.
12:01:37 Traceback (most recent call last):
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\Mod\AddonManager\addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 531, in open
response = meth(req, response)
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
12:01:37 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
12:01:37 urllib.error.HTTPError: HTTP Error 404: Not Found
12:01:37 Downloading https://github.com/easyw/Manipulator/archive/master.zip

@bambukouk
Copy link

This is not assembly issue.
Belongs here: https://github.com/realthunder/FreeCAD/issues
as per #1196 (comment)

@realthunder
Copy link
Owner

So did the workbench installed properly?

Please try start freecad with the RunFreeCAD.bat file in your archive extracted directory and try again.

@hamza00789
Copy link
Author

So did the workbench installed properly?

Yes, the workbench was installed properly but I wanted to point out this error.

@hamza00789
Copy link
Author

Please try start freecad with the RunFreeCAD.bat file in your archive extracted directory and try again.

I started freecad with Run Freecad.bat but the error message is still coming.

Traceback (most recent call last):
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\Mod\AddonManager\addonmanager_utilities.py", line 126, in urlopen
u = urllib2.urlopen(req, timeout=timeout)
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 222, in urlopen
return opener.open(url, data, timeout)
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 531, in open
response = meth(req, response)
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 640, in http_response
response = self.parent.error(
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 569, in error
return self._call_chain(*args)
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 502, in _call_chain
result = func(*args)
12:37:54 File "C:\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\FreeCAD-asm3-Daily-Win64-Py3-Qt5-20220407\bin\lib\urllib\request.py", line 649, in http_error_default
raise HTTPError(req.full_url, code, msg, hdrs, fp)
12:37:54 urllib.error.HTTPError: HTTP Error 404: Not Found
12:37:54

@hamza00789
Copy link
Author

hamza00789 commented Apr 13, 2022

This error message comes up every time I use a part container.

13:10:46 ActiveObjectList.cpp(216): Cannot set active object Unnamed#Part. in document 'Unnamed'. Not found in current selection
13:10:46 Traceback (most recent call last):
13:10:46 File "C:\Users\hamza\AppData\Roaming\FreeCAD\Mod\Part-o-magic\PartOMagic\Gui\Observer.py", line 242, in poll
13:10:46 self.trackActiveContainer()
13:10:46 File "C:\Users\hamza\AppData\Roaming\FreeCAD\Mod\Part-o-magic\PartOMagic\Gui\Observer.py", line 283, in trackActiveContainer
13:10:46 assert(ac is new_ac)
13:10:46 AssertionError

13:38:03 ActiveObjectList.cpp(216): Cannot set active object Unnamed#Part001. in document 'Unnamed'. Not found in current selection
13:38:03 Traceback (most recent call last):
13:38:03 File "C:\Users\hamza\AppData\Roaming\FreeCAD\Mod\Part-o-magic\PartOMagic\Gui\Observer.py", line 242, in poll
13:38:03 self.trackActiveContainer()
13:38:03 File "C:\Users\hamza\AppData\Roaming\FreeCAD\Mod\Part-o-magic\PartOMagic\Gui\Observer.py", line 283, in trackActiveContainer
13:38:03 assert(ac is new_ac)
13:38:03 AssertionError

mp4.zip

@hamza00789
Copy link
Author

This error message comes up every time I use a part container.

The part-container error message disappears when uninstalling Part-o-Magic.

@hamza00789
Copy link
Author

Can you tell me how to get rid of these error messages?

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 13, 2022

This ticket is disorienting. There is no about info which would tell us what addons are installed as well.

Checkout: https://github.com/DeepSOIC/Part-o-magic#uninstall

@luzpaz luzpaz changed the title installing error installing error (may be related to external Part-o-Magic addon) Apr 13, 2022
@hamza00789
Copy link
Author

OS: Windows 10 Version 2009
Word size of FreeCAD: 64-bit
Version: 2022.407.26244 +4693 (Git)
Build type: Release
Branch: LinkDaily
Hash: 9610830a8fd492b3b3d96f8328507c80f1437cda
Python version: 3.8.6+
Qt version: 5.15.2
Coin version: 4.0.1
OCC version: 7.6.0
Locale: English/United States (en_US)

@hamza00789
Copy link
Author

5

I have these addons installed. Would you like to ask me more about this?

@hamza00789
Copy link
Author

There are two videos, one with part o magic and one without part o magic. As can be seen in the second video, Part o Magic is not installed. And it can be seen that there was no error message while taking part container.
This makes it clear. The error message that occurs when taking part containers is due to part o magic.

1.zip

2.zip

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 13, 2022

I have these addons installed. Would you like to ask me more about this?

In upstream master, About info also shows installed addons/macros. Thought that Link branch had that but I was wrong.

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 13, 2022

1.zip

2.zip

can you not add the movies directly instead of zipping?

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 13, 2022

@hamza00789 did you see this link that I posted in #1203 (comment) ?

Checkout: https://github.com/DeepSOIC/Part-o-magic#uninstall

@hamza00789
Copy link
Author

In that case, you will not be able to watch the video. I don't know why but I have this problem now. You can watch one of my videos by posting it without zipping.

@hamza00789
Copy link
Author

hamza00789 commented Apr 13, 2022

If you post it without zipping, the video does not appear. Can you tell me why?
you can post one of my videos back to me?

@bambukouk
Copy link

bambukouk commented Apr 13, 2022

Note: Video codec compatibility is browser specific, and it's possible that a video you upload to one browser is not viewable on another browser. At the moment we recommend using h.264 for greatest compatibility.

as per:
https://docs.github.com/en/get-started/writing-on-github/working-with-advanced-formatting/attaching-files

and yes, your videos attached directly don't show in preview (unless you convert it)

1.mp4

@luzpaz
Copy link
Collaborator

luzpaz commented Apr 13, 2022

@DeepSOIC would you be so kind to weigh-in on this ? (since it could be part-o-magic related)

@DeepSOIC
Copy link

I highly doubt the original issue has anything to do with part-o-magic. The errors when new Part is created certainly do. I don't immediately know the cause, i need to check it out, but i'm not sure if i'm gonna do it any time soon... I've never tested PoM for compatibility with realthunder's branch.

@realthunder
Copy link
Owner

The problem is fixed by the above commit. This is harmless error. But you want to fix it now, just find addonmanager_utilities.py and addonmanager_workers.py and manually change it as shown in the commit.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants