Menu

#34 Project saving issues - requesting password but corrupted

0.5
open
rakudave
None
5
2019-05-06
2019-01-07
No

Saved project will not open. Prompts for password though none was added. If saved with password still gives message that file may be corrupted.
Possibly due to the size of the project as have not incurred issues until the current additions were made.
Have tested same issue on multiple machines of different specs and versions of windows and does not seems to be a contributing factor.
Please see files attached... 1 working version and the later expanded version

2 Attachments

Discussion

  • rakudave

    rakudave - 2019-01-08
    • assigned_to: rakudave
     
  • rakudave

    rakudave - 2019-01-08

    Whenever a map can't be opened straight away, it assumes that it must be encrypted and prompts for a password. In this case however, the second file (LCC01.jnm) you provided is 0kb in size, i.e. it's completely empty - which even a new map with nothing on it wouldn't be. So (provided that nothing went wrong when you uploaded it) there must have been an error when saving the file. Could you check the log file for any errors that may have occured then? Also, which version are you using exactly?
    I've tried saving the LCC NET.jnm file locally (with jNetMap-0.5.5-686) which works fine...

     
  • Nathan Christos

    Nathan Christos - 2019-01-09

    Thanks for your prompt reply!
    Sorry I did see after upload that the second file was empty... It seems that if a add a few more points to the current LCC NET map that it will save as 0kb, but I can modify the existing map keeping it the same size and it will save correctly, again seeming to point in the direction of a maximum file size issue?!
    Also there does not seem to be any errors associated with this in the log file (please see attached)
    I am using version 0.5.4 on a windows 10 machine currently for the last tests.

    P.S Thanks for this great project! :)

     
  • rakudave

    rakudave - 2019-01-11

    Hmmm... I can see a lot of complaints in the log when it tries to open the empty file, but nothing about an error when saving it. Does it terminate when you try to save (might be a reason why there's nothing in the log)?
    I have already optimized the way it saves files in the dev-builds, which might help in this case. Can you give that a try?

     
  • Nathan Christos

    Nathan Christos - 2019-01-14

    Sorry for the delayed reply.
    Sorry I didn't realise version 5.5 was up... Installed and tested fine! Thanks.
    I do have an issue with this version where I can't seem to install the web browser plugin.
    Is this a known issue or future feature with this version?

    Thanks!

     
    • rakudave

      rakudave - 2019-01-31

      (no worries, not as late as this one - sorry about that ^^)

      Two things - firstly I've completely redone the whole plugin system (so the old versions don't work anymore - new ones are either included by default or you can get them here until finally manage to actually publish 0.5.5). Secondly half of the plugins (the browser one being one of them) have been replaced by the "Scripts" feature, which is a lot more generic and allows you to hook up almost anything instead of just a few bespoke programs. Look for it in the preferences menu:
      edit - preferences - scripts

       
  • Nathan Christos

    Nathan Christos - 2019-04-09

    Hi Rakudave,
    thought I would just add to this ticket rather than creating a new one.
    It appears I have hit a file size limit of 250mb and if I try to save or open it is corrupted. Is this a known issue? Is there any resolution available?

    Regards,
    Nathan

     
    • rakudave

      rakudave - 2019-04-09

      Hi Nathan

      Thanks! Which version did you try this with? Because I did something about the huge files (the status history now only stores n entries) in 0.5.5 which helps with the file size. But I'm not sure if that helps in your particular case...

      cheers
      rakudave

       

      Last edit: rakudave 2019-04-09
  • Nathan Christos

    Nathan Christos - 2019-04-09

    Thanks for the quick reply!
    The version I am on is 0.5.5.
    Regards,
    Nathan

     
  • Nathan Christos

    Nathan Christos - 2019-04-10

    Sorry, just to give more info on the issue...
    It seems that even if I save without changing/adding/deleting the file size still grown by 2-5mb.
    Is there some sort of a cache? I tried disabling logging and that did make a small improvement but not by much.

    Regards,
    Nathan

     
    • rakudave

      rakudave - 2019-04-12

      Strange, I've never seen that before. There's no cache or logging that is saved to the map, the status history is all I can think of at the moment. How many devices/connections are we talking about? Could you perhaps send me some logs (see here) and if you're comfortable with sending me the map as well you could drop it here?

      cheers
      rakudave

       
  • Nathan Christos

    Nathan Christos - 2019-04-14

    I roughly counted around 370 devices... more than i realised haha. Will attach the .jnm and the logs.
    Stangely I found while reproducing the issue that the file size capped at 253mb but seems to be stuck there.

     
  • Nathan Christos

    Nathan Christos - 2019-04-14

    Log file attached

     
  • Nathan Christos

    Nathan Christos - 2019-04-14

    .jnm file sent as pm.

    Thnaks!

     
    • rakudave

      rakudave - 2019-04-22

      Wow that's huge - you may want to start looking into something more "enterprise grade" tbh.
      So I'm able to reproduce the issue, and it looks it's the graph layout component, so a 3rd party library (JUNG) that balloons then serializing. I hope I can do something about it regardless.
      On a related note, I should probably start compressing jnm files, preliminary tests show that it would shrink your map file to 2.9MB ^^

       

      Last edit: rakudave 2019-04-22
  • Nathan Christos

    Nathan Christos - 2019-04-22

    I has gotten a bit out of control haha. I like the simplicity of JNetMap so hopefully I can keep using it! :D
    Thanks for the support!

     
    • rakudave

      rakudave - 2019-05-04

      I've just pushed an update that should stop your map from getting bigger. I thinks it's still too large considering what's on it, but at least it didn't get bigger in my tests. Could you give it a whirl as well? http://rakudave.synology.me/jnetmap

       
  • Nathan Christos

    Nathan Christos - 2019-05-06

    Awesome, thanks heaps!

     

Log in to post a comment.