dbpedia / cmem-plugin-databus

eccenca Corporate Memory build plugin to publish and load datasets from a DBpedia databus service.
Apache License 2.0
5 stars 2 forks source link

Target Dataset autocompletion TypeError missing argument #11

Closed white-gecko closed 1 year ago

white-gecko commented 1 year ago

Target Graph (required) Graph name to load from the Databus

reports an error instead of suggestions

image

yum-yab commented 1 year ago

Hi,

I had a look and this is not a databus-plugin problem but rather a cmem problem, since it happens on the Target graph field, which is handled by cmem. For me this sounds like a version problem, since @seebi once told me they introduced said missing context parameter at some point in time (I think it could be the upgrade for cmem-plugin-base from 1.2.0 to 2.1.0 in this commit, so summer 2022) and it seems like you are trying using an new version of this Plugin Base inside of older cmem, which requires cmem to pass a context, which the old version does not do, hence the error.

I think I had the same issue at one point, and the solution was to update cmem to the latest version. I think make clean-pull-start-bootstrap did the trick for me, have you tried this already?

But this are just more or less wild guesses, @seebi can give you the real answer.

seebi commented 1 year ago

@yum-yab - you correctly debugged the issue :-)

white-gecko commented 1 year ago

The cmem version I'm trying it on is v22.2.1-139-g7136de622, the same behavior on v22.2.1-139-g7136de622. I don't see how it can be an old version.

msaipraneeth commented 1 year ago

Changed the target graph parameter to file(auto complete the list of file resources available). will merge respective change using https://github.com/dbpedia/cmem-plugin-databus/pull/17