Skip to content

AttributeError: module 'roundware.lib.api' has no attribute 'request_stream (testing Vagrant, admin-updates) #423

@sbenthall

Description

@sbenthall

After successfully running ./runserver.sh on a vagrant on the admin-updates branch (see #422 for context)...

I'm trying the 'Basic Testing' steps recommended in these docs.

At the URL's provided, I'm getting Django error pages with tracebacks, as well as similar tracebacks in the command line logs.

http://localhost:8888/api/1/?operation=get_config&project_id=1

image

"Traceback (most recent call last):\n  File \"/vagrant/roundware/api1/views.py\", line 58, in catch_errors\n    function = operation_to_function(request.GET['operation'])\n  File \"/vagrant/roundware/api1/views.py\", line 79, in operation_to_function\n    \"request_stream\": api.request_stream,\nAttributeError: module 'roundware.lib.api' has no attribute 'request_stream'\n"

I get the same error for the following URLs:

http://localhost:8888/api/1/?operation=get_tags&session_id=2891
http://localhost:8888/api/1/?operation=request_stream&session_id=2891
http://localhost:8888/api/1/?operation=modify_stream&session_id=2892&tags=3,5,8

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