Menu

#127 Erases Path Environment Variable

closed-fixed
regiov
5
2015-01-07
2012-05-31
Anonymous
No

While installing openModeller 1.2.0, I saw something along the lines of "Path empty; installing openModeller path" or something like that. I believe that it openModeller may have erased my path while trying to install itself. My path was certainly not empty before installing openModeller.

Is it possible that maybe the function call to get the current path returns empty string on error?

I am running Windows 7 Home Premium 64-bit.

Good luck!

Discussion

  • regiov

    regiov - 2012-06-11
    • assigned_to: scachett --> dbolgheroni
     
  • Daniel Bolgheroni

    Andre, I've tested in an environment similar to yours (Windows 7 Ultimate) and I cannot reproduce this bug.

    I'm setting the status to "Closed". Can you check it again? If it's really a bug, I reopen it again.

    Thank you.

     
  • Daniel Bolgheroni

    • status: open --> closed-works-for-me
     
  • Samuel

    Samuel - 2014-06-10

    Could you re-investigate this ticket because I encountered the same issue after installing version 1.4.0 on a 64-bit Windows 7 Enterprise

     
  • regiov

    regiov - 2014-06-11
    • status: closed-works-for-me --> open
    • assigned_to: Daniel Bolgheroni --> Renato De Giovanni
    • Group: --> openModeller Desktop
     
  • regiov

    regiov - 2014-06-11

    Right, this is still an open issue related to the NSIS installer for Windows:

    http://sourceforge.net/p/nsis/bugs/1046/

    When the existing PATH content is longer than 1024 characters NSIS will overwrite it. I'll check if it's possible to use a special build of makensis which increases that limit, but it will still have the same problem if the content is longer than the new limit.

    Unfortunately I couldn't find yet an alternative to fully solve this. If anyone has a better idea, please let me know.

     
  • regiov

    regiov - 2015-01-07

    The latest openModeller release (1.5) is using a special build of NSIS for the Windows installer which increases the maximum string length from 1024 to 8192. So the bug may still happen, but only if the PATH content is longer than 8192, which is a very large value for such environmental variable. I'll close the ticket assuming that it will be very unlikely to find someone with a PATH longer than the new limit.

     
  • regiov

    regiov - 2015-01-07
    • status: open --> closed-fixed
     

Log in to post a comment.