[Solved] accessibility to my network drives

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
lolotw
Posts: 3
Joined: Fri Jul 22, 2022 9:42 am

[Solved] accessibility to my network drives

Post by lolotw »

Hello everyone, I am a new user of freecad, so I downloaded it and opened it to see how it works but I was quickly stopped by the impossibility of accessing my network drive of my nas server in which it is located my files.
Is it not possible to work on network files? do I have to import them locally to work?
Thank you for your help.
openBrain
Veteran
Posts: 9041
Joined: Fri Nov 09, 2018 5:38 pm
Contact:

Re: accessibility to my network drives

Post by openBrain »

Hi. We even don't know your OS...
Anyway, you can try to add the "DontUseNativeDialog" parameter and switch it to true/false. You can search for this parameter name and you'll find other thread with details on how to set it. ;)
lolotw
Posts: 3
Joined: Fri Jul 22, 2022 9:42 am

Re: accessibility to my network drives

Post by lolotw »

Hi, Sorry, my system is running windows 10, 64bits
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: accessibility to my network drives

Post by GeneFC »

No problem using network files in Windows. I do it often.

The difficulty almost certainly comes from some sort of permissions problem in Windows.

Gene
lolotw
Posts: 3
Joined: Fri Jul 22, 2022 9:42 am

Re: accessibility to my network drives

Post by lolotw »

A priori, I see my network drive and I was therefore able to load my mechanical .step file that I am trying to modify.
User avatar
adrianinsaval
Veteran
Posts: 5553
Joined: Thu Apr 05, 2018 5:15 pm

Re: accessibility to my network drives

Post by adrianinsaval »

so it's working then? I don't understand
haegar
Posts: 77
Joined: Tue Jul 26, 2022 10:11 pm

Re: accessibility to my network drives

Post by haegar »

Hi,
I am using FreeCAD for quite a while now and although new to this forum , I am following the discussions here quite regularly. Guys, you are doing an excellent job!

I am happy that I am not alone with my problem. So I decided to register.

I can confirm the access problem with a NAS. For a couple of versions writing to a NAS device is no longer possible although reading access works. I am running an up to date Windows 10 64Bit on two different computers with the same error. The last working version of FC is the Conda weekly build 29393. All higher version can load files from the NAS but cannot write them back. Moreover, the new versions may make trouble with some virus scanners. With the Microsoft defender everything is ok, with the Norton Antivirus software the FreeCAD.exe will be removed from the system. This happened to me two days ago with the latest 29485 version. The same happened some days earlier with another piece of program (crx.exe?) from an older version of the 29485.

Sorry for describing the error so unprecise, but I have no idea how to get more specific information out of my computer(s).

Regards
Achim
Regards from Teltow, Germany
Achim
haegar
Posts: 77
Joined: Tue Jul 26, 2022 10:11 pm

Re: accessibility to my network drives

Post by haegar »

Hi,
the latest version at least solved the virus scan issue. However, trying to write on my NAS still results in an "unknown exception data"
Screenshot 2022-07-29 114906.jpg
Screenshot 2022-07-29 114906.jpg (10.84 KiB) Viewed 1376 times

Code: Select all

OS: Windows 10 (10.0)
Word size of FreeCAD: 64-bit
Version: 0.21.29485 (Git)
Build type: Release
Branch: master
Hash: a236ca843fdd6674afb6d7ed1454fbd3b547f5ea
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: German/Germany (de_DE)
Installed mods: 
  * 3D_Printing_Tools
  * A2plus 0.4.54b
  * AirPlaneDesign 0.4.0
  * Assembly4 0.11.8
  * BOLTSFC
  * CurvedShapes 1.0.0
  * Curves 0.3.0
  * fasteners
  * Manipulator
  * MeshRemodel 1.8918.0
  * nurbs
  * Plot
  * Render 2022.1.0
  * Ship
  * Silk 764074112.0.0
Regards from Teltow, Germany
Achim
haegar
Posts: 77
Joined: Tue Jul 26, 2022 10:11 pm

Re: accessibility to my network drives

Post by haegar »

Hi,
I just discovered: exporting a file (I have tested the STL format) works fine...

Regards Achim
Regards from Teltow, Germany
Achim
GeneFC
Veteran
Posts: 5373
Joined: Sat Mar 19, 2016 3:36 pm
Location: Punta Gorda, FL

Re: accessibility to my network drives

Post by GeneFC »

I did a bit more checking.

Version 0.21.29393 and earlier work fine for reading and writing.

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of FreeCAD: 64-bit
Version: 0.21.29393 (Git)
Build type: Release
Branch: master
Hash: 6820e0a9ec85203a6f342ca72a2ff8fd417beaf1
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * FeedsAndSpeeds 0.4.0
  * FeedsAndSpeeds-master.zip
  * Help 1.0.3
  * offline-documentation
Version 0.21.29485 and later read OK but fail on write (save). (Also tested on 0.21.29825 compiled on 28-07-2022.)

Code: Select all

OS: Windows 7 SP 1 (6.1)
Word size of FreeCAD: 64-bit
Version: 0.21.29485 (Git)
Build type: Release
Branch: master
Hash: a236ca843fdd6674afb6d7ed1454fbd3b547f5ea
Python 3.8.13, Qt 5.12.9, Coin 4.0.0, Vtk 9.1.0, OCC 7.5.3
Locale: English/United States (en_US)
Installed mods: 
  * FeedsAndSpeeds 0.4.0
  * FeedsAndSpeeds-master.zip
  * Help 1.0.3
  * offline-documentation
The error message is

Code: Select all

Traceback (most recent call last):
File "<string>", line 1, in <module>
<class 'Base.FreeCADError'>: boost::filesystem::weakly_canonical: The specified path is invalid
I usually read and write locally, so I did not see this recent problem until testing. As can be seen, the various libraries are identical, so there was either something changed in the FreeCAD master code or some unlisted library that causes the problem.

[Edit] Did a further bit of checking and the problem is likely due to either commit

https://github.com/FreeCAD/FreeCAD/comm ... 1ac06d4b6f

and/or

https://github.com/FreeCAD/FreeCAD/comm ... 5f3004af99.

Gene
Post Reply