Menu

#38 Saving and loading maps in Widows 10

0.5
pending
rakudave
None
5
2025-01-07
2024-04-17
No

Please explain how to save and load maps.
Sometimes It says I have no write permisson.
And when loading maps nothing happens.

Staffan

Discussion

  • rakudave

    rakudave - 2024-04-17
    • status: open --> pending
     
  • rakudave

    rakudave - 2024-04-17

    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?

     
  • Staffan Kjerrström

    Saving and loading of maps complains about permission.

     
  • Staffan Kjerrström

    Attached log file

     
  • rakudave

    rakudave - 2024-05-07

    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?

     
  • Zacatecnik

    Zacatecnik - 2024-07-26

    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.

     
    • rakudave

      rakudave - 2024-07-28

      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?

       
      • Zacatecnik

        Zacatecnik - 2024-08-12

        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.

         
  • Tom Kent

    Tom Kent - 2025-01-07

    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.

     

Log in to post a comment.

MongoDB Logo MongoDB