[Solved] File save issues on Synology NAS

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!
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: File save issues on Synology NAS

Post by NormandC »

kkremitzki wrote: Mon Feb 04, 2019 12:57 am ping
NormandC wrote: Mon Feb 04, 2019 1:05 am There is a switch for it in the CMake build process, FREECAD_USE_QT_FILEDIALOG. Apparently you turned it off in the last package update (freecad_0.17.13541-1ppa10).
I checked the gitpackaging release-qt5 branch, nothing was changed in comparison to the release branch, and in FreeCAD's CMakeLists.txt, FREECAD_USE_QT_FILEDIALOG is still set to ON in the source code; so there should be no reason to have to explicitly call it in the rules file. I don't understand why the last PPA build switched it off.
sawozny
Posts: 23
Joined: Mon Aug 31, 2015 9:21 pm
Location: NYC

Re: File save issues on Synology NAS

Post by sawozny »

So, it turns out the GVFS and SMB Client that the Ubuntu file manager uses is known to be buggy. I switched to a regular kernel mount and everything behaves properly in either dialect of SMB. I'll log a bug with the Ubuntu team as I found a simple way to replicate it with as single echo command rather than through FreeCAD.

Code: Select all

echo "This is a test" > /run/user/1000/gvfs/smb-share\:server\=diskstation\,share\=fileshare/TestFile.txt
This would create a 0 byte file when speaking SMB2 and the actual file with data when speaking SMB1.

Thanks to all who contributed to this troubleshoot. :)

Scott
sawozny
Posts: 23
Joined: Mon Aug 31, 2015 9:21 pm
Location: NYC

Re: File save issues on Synology NAS

Post by sawozny »

BTW, what's the forum's preferred way to mark an issue as resolved?
triplus
Veteran
Posts: 9471
Joined: Mon Dec 12, 2011 4:45 pm

Re: File save issues on Synology NAS

Post by triplus »

Good to hear that and thanks for being verbose.

P.S. It might make sense to test Ubuntu 18.10/19.04. To see if things improved regarding SMB2 support and GVfs.
User avatar
NormandC
Veteran
Posts: 18589
Joined: Sat Feb 06, 2010 9:52 pm
Location: Québec, Canada

Re: File save issues on Synology NAS

Post by NormandC »

sawozny wrote: Tue Feb 05, 2019 11:24 pm what's the forum's preferred way to mark an issue as resolved?
You just edit your first post, and add a [Solved] prefix to the subject.
Post Reply