Code Monkey home page Code Monkey logo

marklogic-attic / smart-mastering-demo Goto Github PK

View Code? Open in Web Editor NEW
2.0 5.0 1.0 25.35 MB

Demonstrates using marklogic-community/smart-mastering-core in the context of the MarkLogic Data Hub Framework. We recommend you use the Smart Mastering Core instead =>

Home Page: https://marklogic-community.github.io/smart-mastering-core/

License: Other

Shell 0.61% Java 47.36% XQuery 14.43% JavaScript 5.03% HTML 5.25% TypeScript 17.70% CSS 4.37% Groovy 5.25%
marklogic

smart-mastering-demo's People

Contributors

aebadirad avatar damonfeldman avatar divino avatar dmcassel avatar gmarintes avatar joemfb avatar maeisabelle avatar maeisabelle08 avatar mhuang-ml avatar paxtonhare avatar robertszkutak avatar wooldridge avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

sashamitrovich

smart-mastering-demo's Issues

Smart Mastering UI does not appear and get error log

Welcome Hub enthusiast!

Let's get the most out of this ticket.

The issue

Short description of the problem:
error when I open Data Hub Quick Start UI

What behavior are you expecting?
to be able to proceed to the next step without an error

Tech details

Which Operating System are you using?
centOS7

Which version of MarkLogic are you using?
9.0.7

Which version of the Data Hub Framework are you using?
it is included smart-mastering project

Is this a QuickStart UI bug? If so, which browser are you using?
Mozilla Firefox

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:

bootrun_errolog.txt
error

for quickstart:
java -jar quickstart.war -d > myoutput.txt

for gradle:
gradle mlYourCommand -d > myoutput.txt

Merge graphic does not appear below match details

The graphic which shows which elements have been merged/contributed no longer appears after commit c275dbb
effects Chrome and Firefox (other browsers not tested)

The detail screen should look like this:
screen shot 2018-07-12 at 10 39 07 am

but latest demo code instead looks like this (no graphic is shown, but there is a gap where it should display)

screen shot 2018-07-12 at 10 35 28 am

An error is logged in the Chrome developer tools console:
ERROR Error: missing: 3
    at find (sankey.js:48)
    at eval (sankey.js:126)
    at Array.forEach ()
    at computeNodeLinks (sankey.js:122)
    at sankey (sankey.js:64)
    at SmartMasteringDocViewerComponent.drawNodes (doc-viewer.component.ts:265)
    at SmartMasteringDocViewerComponent.render (doc-viewer.component.ts:233)
    at SafeSubscriber.eval [as _next] (doc-viewer.component.ts:70)
    at SafeSubscriber.__tryOrUnsub (Subscriber.js:240)
    at SafeSubscriber.next (Subscriber.js:187)

mlDeploy step fails - no forests for Modules DB..

Welcome Hub enthusiast!

Let's get the most out of this ticket.

The issue

Short description of the problem:

Unable to install - fails at gradle mlDeploy step, with this error:

Execution failed for task ':mlDeployApp'.
> com.marklogic.client.FailedRequestException: Local message: /config/query write failed: Internal Server Error. Server Message: XDMP-NOFORESTS: xdmp:invoke-function(function() as item()*, <options xmlns="xdmp:eval"><modules>0</modules><root>.</root><database>...</database>...</options>) -- Database smart-mastering-MODULES contains no forests

What behavior are you expecting?

this step completes without failure

Tech details

Which Operating System are you using?
MacOS 10.13.5

Which version of MarkLogic are you using?
9.0-6

Which version of the Data Hub Framework are you using?
smartMasteringVersion=1.0.0-beta.2

Is this a QuickStart UI bug? If so, which browser are you using?

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:

for quickstart:
java -jar quickstart.war -d > myoutput.txt

for gradle:
gradle mlYourCommand -d > myoutput.txt

Not able to run the smart-mastering demo project

Welcome Hub enthusiast!

Let's get the most out of this ticket.

The issue

Following instructions for installing smart-mastering-demo project.
could not get through the step gradle mldeploy, it fails in hubPreInstallCheck

Short description of the problem:

Installed Datahub framework through below link
https://marklogic.github.io/marklogic-data-hub/tutorial/install/

Following Steps to run the Smart Mastering Demo

  1. gradle build
  2. gradle mlDeploy

could not get through the step gradle mldeploy, it fails in hubPreInstallCheck

What behavior are you expecting?

Tech details

Which Operating System are you using?
Windows 7 home premium

Which version of MarkLogic are you using?
MarkLogic 9.0-5

Which version of the Data Hub Framework are you using?
DataHub framework 3.0.0

Is this a QuickStart UI bug? If so, which browser are you using?
myoutput.txt

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:

for quickstart:
java -jar quickstart.war -d > myoutput.txt

for gradle:
gradle mlYourCommand -d > myoutput.txt

Failed to install demo - step gradle mlDeploy

Welcome Hub enthusiast!

Let's get the most out of this ticket.

The issue

Short description of the problem:

error at gradlew mlDeploy

What behavior are you expecting?

to be able to proceed to the next step without an error

Tech details

Which Operating System are you using?

OSX High Sierra

Which version of MarkLogic are you using?
9.0-5

Which version of the Data Hub Framework are you using?
3.0

Is this a QuickStart UI bug? If so, which browser are you using?

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:
stacktrace and debug output attached. Seems to be pointing towards port in use (potentially)? but nothing actually running. Where can I re-configure the ports (if this is indeed the actual error?)

for quickstart:
java -jar quickstart.war -d > myoutput.txt

for gradle:
gradle mlYourCommand -d > myoutput.txt
stacktrace.txt
debug.txt

Smart Mastering Demo Setup Instructions Fail

Welcome Hub enthusiast!

Let's get the most out of this ticket.

The issue

Short description of the problem:

Following instructions on the Develop branch, example/smartmastering.md, I get the following message when I get to the gradle mlDeploy step.

com.marklogic.client.MarkLogicIOException: java.net.ConnectException: Failed to connect to localhost/0:0:0:0:0:0:0:1:8010

What behavior are you expecting?

I was expecting it to create the necessary resources as part of the deploy, but it's clearly not creating application servers before trying to reference them.

Tech details

Which Operating System are you using? Mac

Which version of MarkLogic are you using? Marklogic 9.0-5

Which version of the Data Hub Framework are you using? Develop branch of the smart-mastering-demo project

Is this a QuickStart UI bug? If so, which browser are you using?

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:

for gradle:
gradle mldeploy -d > command.log
command.log

Can't get the demo to run

Welcome Hub enthusiast!

Let's get the most out of this ticket.

The issue

Short description of the problem:

Reading the instructions for installing the smart mastering demo and can't get past step

gradle bootrun

I don't understand what
"from your project home: gradle bootrun"
means. Which project is that? I tried from the root of this project, got to 90% and then IDLE for minutes. I also see an error:

Errors occurred while build effective model from /Users/smitrovi/.gradle/caches/modules-2/files-2.1/com.marklogic/ml-javaclient-util/3.6.0/2270ac816eb0ad3f7a42597bd5e4d8951c7f016/ml-javaclient-util-3.6.0.pom:
    'dependencies.dependency.systemPath' for none:none:jar must specify an absolute path but is ${project.basedir}/lib/modules.jar in com.marklogic:ml-javaclient-util:3.6.0

What behavior are you expecting?

Tech details

Which Operating System are you using?
MacOS High Sierra

Which version of MarkLogic are you using?
9.0-5, running on CentOS 7.2 in a VM

Which version of the Data Hub Framework are you using?
Don't understand the question - I'm just following the instructions #feelingdumb

Is this a QuickStart UI bug? If so, which browser are you using?

The devil is in the details...

If possible, rerun the command with -d for debugging output and attach the output:

for quickstart:
java -jar quickstart.war -d > myoutput.txt

for gradle:
gradle mlYourCommand -d > myoutput.txt

the README needs to be updated

The issue

Short description of the problem: I was expecting to learn from the README what this project was, but instead was confused when I landed in the marklogic-data-hub project when I clicked on links (in particular, the Contributing Guide). Some basic get-this-running instructions would be nice.

Also, the boilerplate when creating an issue here is heavily datahub-centric and should probably also be edited.

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.