Hi!
I have a strange problem with uploading multiple result files.
The "XML doc in" of the result (incarnated from the result_template) is (upload
URL manually removed):
<file_info>
<name>h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_0</name>
<generated_locally/>
<gzip_when_done/>
<upload_when_present/>
<max_nbytes>6000000</max_nbytes>
<url><UPLOAD_URL></url>
</file_info>
<file_info>
<name>h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_1</name>
<generated_locally/>
<gzip_when_done/>
<upload_when_present/>
<max_nbytes>6000000</max_nbytes>
<url><UPLOAD_URL></url>
</file_info>
<result>
<file_ref>
<file_name>h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_0</file_name>
<open_name>GCT.out</open_name>
</file_ref>
</result>
<result>
<file_ref>
<file_name>h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_1</file_name>
<open_name>GCT.out-LV</open_name>
</file_ref>
</result>
The Application only boinc_resolve()s the file "GCT.out". It then writes the
(resolved) file
"h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_0" and a second one
"h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_0-2nd", which it then
renames to
"h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_1" (all in the project
directory)
However after uploading, the second file
"h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_1"
is still in the project directory, and the result in the DB has only the first
file recorded:
XML doc out:
<file_info><name>h1_0445.45_S6GC1__S6BucketLVEa_445.563682292Hz_2832_0_0</name>
<nbytes>141870.000000</nbytes>
<max_nbytes>6000000.000000</max_nbytes>
<md5_cksum>40e631d7bc8929f6a0e48d0a5e0eea36</md5_cksum>
<url>http://einstein4.aei.uni-hannover.de/AlbertAtHome/cgi-bin/file_upload_handler</url></file_info>
Any idea what's wrong?
Does boinc_resolve() do anything else than just resolving the softlink in the
slot directory to the file in the project directory?
Best,
Bernd
_______________________________________________
boinc_dev mailing list
[email protected]
http://lists.ssl.berkeley.edu/mailman/listinfo/boinc_dev
To unsubscribe, visit the above URL and
(near bottom of page) enter your email address.