Open NormanDunbar opened 1 month ago
All these things point to a single issue: Fritzing can not write files on your drive. There might be several reasons for that.
Can you check:
Especially, also check ownerships, e.g. maybe an earlier version of Fritzing was used as root user?
Good Afternoon @KjellMorgenstern
Many thanks for your very prompt response. Thank you.
I have checked and you were correct, the root user owned /home/norman/.local/share/Fritzing
. I have no idea how this happened---I never use root for my "user" apps. Interesting. Perhaps a Docker image might have been running as root, I suspect this to be the case.
I have given permissions back to "norman:norman" and all appears well.
Many thanks. I will close this issue.
Cheers, Norm.
Reopening this as issue to improve the error message. I think we could show a clear error if .local/share/Fritzing is not accessible.
This might also point to a more serious bug. @NormanDunbar You mentioned that the file you wanted to save indeed was created, but only contained 22 bytes. Now, assume the file already exists, is a huge project and of course without backup. If saving the temp file (point 3 above) fails, Fritzing should not attempt to write the file. Would it overwrite the original file with 22 bytes garbage?
Would it overwrite the original file with 22 bytes garbage?
I believe it did when I tried a couple of times to save the file. The date/time changed.
EDIT: I recreated the permissions problem and attempted to save a new project. The date/time stamp for the project did indeed change, so yes, the original file would be corrupted by the failure to save due to permissions.
In my case, the time portion went from 12:50:41 to 12:52:07.
Cheers, Norm.
Current Behaviour
I've paid for and downloaded th latest 1.0.3 release. Unfortunately, I received an "appimage" file, which i do not like, however, it appears to be completely unusable on my system. Any information I can give you to resolve the issue, just ask.
Also, I am unable to provide any Fritzing files as I cannot create any without errors.
Build: fritzing-1.0.3-l1995-a7811ba0-qt6.AppImage
Operating System: Linux Mint 21.3 64 bit. (libfuse2 already installed.)
Steps to reproduce:
Numerous problems, I'm afraid.
Cannot load some parts at startup.
On execution, I get a popup on screen with the following text (copied directly from the popup):
I click OK to continue. I see a blank project.
Cannot open existing projects.
On attempting to open any of my existing projects, I get another popup:
All of my existing projects result in the same problem, I'm not able to open any of them.
Errors placing some parts.
I attempted to create a new project with a battery, resistor and LED. On placing the battery, I get yet another popup:
The battery does appear to be placed -- it can be seen on the breadboard and schematic tabs. It can also be connected to the other components.
Cannot save new projects.
I am unable to save my new projects! I attempted to save a new project to
/home/norman/fritzingPCBs/1.0.3_Testing/1.0.3_Testing.fzz
and another popup appeared:This is not what I was trying to save! Also, the file I did request was created, but with a file size of only 22 bytes. Running a
hexdump -C
on the file resulted in:Expected Behaviour
Obviously, I expected to be able to open my projects and continue to develop/improve them, and to save any changes made. :disappointed:
Questions:
Cheers, Norm.