Giter Site home page Giter Site logo

dev_tools's People

Contributors

bwlewis avatar jakinchen avatar paradigm4labs avatar rvernica avatar

Stargazers

 avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Forkers

bruce000 gqueiroz

dev_tools's Issues

Fix for installing a branch

In the archives created by GitHub from branches, the directories do not contain the v prefix used in the branch name. Here is one example:

> wget https://github.com/paradigm4/grouped_aggregate/archive/v15.7.tar.gz
> tar -zxvf 15.7.tar.gz
grouped_aggregate-15.7/
grouped_aggregate-15.7/AggregateHashTable.h
...

Notice how the directory inside the archive is grouped_aggregate-15.7 and not grouped_aggregate-v15.7.

For this reason, install_github operator fails when a branch is used. Here is the iquery output:

AFL% load_library('dev_tools');
Query was executed successfully
AFL% install_github('Paradigm4/grouped_aggregate`, 'v15.7');
SystemException in file: Physicalinstall_github.cpp function: execute line: 118
Error id: scidb::SCIDB_SE_OPERATOR::SCIDB_LE_ILLEGAL_OPERATION
Error description: Operator error. Illegal operation: failed to build plugin.

And here is the scidb-stderr.log output:

sh: 1: cd: can't cd to /tmp/install_github_atP3WB/*-v15.7
make: *** No targets specified and no makefile found.  Stop.

Notice how the directory name in which the operator tries to cd contains v in front of the branch version, as specified in the operator branch argument.


The second commit in the pull request #4 869a790 is a patch to address this issue. The patch checks for v prefix in the branch and uses the branch without the v prefix for accessing the directory of the source code. The patch has been tested and works on SciDB 15.7.

Broken in 16.9?

I get with commit 8c388e5:

iquery -aq "load_library('devtools')"
SystemException in file: src/network/BaseConnection.h function: receive line: 426
Error id: scidb::SCIDB_SE_NETWORK::SCIDB_LE_CANT_SEND_RECEIVE
Error description: Network error. Cannot receive network message: Read failed: End of file (asio.misc:2).  An instance may be offline..

Update for 19.3

It appears that the operator would need to be updated in order to work on 19.3. Trying to build it, I get:

> make
Using SciDB path /opt/scidb/19.3
"/usr/bin/g++-4.9" -pedantic -W -Wextra -Wall -Wno-variadic-macros -Wno-strict-aliasing -Wno-long-long -Wno-unused-parameter -fPIC -DSCIDB_VARIANT=1903 -O2 -DNDEBUG -std=c++14 -DCPP14 -I. -DPROJECT_ROOT="\"/opt/scidb/19.3\"" -I"/opt/scidb/19.3/3rdparty/boost/include/" -I"/opt/scidb/19.3/include" -I./extern -o Logicalinstall_github.o -c Logicalinstall_github.cpp
Logicalinstall_github.cpp:1:28: fatal error: query/Operator.h: No such file or directory
 #include "query/Operator.h"
                            ^
compilation terminated.
make: *** [libdev_tools.so] Error 1

dev_tools for private GitHub repos

dev_tools cannot be used (with some options) to install private GitHub repos of Paradigm4. Throws an error (something like: cannot find repo...).

The alternate is the manual method:

  • cloning the private repo
  • running make inside the repo folder
  • copying the generated *.so file(s) to <SCIDB_DIR>/lib/scidb/plugins
  • restarting SciDB using scidb.py stopall DBNAME, and then scidb.py startall DBNAME

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.