Codesys v3.5 SP4 Patch 1 pbF: Internal error while opening archive with projects.open_archive()

pmlaforest
2021-06-08
2025-08-25
  • pmlaforest - 2021-06-08

    Hello everyone,

    I stumble across a problem when I try to open an archive with the following line.

    projects.open_archive("foo.projectarchive", "bar.project")

    The archive seems to opens fine, but when the IDE opens, I get an error which says :

    "Internal error while object 'GlobalTextList' is providing language model information:
    Length cannot be less than zero. Parameter name: length" (see attached picture)

    However if I open the .project generated from the command above it is okay and the IDE opens without the warning.

    Does someone know what could be causing this ?

    Regards,

    Pierre-Marc

     

    Last edit: pmlaforest 2021-06-08
  • bhavinkumar - 2025-08-25

    Hi, Pierre, did you get solutation for that ? I have an accuring same problem.

     

Log in to post a comment.