Sun Aug 14, 2022 9:08 pm
Login Register Lost Password? Contact Us

Please Note: The HPCC Systems forums are moving to Stack Overflow. We invite you to post your questions on Stack Overflow utilizing the tag hpcc-ecl (https://stackoverflow.com/search?tab=newest&q=hpcc-ecl). This legacy forum will be active and monitored during our transition to Stack Overflow but will become read only beginning September 1, 2022.



ECL Visualizer Bundle - cannot be parsed as a bundle

Questions around writing code and queries

Wed Feb 09, 2022 4:30 am Change Time Zone

Hi,

I'm trying to install the Visualizer bundle and I'm getting the following:

In Ubuntu 20.04 - running as root


Trying to install Visualizer

Code: Select all
[email protected]:~# ecl bundle install -v  https://github.com/hpcc-systems/Visualizer.git
Using eclcc path /opt/HPCCSystems/bin/eclcc
Running /opt/HPCCSystems/bin/eclcc --nologfile -showpaths
eclcc output:
CL_PATH=/usr
ECLCC_ECLBUNDLE_PATH=/root/.HPCCSystems/bundles/
ECLCC_ECLREPO_PATH=/root/.HPCCSystems/repos/
ECLCC_ECLINCLUDE_PATH=.
ECLCC_ECLLIBRARY_PATH=/opt/HPCCSystems/share/ecllibrary/
ECLCC_INCLUDE_PATH=/opt/HPCCSystems/componentfiles/cl/include
ECLCC_LIBRARY_PATH=/opt/HPCCSystems/lib:/opt/HPCCSystems/plugins:/opt/HPCCSystems/versioned/python3
ECLCC_PLUGIN_PATH=/opt/HPCCSystems/plugins:/opt/HPCCSystems/versioned/python3
HPCC_FILEHOOKS_PATH=/opt/HPCCSystems/filehooks

mkdir /tmp/tmp.qh2xn2
Running git clone --depth=1 https://github.com/hpcc-systems/Visualizer.git "/tmp/tmp.qh2xn2/Visualizer"
Running /opt/HPCCSystems/bin/eclcc - --nologfile --nostdinc -Me --nobundles "-I/tmp/tmp.qh2xn2/Visualizer"
with input IMPORT Visualizer.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, '')]
/opt/HPCCSystems/bin/eclcc return code was 2
(0,0): error C3000: Internal error: Expected a version number in the url 'https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-3.1.8.tgz'
1 error, 0 warning

eclcc reported:

https://github.com/hpcc-systems/Visualizer.git cannot be parsed as a bundle



***************************************************************************************

Trying to install any other bundle

Code: Select all
[email protected]:~# ecl bundle install -v  https://github.com/hpcc-systems/MySqlImport
Using eclcc path /opt/HPCCSystems/bin/eclcc
Running /opt/HPCCSystems/bin/eclcc --nologfile -showpaths
eclcc output:
CL_PATH=/usr
ECLCC_ECLBUNDLE_PATH=/root/.HPCCSystems/bundles/
ECLCC_ECLREPO_PATH=/root/.HPCCSystems/repos/
ECLCC_ECLINCLUDE_PATH=.
ECLCC_ECLLIBRARY_PATH=/opt/HPCCSystems/share/ecllibrary/
ECLCC_INCLUDE_PATH=/opt/HPCCSystems/componentfiles/cl/include
ECLCC_LIBRARY_PATH=/opt/HPCCSystems/lib:/opt/HPCCSystems/plugins:/opt/HPCCSystems/versioned/python3
ECLCC_PLUGIN_PATH=/opt/HPCCSystems/plugins:/opt/HPCCSystems/versioned/python3
HPCC_FILEHOOKS_PATH=/opt/HPCCSystems/filehooks

mkdir /tmp/tmp.oO8zLb
Running git clone --depth=1 https://github.com/hpcc-systems/MySqlImport "/tmp/tmp.oO8zLb/MySqlImport"
Running /opt/HPCCSystems/bin/eclcc - --nologfile --nostdinc -Me --nobundles "-I/tmp/tmp.oO8zLb/MySqlImport"
with input IMPORT MySqlImport.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, '')]
Bundle info from ECL compiler: [U'MySqlImport', U'1.0.0', U'Create record and dataset definitions from MySQL tables', U'http://www.apache.org/licenses/LICENSE-2.0', U'Copyright (C) 2015 HPCC Systems', U'1', U'Gavin Halliday', U'0', U'']

Installing bundle MySqlImport version 1.0.0
Using bundle path /root/.HPCCSystems/bundles/
cp /tmp/tmp.oO8zLb/MySqlImport/MySqlImport.ecl /root/.HPCCSystems/bundles/_versions/MySqlImport/V1_0_0/MySqlImport.ecl
cp /tmp/tmp.oO8zLb/MySqlImport/LICENSE /root/.HPCCSystems/bundles/_versions/MySqlImport/V1_0_0/LICENSE
cp /tmp/tmp.oO8zLb/MySqlImport/README.md /root/.HPCCSystems/bundles/_versions/MySqlImport/V1_0_0/README.md
MySqlImport   1.0.0      Create record and dataset definitions from MySQL tables
Installation complete



In Windows 10 - running in an elevated cmd

Trying to install Visualizer
----------------------------

Code: Select all
C:\Users\Ric\Downloads>ecl bundle install -v  https://github.com/hpcc-systems/Visualizer.git
Using eclcc path C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc
Running C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc --nologfile -showpaths
eclcc output:
CL_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\componentfiles\cl
ECLCC_ECLBUNDLE_PATH=C:\Users\Ric\AppData\Roaming\HPCCSystems\bundles\
ECLCC_ECLREPO_PATH=C:\Users\Ric\AppData\Roaming\HPCCSystems\repos\
ECLCC_ECLINCLUDE_PATH=.
ECLCC_ECLLIBRARY_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\share\ecllibrary\
ECLCC_INCLUDE_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\componentfiles\cl\include
ECLCC_LIBRARY_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\lib;C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\plugins
ECLCC_PLUGIN_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\plugins
HPCC_FILEHOOKS_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\filehooks

mkdir C:\Users\Ric\AppData\Local\Temp\\tmp.000041
Running git clone --depth=1 https://github.com/hpcc-systems/Visualizer.git "C:\Users\Ric\AppData\Local\Temp\\tmp.000041\Visualizer"
Running C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc - --nologfile --nostdinc -Me --nobundles "-IC:\Users\Ric\AppData\Local\Temp\\tmp.000041\Visualizer"
with input IMPORT Visualizer.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, '')]
C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc return code was 2
(0,0): error C3000: Internal error: Expected a version number in the url 'https://registry.npmjs.org/@rollup/plugin-alias/-/plugin-alias-3.1.8.tgz'
1 error, 0 warning

eclcc reported:

https://github.com/hpcc-systems/Visualizer.git cannot be parsed as a bundle


Trying to install any other bundle
----------------------------------

Code: Select all
C:\Users\Ric\Downloads> ecl bundle install -v https://github.com/hpcc-systems/MySqlImport
Using eclcc path C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc
Running C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc --nologfile -showpaths
eclcc output:
CL_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\componentfiles\cl
ECLCC_ECLBUNDLE_PATH=C:\Users\Ric\AppData\Roaming\HPCCSystems\bundles\
ECLCC_ECLREPO_PATH=C:\Users\Ric\AppData\Roaming\HPCCSystems\repos\
ECLCC_ECLINCLUDE_PATH=.
ECLCC_ECLLIBRARY_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\share\ecllibrary\
ECLCC_INCLUDE_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\componentfiles\cl\include
ECLCC_LIBRARY_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\lib;C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\plugins
ECLCC_PLUGIN_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\plugins
HPCC_FILEHOOKS_PATH=C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\filehooks

mkdir C:\Users\Ric\AppData\Local\Temp\\tmp.000041
Running git clone --depth=1 https://github.com/hpcc-systems/MySqlImport "C:\Users\Ric\AppData\Local\Temp\\tmp.000041\MySqlImport"
Running C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc - --nologfile --nostdinc -Me --nobundles "-IC:\Users\Ric\AppData\Local\Temp\\tmp.000041\MySqlImport"
with input IMPORT MySqlImport.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, '')]
Bundle info from ECL compiler: [U'MySqlImport', U'1.0.0', U'Create record and dataset definitions from MySQL tables', U'http://www.apache.org/licenses/LICENSE-2.0', U'Copyright (C) 2015 HPCC Systems', U'1', U'Gavin Halliday', U'0', U'']

Installing bundle MySqlImport version 1.0.0
Using bundle path C:\Users\Ric\AppData\Roaming\HPCCSystems\bundles\
Running C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc - --nologfile --nostdinc -Me --nobundles "-IC:\Users\Ric\AppData\Roaming\HPCCSystems\bundles"
with input IMPORT ML_Core.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, '')]
Bundle info from ECL compiler: [U'ML_Core', U'3.2.2', U'Common definitions for Machine Learning', U'See LICENSE.TXT', U'Copyright (C) 2019 HPCC Systems', U'1', U'HPCCSystems', U'0', U'6.2.0']

Running C:\Program Files (x86)\HPCCSystems\8.4.12\clienttools\bin\eclcc - --nologfile --nostdinc -Me --nobundles "-IC:\Users\Ric\AppData\Roaming\HPCCSystems\bundles"
with input IMPORT Trigram.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, '')]
Bundle info from ECL compiler: [U'Trigram', U'1.0.2', U'Trigram string similarity for UNICODE and SBCS strings', U'http://www.apache.org/licenses/LICENSE-2.0', U'Copyright (C) 2014 HPCC Systems', U'1', U'John Holt', U'0', U'']

cp C:\Users\Ric\AppData\Local\Temp\\tmp.000041\MySqlImport\LICENSE C:\Users\Ric\AppData\Roaming\HPCCSystems\bundles\_versions\MySqlImport\V1_0_0\LICENSE
cp C:\Users\Ric\AppData\Local\Temp\\tmp.000041\MySqlImport\MySqlImport.ecl C:\Users\Ric\AppData\Roaming\HPCCSystems\bundles\_versions\MySqlImport\V1_0_0\MySqlImport.ecl
cp C:\Users\Ric\AppData\Local\Temp\\tmp.000041\MySqlImport\README.md C:\Users\Ric\AppData\Roaming\HPCCSystems\bundles\_versions\MySqlImport\V1_0_0\README.md
MySqlImport   1.0.0      Create record and dataset definitions from MySQL tables
Installation complete
ecl 'bundle' command error 0


The same happens from inside VSCode, which was in fact my first attempt, as I was trying to install it to use it in HSQL.

I used the -v verbose option to see if I could get more information, and indeed the error seems consistent in that something might be missing or wrong in the Visualizer repository.
I will appreciate a hand to solve this. It seems to be related only to this bundle.

Thank you very much!!!
Warm regards!!
Ricardo
rfernandez2007
 
Posts: 25
Joined: Mon Nov 29, 2021 2:40 pm

Wed Feb 09, 2022 1:58 pm Change Time Zone

This looks like its an issue with the "ecl bundle" command line program in the 8.x client tools.

As a workaround you can install 7.x and use it to install the bundle.

Ticket ref: https://track.hpccsystems.com/projects/ ... HPCC-27157
gsmith
 
Posts: 291
Joined: Thu May 12, 2011 9:40 am

Wed Feb 09, 2022 2:44 pm Change Time Zone

Hi Gordon,

I followed your advice. (using 7.x)
It worked !!

Thank you!!
Warm regards
Ricardo
rfernandez2007
 
Posts: 25
Joined: Mon Nov 29, 2021 2:40 pm


Return to Programming

Who is online

Users browsing this forum: No registered users and 1 guest

cron