Hi Uli,

I'm using the following xmlrpc request:

<?xml version="1.0" encoding="UTF-8"?>
<methodCall>
  <methodName>translate</methodName>
  <params><param><value>
      <struct>
        <member>
          <name>text</name>
          <value>
            <string>dies ist ein Test .</string>
          </value>
        </member>
        <member>
          <name>word-align</name>
          <value>
            <string>1</string>
          </value>
        </member>
</struct></value></param>
</params>
</methodCall>

For models, .ini etc. I'll send you tomorrow ...

Martin

Am 19.11.2015 um 17:53 schrieb Ulrich Germann:
I can't replicate the crash. Can you send me small (!) models, the corresponding .ini file, and a json request that demonstrate the behaviour?

- Uli

On Thu, Nov 19, 2015 at 2:19 PM, Martin Baumgärtner <[email protected] <mailto:[email protected]>> wrote:

    Hi all,

    after having pulled the latest version from master [b002fade]
    moses crashes when being called in server mode and requested with
    xmlrpc-c parameter 'word-align':

        > moses --server -f /path/to/moses.ini &

    Then send a request from client using 'word-align' member:

        [...]
        [moses/server/Server.cpp:36] Listening on port 8080

        [moses/server/TranslationRequest.cpp:319] Input: Dies ist ein
        Test .
        Translating: Dies ist ein Test .
        binary file loaded, default OFF_T: -1
        Line 0: Collecting options took 0.020 seconds at
        moses/Manager.cpp:134
        Line 0: Search took 0.042 seconds
        [moses/server/TranslationRequest.cpp:417] SERVER TRANSLATION:
        This is a test .
        terminate called after throwing an instance of 'girerr::error'
          what():  Assigning to already instantiated xmlrpc_c::value


    ... which appears to me like a bug.

    Thanks in advance!

    Cheers,
    Martin

--
    *STAR Group* <http://www.star-group.net>
    <http://www.star-group.net/>
        
    *Martin Baumgärtner*

    STAR Language Technology & Solutions GmbH
    Umberto-Nobile-Straße 19 | 71063 Sindelfingen | Germany
    Tel. +49 70 31-4 10 92-0
    
<mailto:[email protected]>[email protected]
    <mailto:[email protected]>
    Fax +49 70 31-4 10 92-70    www.star-group.net
    <http://www.star-group.net/>
    Geschäftsführer: Oliver Rau, Bernd Barth
    Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677


    _______________________________________________
    Moses-support mailing list
    [email protected] <mailto:[email protected]>
    http://mailman.mit.edu/mailman/listinfo/moses-support




--
Ulrich Germann
Senior Researcher
School of Informatics
University of Edinburgh

--

*STAR Group* <http://www.star-group.net>
<http://www.star-group.net/>
        
*Martin Baumgärtner*

STAR Language Technology & Solutions GmbH
Umberto-Nobile-Straße 19 | 71063 Sindelfingen | Germany
Tel. +49 70 31-4 10 92-0 [email protected] <mailto:[email protected]>
Fax +49 70 31-4 10 92-70        www.star-group.net <http://www.star-group.net/>
Geschäftsführer: Oliver Rau, Bernd Barth
Handelsregister Stuttgart HRB 245654 | St.-Nr. 56098/11677

_______________________________________________
Moses-support mailing list
[email protected]
http://mailman.mit.edu/mailman/listinfo/moses-support

Reply via email to