Wed Oct 28, 2020 7:55 pm
Login Register Lost Password? Contact Us


Error in ECL Bundle

Discuss and share ideas around ECL Bundle support which is a framework for creating and managing installable ECL code components

Thu Jan 08, 2015 2:32 pm Change Time Zone

I am facing an issue in creating the ECL bundle.

The Bundle is copied from the ML library and only name has been changed.

My directory structure is following:

Code: Select all
./test/Bundle.ecl
./test/Similarity.ecl
./test/SimilarityRecordDefinitions.ecl


When I move to ./test/ and run the following command:
ecl-bundle install -v Bundle.ecl


Code: Select all
I get the following output and error:
Running eclcc --nologfile -showpaths
Running eclcc - --nologfile --nostdinc -Me --nobundles -I.
with input IMPORT Bundle.Bundle as B; [ (UTF8) B.name, (UTF8) B.version, B.description, B.license, B.copyright ] + [ (UTF8) COUNT(b.authors) ] + B.authors +  [ (UTF8) COUNT(B.dependsOn) ] + B.dependsOn +  [ (UTF8) #IFDEFINED(B.platformVersion, '')]
eclcc return code was 2, output to stderr:
stdin:(1,8): error C2171: Object 'Bundle' does not have a field named 'Bundle'
stdin:(1,37): error C2167: Unknown identifier "B"
2 errors, 0 warning
Bundle.ecl cannot be parsed as a bundle


Any pointers on how to resolve this.
lokesh
 
Posts: 10
Joined: Thu Dec 19, 2013 11:45 am

Thu Jan 08, 2015 9:53 pm Change Time Zone

Did you rename the module within the bundle file to match the bundle's filename? In general, they need to match, so you'll probably have to either rename the module to match the filename, or the filename to match the module name.

Cheers,

Dan
DSC
Community Advisory Board Member
Community Advisory Board Member
 
Posts: 568
Joined: Tue Oct 18, 2011 4:45 pm

Fri Jan 09, 2015 5:58 am Change Time Zone

DSC wrote:Did you rename the module within the bundle file to match the bundle's filename? In general, they need to match, so you'll probably have to either rename the module to match the filename, or the filename to match the module name.

Cheers,

Dan


Thanks Dan,

I did that.

Here is my Bundle.ecl:
Code: Select all
IMPORT Std;

EXPORT Bundle := MODULE(Std.BundleBase)
    EXPORT name := 'test';
    EXPORT description := 'ECL test Bundle';
    EXPORT authors := ['Lokesh'];
    EXPORT license := '';
    EXPORT copyright := 'Copyright (C)';
    EXPORT dependsOn := [];
    EXPORT version := '0.0.1';
    EXPORT platformversion := '5.0.4.1';
END;
lokesh
 
Posts: 10
Joined: Thu Dec 19, 2013 11:45 am

Sat Sep 05, 2020 1:37 am Change Time Zone

C:\Program Files\HPCCSystems\7.10.8\clienttools>ecl bundle list
Bloom
CellFormatter
DataMgmt
DataPatterns
DataPull
GLM
KMeans
LearningTrees
LinearRegression
LogisticRegression
ML_Core
MySqlImport
PBblas
PerformanceTesting
StringMatch
SupportVectorMachines
TextVectors
Trigram
Visualizer
ecl 'bundle' command error 0

C:\Program Files\HPCCSystems\7.10.8\clienttools>ecl bundle info LinearRegression

Bundle LinearRegression could not be loaded
ecl 'bundle' command error 0
Attachments
2020-09-04 21_36_40-Greenshot.png
Screenshot
(90.13 KiB) Not downloaded yet
arnoldmashava
 
Posts: 4
Joined: Sat Sep 05, 2020 1:33 am

Sat Sep 19, 2020 9:54 pm Change Time Zone

Thanks a lot,

I have been experimenting with the HPCC ECL system, removed the previous system, reinstalled to the C:\ root directory, without spaces, added to PATH in the Environment Variables.

In this new installation to the C:\ root directory, I have not yet added any specific bundles from the Git repository, just querying the system, for applicable commands and indeed any shell operation that involves the "ecl bundle" command, always returns the same painful error:

ecl 'bundle' command error 0

I don't know where I am losing it.
Attachments
2020-09-19 18_40_49-Greenshot.png
ecl 'bundle' command error 0
(91.17 KiB) Not downloaded yet
arnoldmashava
 
Posts: 4
Joined: Sat Sep 05, 2020 1:33 am

Tue Sep 22, 2020 12:16 pm Change Time Zone

arnoldmashava,

Answered here: https://hpccsystems.com/bb/viewtopic.php?f=43&t=1368

HTH,

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


Return to ECL Bundles

Who is online

Users browsing this forum: No registered users and 1 guest

cron