Skip to content

AttributeError: 'NoneType' object has no attribute 'read' #21

@archisman-panigrahi

Description

@archisman-panigrahi

I installed doi2bib with pip in Ubuntu 24.04. It fails to run with the following error.

doi2bib
Traceback (most recent call last):
  File "/home/archisman/.local/bin/doi2bib", line 72, in <module>
    main()
  File "/home/archisman/.local/bin/doi2bib", line 55, in main
    dois = args[0].input.read()
           ^^^^^^^^^^^^^^^^^^
AttributeError: 'NoneType' object has no attribute 'read'

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