I recently upgraded from Ubuntu 16.04 to 18.04 to support the newest version of the accounting software I want to use (which was as nightmare in and of itself where I learned more about legacy BIOS / MBR vs UEFI / GPT disks than I ever thought I would need to) and part of that process was reinstalling FreeCAD using the Bionic PPA. During that process, I launched the app and opened some files and everything appeared OK, so I considered the reinstall a success. Now that I’m back to actually USING the software, I have run into a couple disk related problems (one small and one large) that I’d like to know if anyone has any suggestions on how to resolve.
So, I have a Synology Diskstation DS216j NAS with a single password-protected SMB share that I keep all my files on. Not one iota of trouble creating, retrieving or updating files when I was on FreeCAD 16 / Ubuntu 16 (when I got the NAS) and no problems when I upgraded to FreeCAD 17 last year. Now, on my present configuration, 2 new problems have manifested and I don’t know how to identify the cause, let alone troubleshoot.
First the minor issue, new files are no longer saved with a .fcstd extension. At all. Anywhere (this becomes a salient point, shortly). Previously, when I saved a new file I did what I do in pretty much any other app and just entered the file name in the dialog box and the app assigns the extension. Now, there is no extension when I go look in the file manager. I can add it manually in the file save dialog and I can add it in the file manager after closing the file in FreeCAD, but after my upgrade it doesn’t save the extension automatically anymore, whether I save to the NAS or to my local desktop. This is kind of a PITA, but not the end of the world, and I probably wouldn’t have bothered the forum with it, except I also have a bigger issue that may or may not be related.
The major issue is that when I save FreeCAD files to the NAS now (either a new file or an update to an existing file on the NAS) FreeCAD creates the file, but it’s zero bytes. No error message appears, so I think everything is fine until I try to open up the file again and find out it’s empty. I found this with a little throwaway part because I needed to reboot from my Linux desktop to my Windows desktop for a specialized version of my slicing software that only runs on Windows. Fortunately, there wasn’t a ton of work lost, but I started troubleshooting and this issue only manifests when saving to the NAS. I can save to my local desktop and move the file to the NAS and open the file there and everything is fine, but I can’t save to the NAS despite the dialog allowing me to navigate through the NAS file structure and giving me no negative feedback when I hit the save button. Also, when opening an otherwise good file on the NAS, if I make a change and save it, the file goes to 0 bytes, like the new files. This issue also manifests itself (file appears where it’s supposed to, but zero bytes) when doing an STL export, not just using the main Save dialog.
I know this probably isn’t an actual FreeCAD issue, but LibreOffice files save fine directly to the NAS so if I’m going to take this to Ubuntu and / or Synology, I need some sort of error log but I can’t seem to find any log lines to indicate what the actual issue is. Is there a way to turn on debug level logging for file operations so I can start to pin down this issue?
OS: Ubuntu 18.04.1 LTS
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.13541 (Git)
Build type: Release
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)
The version appears to be the most current. I searched the forum, but there have been a lot of file save problems, none of which seem to apply to me. I have included the before and after test cube files, but I don’t expect them to yield anything significant. Frankly, I think this is Ubuntu and the SMB share on the NAS fighting, but I think I’m going to need some actual error data to take it to them and the primary reason for my post here is to find out how to find that.
Any help or suggestions would be greatly appreciated.
Last edited by sawozny
on Sun Feb 10, 2019 11:29 pm, edited 1 time in total.