Skip to content

AttributeError: 'str' object has no attribute 'read' #3

@mysticaltech

Description

@mysticaltech

Hello, when running the base example, I get this error:

Traceback (most recent call last):
  File "/home/karim/code/convert/snippet-dumper/./dumper.py", line 25, in <module>
    res = compiler.execute(query, params=params)
  File "/home/karim/.local/lib/python3.10/site-packages/pferret/wrapper.py", line 28, in execute
    script = reader.read()
AttributeError: 'str' object has no attribute 'read'

Any ideas? Is it my Python version?

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