Ticket #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)

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
FreeCAD_Bot
Posts: 3
Joined: Thu Feb 28, 2019 12:59 am

Ticket #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)

Postby FreeCAD_Bot » Tue Mar 12, 2019 12:00 pm

'Ticket issue #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)'
Description
When not using legacy, it appears to draw nothing at all, but does not fail in the same way. The UI becomes unresponsive at the OS level, with Ctrl+Alt+T and similar shortcuts not working. This makes it difficult to gather more information about the problem, I ended up restarting with the power button after waiting several seconds. I also tried after installing (successfully through the add-on manager) the dxf_library add-on, with the same result.

Steps to Reproduce
  1. Start up FreeCAD
  2. Go to Edit->Preferences->Import-Export and check
    FreeCAD wrote:Use legacy python importer
    and
    FreeCAD wrote:Automatic update (legacy importer only)
  3. Apply the changes and attempt to open my DXF file
  4. Wait
  5. Wait longer
  6. Try to stop the operation
  7. Try to close FreeCAD through the UI
  8. Try to access a terminal
  9. Restart the machine with the power button
Additional Information
OS: Ubuntu 18.04.2 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
Branch: releases/FreeCAD-0-17
Hash: 9948ee4f1570df9216862a79705afb367b2c6ffb
Python version: 2.7.15rc1
Qt version: 5.9.5
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: English/UnitedStates (en_US)
User avatar
Kunda1
Posts: 7986
Joined: Thu Jan 05, 2017 9:03 pm

Re: Ticket #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)

Postby Kunda1 » Thu Jan 16, 2020 5:32 pm

bump
Want to contribute back to FC? Checkout:
#lowhangingfruit | Use the Source, Luke. | How to Help FreeCAD | How to report FC bugs and features
vocx
Posts: 4978
Joined: Thu Oct 18, 2018 9:18 pm

Re: Ticket #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)

Postby vocx » Thu Jan 16, 2020 5:51 pm

This should be re-tested with 0.18 and 0.19.

The description is also vague. That the system becomes unresponsive could be a sign of a failed Internet connection; maybe a library that fetches the files from the web servers hangs.

I think this bug report is quite generic and it's probably better closed.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.
User avatar
Zolko
Posts: 997
Joined: Mon Dec 17, 2018 10:02 am

Re: Ticket #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)

Postby Zolko » Fri Jan 17, 2020 4:09 pm

vocx wrote:
Thu Jan 16, 2020 5:51 pm
This should be re-tested with 0.18 and 0.19. The description is also vague.
When opening (importing) a large STEP file (60Mb, not that large) the UI freezes. The entire UI of the computer: mouse still responsive, but no keyboard input. And all 4 cores at 100%.

Happens with all AppImages since a long time.
try the Assembly4 workbench for FreCAD v0.19
install with Tools > Addon Manager > Assembly4 — tutorials here and here
vocx
Posts: 4978
Joined: Thu Oct 18, 2018 9:18 pm

Re: Ticket #3855 - UI becomes unresponsive when attempting to download and use DXF import libraries (python legacy)

Postby vocx » Fri Jan 17, 2020 4:40 pm

Zolko wrote:
Fri Jan 17, 2020 4:09 pm
When opening (importing) a large STEP file...
And how is this related to this thread? This thread is about freezing when opening a DXF file, not a Step file. They use different importers, so if they freeze, we cannot assume the same cause.

Open a new thread, and if necessary, a new ticket for your problem.
Always add the important information to your posts if you need help.
To support the documentation effort, and code development, your donation is appreciated: liberapay.com/FreeCAD.