input templates for --remote_file jobs

9 views
Skip to first unread message

Matias Salimbene

unread,
Apr 28, 2025, 3:31:40 PMApr 28
to boinc_projects
Hello!

I'm trying to use the --remote-file command. I got no problem creating jobs like this:

bin/create_work --appname myapp --remote_file https://someurl 173 e8fb73b32e1f6f6b55ec04942cdde147

but I keep getting errors that the input file cannot be found.

I tried this input file:

<input_template>
<file_info>
<url><REMOTE_URL/></url>
<md5_cksum><REMOTE_MD5/></md5_cksum>
<nbytes><REMOTE_NBYTES/></nbytes>
</file_info>
<workunit>
<file_ref>
<file_name>jf_<REMOTE_MD5/></file_name>
<open_name>input.json</open_name>
<copy_file/>
</file_ref>
</workunit>
</input_template>

I get this error:

28-Apr-2025 19:28:04 [devsai] Scheduler request completed: got 1 new tasks
28-Apr-2025 19:28:04 [devsai] Project requested delay of 7 seconds
28-Apr-2025 19:28:04 [devsai] State file error: missing file
28-Apr-2025 19:28:04 [devsai] State file error: missing input file
28-Apr-2025 19:28:04 [devsai] Can't handle task kuboadd_71188_1745868435.012083 in scheduler reply
28-Apr-2025 19:28:04 [devsai] State file error: missing task kuboadd_71188_1745868435.012083
28-Apr-2025 19:28:04 [devsai] Can't handle task kuboadd_71188_1745868435.012083_0 in scheduler reply

and now something more specific, I'm not sure that the one above should work:

<input_template>
<file_info>
<url>https://someurl</url>
<md5_cksum>e8fb73b32e1f6f6b55ec04942cdde147</md5_cksum>
<nbytes>173</nbytes>
</file_info>
<workunit>
<file_ref>
<open_name>jf_e8fb73b32e1f6f6b55ec04942cdde147</open_name>
<copy_file/>
</file_ref>
</workunit>
</input_template>

but I get the following error:

28-Apr-2025 19:24:17 [devsai] Can't parse file info in scheduler reply: file name is empty or has '..'
28-Apr-2025 19:24:17 [devsai] Scheduler request completed: got 1 new tasks
28-Apr-2025 19:24:17 [devsai] Project requested delay of 7 seconds
28-Apr-2025 19:24:17 [devsai] State file error: missing file
28-Apr-2025 19:24:17 [devsai] State file error: missing input file
28-Apr-2025 19:24:17 [devsai] Can't handle task kuboadd_71181_1745868240.173160 in scheduler reply
28-Apr-2025 19:24:17 [devsai] State file error: missing task kuboadd_71181_1745868240.173160
28-Apr-2025 19:24:17 [devsai] Can't handle task kuboadd_71181_1745868240.173160_0 in scheduler reply


I wasn't able to find an input template sample for this scenario. Any ideas?
Reply all
Reply to author
Forward
0 new messages