Skip to content

Missing 2 required positional arguments. #2191

@Lothedr

Description

@Lothedr

Short description
Calling tfds.builder('mnist') causes exception:

TypeError: __init__() missing 2 required positional arguments: 'op' and 'message'

Environment information

  • Operating System: Windows 10 Pro
  • Python version: 3.8.3 (default, Jul 2 2020, 17:30:36) [MSC v.1916 64 bit (AMD64)]
  • tensorflow-datasets version: 3.2.0
  • tensorflow version: 2.2.0

Reproduction instructions

import tensorflow as tf
import tensorflow_datasets as tfds
builder = tfds.builder('mnist')

Link to logs
Traceback

Expected behavior
I expected that tfds will not throw an exception.

Additional context
There seems to be an implementation error here. In my case, exc_type is UnimplmentedError and its constructor needs more arguments according to the implementation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions