create_work md5_file: can't open download/320/project.xml

Message boards : Server programs : create_work md5_file: can't open download/320/project.xml
Message board moderation

To post messages, you must log in.

AuthorMessage
Ralph88

Send message
Joined: 8 Dec 15
Posts: 20
Hungary
Message 71573 - Posted: 15 Aug 2016, 12:14:12 UTC

Hy!
im probe creating work , but error message.. :|

/home/private/BOINC/server/bin/create_work --appname test_9716 --wu_name test_9716_nodelete --wu_template templates/test_9716_in --result_template templates/mayatest_9716_out project.xml

md5_file: can't open /home/private/BOINC/server/download/320/project.xml
md5_file: No such file or directory
process_input_template: md5_file fopen() failed
process_input_template(): fopen() failed
create_work: fopen() failed


what ? 320/project.xml
ID: 71573 · Report as offensive
Juha
Volunteer developer
Volunteer tester
Help desk expert

Send message
Joined: 20 Nov 12
Posts: 696
Finland
Message 71577 - Posted: 15 Aug 2016, 14:19:37 UTC - in response to Message 71573.  

Did you stage project.xml?
ID: 71577 · Report as offensive
Ralph88

Send message
Joined: 8 Dec 15
Posts: 20
Hungary
Message 71578 - Posted: 15 Aug 2016, 15:02:13 UTC - in response to Message 71577.  

:(

input template
<input_template>
  <file_info>
       <number>0</number>
       <sticky/>
       <no_delete/>
  </file_info>
    <workunit>
        <file_ref>
            <file_number>0</file_number>
            <open_name>in</open_name>
        </file_ref>
        <command_line></command_line>
                <credit>120</credit>
                <rsc_fpops_bound>100000000</rsc_fpops_bound>
                <rsc_fpops_est>100000000</rsc_fpops_est>
    </workunit>
</input_template>





output template
<output_template>
    <file_info>
            
                <name>test.png</name>
        <generated_locally/>
        <upload_when_present/>
        <max_nbytes>5000000</max_nbytes>
        <url><UPLOAD_URL/></url>
    </file_info>
    <result>
        <file_ref>
             
             <file_name>test.png</file_name>
            <open_name>test.png</open_name>
            <copy_file/>
                <no_delete/>
        </file_ref>
    </result>
</output_template>

ID: 71578 · Report as offensive
Ralph88

Send message
Joined: 8 Dec 15
Posts: 20
Hungary
Message 71579 - Posted: 15 Aug 2016, 15:15:48 UTC - in response to Message 71578.  

/home/private/BOINC/server/bin/create_work --appname mayatest_5223 --wu_name mayatest_5223_nodelete --wu_template ./templates/mayatest_5223_in --result_template templates/mayatest_5223_out

Too few input files given; need at least 1
process_input_template(): unexpected XML tag or syntax
create_work: unexpected XML tag or syntax
ID: 71579 · Report as offensive
rebirther
Help desk expert
Avatar

Send message
Joined: 21 Jun 06
Posts: 141
Germany
Message 71583 - Posted: 15 Aug 2016, 17:26:16 UTC - in response to Message 71579.  

/home/private/BOINC/server/bin/create_work --appname mayatest_5223 --wu_name mayatest_5223_nodelete --wu_template ./templates/mayatest_5223_in --result_template templates/mayatest_5223_out

Too few input files given; need at least 1
process_input_template(): unexpected XML tag or syntax
create_work: unexpected XML tag or syntax


An input file is missing. If you dont need one create an empty file:

/home/private/BOINC/server/bin/create_work --appname mayatest_5223 --wu_name mayatest_5223_nodelete --wu_template ./templates/mayatest_5223_in --result_template templates/mayatest_5223_out input.txt
ID: 71583 · Report as offensive
Ralph88

Send message
Joined: 8 Dec 15
Posts: 20
Hungary
Message 71612 - Posted: 16 Aug 2016, 17:02:19 UTC - in response to Message 71583.  

New problem....


./bin/sample_work_generator --app test_8595 --in_template_file test_8595_in --out_template_file test_8595_out -d 6

2016. 08. 16. 18:58:30 | testhost | Scheduler request completed: got 0 new tasks



/server/log_localhost/scheduler.log
2016-08-16 18:58:21.2647 [PID=28908]   Request: [USER#1] [HOST#1] [IP 192.168.1.1] client 7.6.22
2016-08-16 18:58:21.4336 [PID=28908] [CRITICAL]   insert_after: <result>
 not found in <file_info>
               <name>test_8595_1471366663_0_0_r1880401949_0</name>

        <generated_locally/>
        <upload_when_present/>
        <max_nbytes>50000000</max_nbytes>
        <url>http://testhost/renderfarm_cgi/file_upload_handler</url>
    </file_info>
    <result>
        <file_ref>
                <!-- <file_name>test_8595_1471366663_0_0_r1880401949_0</file_name>-->

            <open_name>test8595.png</open_name>
            <copy_file/>
                <no_delete/>
        </file_ref>
    </result>
2016-08-16 18:58:21.4337 [PID=28908] [CRITICAL]   add_result_to_reply: can't insert name tags: -112
ID: 71612 · Report as offensive
rebirther
Help desk expert
Avatar

Send message
Joined: 21 Jun 06
Posts: 141
Germany
Message 71647 - Posted: 17 Aug 2016, 16:20:30 UTC - in response to Message 71612.  

Check your template files, maybe some linebreaks.
ID: 71647 · Report as offensive
Ralph88

Send message
Joined: 8 Dec 15
Posts: 20
Hungary
Message 71680 - Posted: 18 Aug 2016, 14:12:48 UTC - in response to Message 71647.  

Thanks :)
php write config file.. problem...

original _in _out file replace string and copy , completed :)
ID: 71680 · Report as offensive

Message boards : Server programs : create_work md5_file: can't open download/320/project.xml

Copyright © 2017 University of California. Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.2 or any later version published by the Free Software Foundation.