Cannot do anything with virtual graphs

Hi!

Today, some time since my latest successful attempts of playing around with virtual graphs, I tried some basic things using “stardog-admin” CLI tool, but nothing seems to work anymore.

$ stardog-admin virtual list -v

Unknown or unsupported command type 'List', cannot execute.
The detailed stack trace for the error is:
com.complexible.stardog.StardogException: Unknown or unsupported command type 'List', cannot execute.
	at com.complexible.stardog.protocols.http.client.BaseHttpClient.checkResponseCode(BaseHttpClient.java:433)
	at com.complexible.stardog.protocols.http.client.BaseHttpClient.execute(BaseHttpClient.java:304)
	at com.complexible.stardog.protocols.http.client.BaseHttpClient.executeHttpGet(BaseHttpClient.java:517)
	at com.complexible.stardog.protocols.http.client.HttpVirtualGraphAdminClientImpl.getGraphs(HttpVirtualGraphAdminClientImpl.java:69)
	at com.complexible.stardog.protocols.http.client.HttpVirtualGraphAdminClientImpl.getGraphs(HttpVirtualGraphAdminClientImpl.java:53)
	at com.complexible.stardog.protocols.virtual.AbstractVirtualGraphAdminConnection.getGraphs(AbstractVirtualGraphAdminConnection.java:50)
	at com.complexible.stardog.virtual.cli.VirtualGraphList.performSecure(VirtualGraphList.java:37)
	at com.complexible.stardog.cli.admin.SecureStardogAdminCommand.call(SecureStardogAdminCommand.java:58)
	at com.complexible.stardog.cli.CLIBase.execute(CLIBase.java:55)
	at com.complexible.stardog.cli.admin.CLI.main(CLI.java:182)

Similar error message is output for other subcommands of “virtual”:

Unknown or unsupported command type 'Add', cannot execute.

stardog-admin help virtual or stardog-admin help virtual add show the help text without problems though. Neither release notes or documentation page mention any bugs/fixes related to this. I wonder what happened.

I’m using stardog-4.2.3, community edition, on Linux.

Is there any possibility that you installed 5.0 and are either using the 5.0 client to access a 4.2.3 server or the 4.2.3 client to access a 5.0 server?

If you did install 5.0 I would check which client with which stardog-admin

Hi there. Virtual graphs are not enabled with a Community license. You would need to run with a Developer/Enterprise license or trial.

No, I stayed with 4.2.3 since it was released, so 5.0 incompatibility should not be the issue.

But as Stephen points out later, I might need to get a developer/enterprise license now to use virtual graphs.

Would really appreciate it if the error messages said so in the first place :slight_smile:

I got stardog-5.0 rc1 enterprise trial version. The virtual graphs are working now.
Thanks!

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.