[bug] StartPage: Errno2 "Folder not found"

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!
Post Reply
svbol
Posts: 41
Joined: Mon Dec 09, 2019 8:29 pm

[bug] StartPage: Errno2 "Folder not found"

Post by svbol »

StartPage not work without my second HDD:

- if HDD disk attached - FreeCAD show StartPage.
- if HDD disk not attached - FreeCAD show Errno 2, StartPage not work:

Code: Select all

Traceback (most recent call last):
  File "<string>", line 20, in <module>
  File "<string>", line 15, in __init__
  File "<string>", line 7, in __init__
  File "/usr/share/freecad-daily/Mod/Start/StartPage/StartPage.py", line 383, in handle
    for basename in os.listdir(cfolder):
<class 'FileNotFoundError'>: [Errno 2] Нет такого файла или каталога: '/media/user/IntDisk500/Work'
[Errno 2] Нет такого файла или каталога: '/media/user/IntDisk500/Work'
I close FreeCAD, attach HDD disk, run FreeCAD - all work fine.

Maybe FreCAD not see "Show additional folder" for StartPage?
Can you fix this problem?

if this folder not present - not show in StarPage.
If present - show.


OS: Linux Mint 18.3 Sylvia (XFCE/xfce)
Word size of OS: 32-bit
Word size of FreeCAD: 32-bit
Version: 0.19.
Build type: Release
Python version: 3.5.2
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.3.0
Locale: Russian/RussianFederation (ru_RU)
Post Reply