Hi Bernd/David

Sorry for the delayed response!

I just tested the zipping functionality with this job.xml:

<job_desc>

<task>

<application>echo</application>

<command_line>Hello World</command_line>

<stdout_filename>stdout_file</stdout_filename>

<stderr_filename>stderr_file</stderr_filename>

</task>

<unzip_input>

<zipfilename>in.zip</zipfilename>

</unzip_input>

<zip_output>

<zipfilename>out.zip</zipfilename>

<filename>stderr.txt</filename>

</zip_output>

</job_desc>


Unzipping of "in.zip" is successful with both MinGW compiled and
pre-compiled version made available. However, I get this error in
stderr.txt when it's parsing XML:

wrapper: starting
12:52:50 (3232): unexpected tag in job.xml: zipfilename


With the MinGW I get this additional output from the windows command prompt:

C:\ProgramData\BOINC\slots\0>wrapper.exe
zip error: Nothing to do! (temp.zip)


Basically, unzipping works but zipping doesn't - I'm guessing due to
invalid parsing of zipfilename in zip_output tag? I can't see anything
wrong with the syntax in my job.xml file...Can you?

Regards

Daniel


On Tue, Feb 12, 2013 at 7:46 PM, Bernd Machenschalk <
[email protected]> wrote:

> Hi Daniel!
>
> Did this use (i.e. test) the zip library in any way?
>
> Best,
> Bernd
>
>
>
> On 07.02.13 16:18, Daniel Carrion wrote:
>
>> I've loaded it up on the test machine using project anonymous platform
>> feature. Below is stderr output from wrapper:
>>
>> ------------------------------**---------------------------
>>
>>     daniel@SNM-WIN01 /C/ProgramData/BOINC/slots/0
>>     $ tail -f stderr.txt
>>     wrapper: starting
>>     02:13:04 (1712): wrapper: running ../../projects/ec2-23-23-126-**
>> 96.compute-1.amazonaws.com_**pogs/fit_sed (1 filters.dat
>> observations.dat)
>>
>> ------------------------------**---------------------------
>>
>> Seems to be working properly... We'll now for sure once the jobs complete.
>>
>> Cheers
>>
>> Daniel
>>
>> On Fri, Feb 8, 2013 at 2:01 AM, Bernd Machenschalk <
>> [email protected] 
>> <mailto:Bernd.Machenschalk@**aei.mpg.de<[email protected]>>>
>> wrote:
>>
>>     On 07.02.13 14:59, Daniel Carrion wrote:
>>
>>         Great work! That's done the trick. I did a clean compile with
>> "make -f Makefile.mingw wrapper" without previously building other boinc
>>         libraries.
>>
>>
>>     Good to know that it compiles!
>>
>>     Next thing would be to test whether the zip library and the wrapper
>> that were built this way actually work as they should.
>>
>>     I never used the wrapper at all and barely know that it exists;
>> neither did I use boinc_zip in the past ~6y or have any code at hand that
>> uses it.
>>
>>     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.

Reply via email to