Skip to content

No longer working with SQLAlchemy 0.7.5 #16

Description

@alibitek

I've tried to run the test.py script with SQLAlchemy 0.7.5 and ActivePython 2.7.2.5 without any success.
I get the following errors several times:
"ArgumentError: Column-based expression object expected for argument 'order_by'; got: 'stop_sequence', type <type 'str'>"
and
"InvalidRequestError: One or more mappers failed to initialize - can't proceed with initialization of other mappers. Original exception was: Column-based expression object expected for argument 'order_by'; got: 'stop_sequence', type <type 'str'>"

Maybe the order of arguments changed somewhere in the SQL Alchemy API.

Also if I try to create a database from the zippped transit using:
import gtfs
sched = gtfs.load("google_transit.zip", "transit.db")

I get the following error:
sqlalchemy.exc.ArgumentError: Column-based expression object expected for argument 'order_by'; got: 'stop_sequence', type <type 'str'>

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions