Skip to content

Unable to connect to the database for OV fiets dataset #3

@NasonZ

Description

@NasonZ

Hi I would like to download the OV fiets dataset from here http://gbfs.openov.nl/ovfiets/ for a data science project but I'm not sure what details I need to enter for conn_str to do so.

Trying to run main.py, I get the following errror message:

runcell(0, 'D:/Project_F/fleet-master/main.py')
Unable to connect to the database
Traceback (most recent call last):

  File "D:\Project_F\fleet-master\main.py", line 34, in <module>
    cacher = cacher.cacher.Cacher(conn)

NameError: name 'conn' is not defined

My code is failing at line 30 try: conn = psycopg2.connect(conn_str) but I'm unsure how to resolve this, can you advise?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions