Posts by hmbl programmer

1) Message boards : Server programs : [error] State file error: missing file _0_1 (Message 26796)
Posted 25 Aug 2009 by hmbl programmer
Post:
Hey Everyone,

This is my first time setting up a BOINC server. (If I'm posting this in the wrong place, please let me know). I am trying to set up a project with an app which uses the wrapper. I was using the instructions at: http://boinc.berkeley.edu/trac/wiki/WrapperApp as a guide

I set up my app folder, added the wrapper and the worker as described, set up my XML file and templates, and ran make_work. All seemed good, but when my client connected to the project, it downloaded everything except the actual file I passed to make_work. The log said:

[error] State file error: missing file <wu_name>_0_1

where <wu_name> was, obviously, the name of the workunit file passed to make_work.

I've double-checked everything and can't find the problem. ANy ideas as to where I would start looking?

Here's my wu template:

<file_info>
  <number>0</number>
</file_info>
<workunit>
  <file_ref>
    <file_number>0</file_number>
    <open_name>in</open_name>
    <copy_file/>
  </file_ref>
  <min_quorum>1</min_quorum>
  <target_nresults>1</target_nresults>
</workunit>


And my wu result template

<file_info>
  <name><OUTFILE_0/></name>
  <generated_locally/>
  <upload_when_present/>
  <max_nbytes>10000</max_nbytes>
  <url><UPLOAD_URL/></url>
</file_info>
<result>
  <file_ref>
    <file_name><OUTFILE_0/></file_name>
    <open_name>out</open_name>
  </file_ref>
</result>


And my job.xml should it matter:

<job_desc>
    <task>
        <application>test7zpwd</application>
        <stdin_filename>stdin</stdin_filename>
        <stdout_filename>stdout</stdout_filename>
        <command_line></command_line>
    </task>
</job_desc>


Thanks for any help you can provide!

-Josh




Copyright © 2024 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.