Error in ECL Bundle
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:
When I move to ./test/ and run the following command:
Any pointers on how to resolve this.
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
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
Cheers,
Dan
- DSC
- Community Advisory Board Member
- Posts: 571
- Joined: Tue Oct 18, 2011 4:45 pm
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
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
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
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.
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
6 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 1 guest