Sounds like you either are trying to save somewhere you actually don't have permissions to do so (in which case this would also happen to you in, say, notepad), or your drive is dying.
Can you follow the steps outlined over at https://rakudave.ch/jnetmap/#contact to gather more data?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thanks, you indeed found a bug. I'm a bit surprised that you're the first one to experience it, but I fixed it, dusted off my old Windows laptop and can no longer reproduce it there (at least that one, there might be more "hiding" behind that one). Can you try the latest dev snapshot?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi rakudave,
thx for cool SW. I have same problem as mentioned here. Both Windows and Linux experience.
No write permission, but permissions are OK. File is created with zero size.
I have also problem to save preference (I must setup Log Level to TRACE many times).
Win1022H2 Pro
jNetMap 0.5.5-703-setup.exe
java --version
openjdk 22.0.1 2024-04-16
OpenJDK Runtime Environment (build 22.0.1+8-16)
OpenJDK 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)
Same problem on Linux with development version:
jNetMap-0.5.6-732.jar
Please examine log file and skip warning about arp bin. I have created simlink to /usr/sbin
after creating this log file. So, arp is not problem in this case.
Hm, the only other error that gets logged is that it can't access the Motif LAF, which is a UI thing and thus hardly relevant to saving files. But it makes me wonder if you're just running the bare .jar file, i.e. without going through the .sh/.bat startup scripts?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I tried last deb pkg. Run at Gnome context menu (I think shell script it is: which jnetmap goes to /usr/bin/jnetmap). And also I downloaded and play with 0.5.5-703.jar and 0.5.6-732.jar, same problems. One different what I can see: 0.5.6-732 raise popup dialog: You do not have write permission to the folder (Documents folder is OK with persmissions). So, there is not difference with running shell script and directly jar file.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I just tried on ubuntu (with KDE) and got this same issue. I tried both the release 0.5.5-703.jar and the snapshot 0.5.6-734.jar. I was completely unable to save the file anywhere, tried home directory, /tmp and other places I have write permission to. With the snapshot, I at least get an error message that it thought I don't have write permission.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Sounds like you either are trying to save somewhere you actually don't have permissions to do so (in which case this would also happen to you in, say, notepad), or your drive is dying.
Can you follow the steps outlined over at https://rakudave.ch/jnetmap/#contact to gather more data?
Saving and loading of maps complains about permission.
Attached log file
Thanks, you indeed found a bug. I'm a bit surprised that you're the first one to experience it, but I fixed it, dusted off my old Windows laptop and can no longer reproduce it there (at least that one, there might be more "hiding" behind that one). Can you try the latest dev snapshot?
Hi rakudave,
thx for cool SW. I have same problem as mentioned here. Both Windows and Linux experience.
No write permission, but permissions are OK. File is created with zero size.
I have also problem to save preference (I must setup Log Level to TRACE many times).
My Linux setup:
Debian 12.5
jNetMap 0.5.5 (deb pkg)
default-jre default-jdk
$ java --version
openjdk 17.0.11 2024-04-16
OpenJDK Runtime Environment (build 17.0.11+9-Debian-1deb12u1)
OpenJDK 64-Bit Server VM (build 17.0.11+9-Debian-1deb12u1, mixed mode, sharing)
Win 10 setup:
Win1022H2 Pro
jNetMap 0.5.5-703-setup.exe
java --version
openjdk 22.0.1 2024-04-16
OpenJDK Runtime Environment (build 22.0.1+8-16)
OpenJDK 64-Bit Server VM (build 22.0.1+8-16, mixed mode, sharing)
Same problem on Linux with development version:
jNetMap-0.5.6-732.jar
Please examine log file and skip warning about arp bin. I have created simlink to /usr/sbin
after creating this log file. So, arp is not problem in this case.
Hm, the only other error that gets logged is that it can't access the Motif LAF, which is a UI thing and thus hardly relevant to saving files. But it makes me wonder if you're just running the bare .jar file, i.e. without going through the .sh/.bat startup scripts?
I tried last deb pkg. Run at Gnome context menu (I think shell script it is: which jnetmap goes to /usr/bin/jnetmap). And also I downloaded and play with 0.5.5-703.jar and 0.5.6-732.jar, same problems. One different what I can see: 0.5.6-732 raise popup dialog: You do not have write permission to the folder (Documents folder is OK with persmissions). So, there is not difference with running shell script and directly jar file.
I just tried on ubuntu (with KDE) and got this same issue. I tried both the release 0.5.5-703.jar and the snapshot 0.5.6-734.jar. I was completely unable to save the file anywhere, tried home directory, /tmp and other places I have write permission to. With the snapshot, I at least get an error message that it thought I don't have write permission.