Giter Site home page Giter Site logo

Comments (4)

mk270 avatar mk270 commented on May 18, 2024

trying it with virtualenv, I get TypeError: init() got an unexpected keyword argument 'schema'

from cubes.

Stiivi avatar Stiivi commented on May 18, 2024

What is the full stack trace, please?

from cubes.

mk270 avatar mk270 commented on May 18, 2024

(cubes1)mk270@marsilio ~/Prog/ves/cubes1/cubes/examples/hello_world> slicer serve slicer.ini
2013-01-10 17:23:57,216 INFO using backend 'sql'
Traceback (most recent call last):
File "/home/mk270/Prog/ves/cubes1/bin/slicer", line 5, in
pkg_resources.run_script('cubes==0.10.1', 'slicer')
File "/home/mk270/Prog/ves/cubes1/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 499, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/home/mk270/Prog/ves/cubes1/local/lib/python2.7/site-packages/distribute-0.6.19-py2.7.egg/pkg_resources.py", line 1235, in run_script
execfile(script_filename, namespace, namespace)
File "/home/mk270/Prog/ves/cubes1/lib/python2.7/site-packages/cubes-0.10.1-py2.7.egg/EGG-INFO/scripts/slicer", line 326, in
args.func(args)
File "/home/mk270/Prog/ves/cubes1/lib/python2.7/site-packages/cubes-0.10.1-py2.7.egg/EGG-INFO/scripts/slicer", line 153, in run_server
cubes.server.run_server(config)
File "/home/mk270/Prog/ves/cubes1/local/lib/python2.7/site-packages/cubes-0.10.1-py2.7.egg/cubes/server/slicer.py", line 216, in run_server
application = Slicer(config)
File "/home/mk270/Prog/ves/cubes1/local/lib/python2.7/site-packages/cubes-0.10.1-py2.7.egg/cubes/server/slicer.py", line 127, in init
*_self.context["workspace_options"])
File "/home/mk270/Prog/ves/cubes1/local/lib/python2.7/site-packages/cubes-0.10.1-py2.7.egg/cubes/backends/sql/workspace.py", line 99, in create_workspace
workspace = SQLStarWorkspace(model, engine, *_options)
File "/home/mk270/Prog/ves/cubes1/local/lib/python2.7/site-packages/cubes-0.10.1-py2.7.egg/cubes/backends/sql/workspace.py", line 115, in init
self.metadata = sqlalchemy.MetaData(bind=self.engine,schema=self.schema)
TypeError: init() got an unexpected keyword argument 'schema'

from cubes.

Stiivi avatar Stiivi commented on May 18, 2024

Looks like you are using old sqlalchemy < 0.7.4. Updated README to reflect that requirement.

from cubes.

Related Issues (20)

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.