Tue Nov 30, 2021 8:38 pm
Login Register Lost Password? Contact Us


How to SprayFixed in ECL IDE

Topics specific to the use of the ECL IDE

Thu Feb 26, 2015 10:17 am Change Time Zone

Hi,

I got a error during spray fixed in ECL IDE. Let me know if you have any soluions.
this is my spray text

STD.File.SprayFixed( 'http://192.168.83.135:8010' , '/onlinepeople' , 82, 'mythor', '~VINO::MyFile' , -1, 'http://192.168.83.135:8010/FileSpray' );

Error: System error: 0: DFUServer Error Failed: DFUWU: cannot determine endpoint for part file (0, 0), 0,


Thanks,
vinothkumar
vinomra
 
Posts: 1
Joined: Thu Feb 26, 2015 10:12 am

Thu Feb 26, 2015 1:09 pm Change Time Zone

Can you spray this file using the ECL Watch interface? The file is OnlinePeople, is it possible that you haven't extracted it from the zip download?

This code on my training cluster works:

Code: Select all
IMPORT STD;

SrcIP    := '10.173.248.1';
SrcPath  := '//10.173.248.1/mnt/disk1/var/lib/HPCCSystems/dropzone/';
Initials := 'BMF';

            
//************ Spray Advanced ECL Class Files *******************************
STD.File.SprayFixed(SrcIP,SrcPath + 'OnlinePeople',82,'mythor',
                     '~CLASS::' + Initials + '::AdvECL::People2',,,,true,true);



Regards,

Bob
bforeman
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1005
Joined: Wed Jun 29, 2011 7:13 pm

Thu Feb 26, 2015 3:14 pm Change Time Zone

vinothkumar,

I go the same error yesterday using DFUplus.exe to do a spray. The problem was fixed in my case by making the full path to the file to spray completely explicit in stead of trying to use relative pathing (as I see you are doing, too).

Try it something like this:
Code: Select all
STD.File.SprayFixed( 'http://192.168.83.135:8010' , 'c$/myfullpath/onlinepeople' , 82, 'mythor', '~VINO::MyFile' , -1, 'http://192.168.83.135:8010/FileSpray' );

HTH,

Richard
rtaylor
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 1606
Joined: Wed Oct 26, 2011 7:40 pm


Return to ECL IDE

Who is online

Users browsing this forum: No registered users and 1 guest