cubes
cubes copied to clipboard
Unknown stores extension mongo error
I am trying to run the hello_world example from https://github.com/DataBrewery/cubes/examples/hello_world with MongoDB backend
Modified slicer.ini and aggregate.py files.
slicer-mongo.ini file - - -
#slices.ini [store] type: mongo url: mongodb://localhost:27017/ database: cubes collection: ibrd [models] main: tutorial_model.json
aggregate.py file changes at line 5
workspace = Workspace(config="/home/ubuntu/cubes/examples/hello_world/slicer-mongo.ini")
Getting error : Unknown store extension 'mongo'
If you are using cubes from github master, then install https://github.com/databrewery/cubes-mongo
I've installed both cubes from github master and cubes-mongo. Same error.
Maybe the cubes-mongo setup.py does not have any entry_points ?
The ext.py in cubes (discover function) call iter_entry_points
but the cycle is never entered
What's the status of this issue? I wanted to try Mongo backend as well but don't understand how it should be laid out after you moved mongo backend to another project: cubes-mongo.
I have the same issue. Is there a solution for this issue?
I have the same issue. Is there a solution for this issue?
+1
Try to add in your slicer.ini
to the [server]
section:
[server]
modules = cubes_mongo
Thanks - That almost certainly was needed - now I see the following error:
ImportError: No module named cubes_mongo
pip install cubes-mongo indicates all the requirements are installed. But in my case something is clearly causing it not to be found..
Does python -m cubes_mongo
return error complaining that module is not executable (good sign) or the module can't be found?
I get error 'no module named cubes_mongo'.
However, when I try that command with cubes-mongo (dash instead of underscore) I get error 'cubes-mongo is a package and cannot be directly executed'
Thanks for your help, this is really not my forte!
On 16 Mar 2017 6:56 p.m., "Stefan Urbanek" [email protected] wrote:
Does python -m cubes_mongo return error complaining that module is not executable (good sign) or the module can't be found?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DataBrewery/cubes/issues/350#issuecomment-287203223, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVjvuvCwSUWP4CmVKruON5siKvw60d8ks5rmbALgaJpZM4Iqarq .
--
*Séanadh Ríomhphoist/Email DisclaimerTá an ríomhphost seo agus aon chomhad
a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin
é. Is féidir tuilleadh a léamh anseo.
https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml
https://www4.dcu.ie/iss/seanadh-riomhphoist.shtmlThis e-mail and any
files transmitted with it are confidential and are intended solely for use
by the addressee. Read more here.
https://www4.dcu.ie/iss/email-disclaimer.shtml *
Try to use cubes-mongo
(dash) in the server config then.
Unknown 'stores' extension 'cubes-mongo'
On 16 Mar 2017 7:26 p.m., "Stefan Urbanek" [email protected] wrote:
Try to use cubes-mongo(dash) in the server config then.
— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/DataBrewery/cubes/issues/350#issuecomment-287209862, or mute the thread https://github.com/notifications/unsubscribe-auth/AAVjvvR2TSBxxlKUN3QT9vrkrgYbNckWks5rmbcAgaJpZM4Iqarq .
--
*Séanadh Ríomhphoist/Email DisclaimerTá an ríomhphost seo agus aon chomhad
a sheoltar leis faoi rún agus is lena úsáid ag an seolaí agus sin amháin
é. Is féidir tuilleadh a léamh anseo.
https://www4.dcu.ie/iss/seanadh-riomhphoist.shtml
https://www4.dcu.ie/iss/seanadh-riomhphoist.shtmlThis e-mail and any
files transmitted with it are confidential and are intended solely for use
by the addressee. Read more here.
https://www4.dcu.ie/iss/email-disclaimer.shtml *
I apologize, advertisement of modules is not well documented.
In the meantime see #417 - the mongo backend module should be fixed in a similar fashion.