Skip to content
  • Categories
Collapse
Solibri Society Forum
  1. Home
  2. General Discussion
  3. Cant run autorun

Cant run autorun

Scheduled Pinned Locked Moved General Discussion
4 Posts 2 Posters 834 Views
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • M Offline
    M Offline
    MadsHA
    wrote on last edited by
    #1

    Hey Everyone,

    I have been trying to setup the solibri autorun, following the example here: https://solibri.github.io/Developer-Platform/9.10.8/autorun-examples.html but when i run it, solibri starts to load and then closes. the log file gives me the following error:

    2023-05-10 08:20:34.629+0200 ERROR c.s.s.p.b.actions.BatchAction - Failed to create BatchRun
    org.jdom2.input.JDOMParseException: Error on line 1 of document file:XXXX/XXX%20Solibri.xml: Invalid byte 2 of 3-byte UTF-8 sequence.

    (deleted the filepath)

    After the fail error it comes up with a longer list of details

    This is how the first lines of the document is writen:

    <!-- Standad tekst skal ikke ændres -->
    <?xml version=“1.0” encoding=“ISO-8859-1”?>
    <batch name=“Simple Batch” default=“root”>
    <target name=“root”>

    <!-- Solibri modellen åbnes – "Sti til Solibri modellen Skal TILPASSES " -->

    Any help will be much appreciated 🙂

    MattiM 1 Reply Last reply
    0
    • M Offline
      M Offline
      MadsHA
      wrote on last edited by
      #2

      I edited the start to look like this:

      <?xml version=“1.0” encoding=“ISO-8859-1”?>
      <batch name=“Simple Batch” default=“root”>
      <!-- This is the starting task -->
      <target name=“root”>

      <openmodel

      and it works now if anyone ends up having similar issue

      MattiM 1 Reply Last reply
      1
      • MattiM Offline
        MattiM Offline
        Matti Solibrians
        replied to MadsHA on last edited by
        #3

        @MadsHA

        Thanks for this. I reported this to our database. This might be problem in encoding set for the XML reader.

        1 Reply Last reply
        0
        • MattiM Offline
          MattiM Offline
          Matti Solibrians
          replied to MadsHA on last edited by
          #4

          @MadsHA

          I could not reprodude this.
          Could you send a small zipped sample autorun file that is problematic.

          1 Reply Last reply
          0

          Copyright © 2025 Solibri Inc. | Powered by NodeBB

          • Login

          • Don't have an account? Register

          • Login or register to search.
          • First post
            Last post
          0
          • Categories