Skip to content

Bug: AttributeError: 'ReadTimeout' object has no attribute 'message' #235

@patrikgrenfeldt

Description

@patrikgrenfeldt

I think I found something to fix that would make your great library even better :)

Last part of my stacktrace:

File "/Users/patrik.grenfeldt/Documents/GitHub/cg/cg/apps/lims/order.py", line 32, in save_containers
    container_map[lims_container.name] = lims_container
  File "/Users/patrik.grenfeldt/opt/anaconda3/envs/dev38/lib/python3.8/site-packages/genologics/descriptors.py", line 54, in __get__
    instance.get()
  File "/Users/patrik.grenfeldt/opt/anaconda3/envs/dev38/lib/python3.8/site-packages/genologics/entities.py", line 289, in get
    self.root = self.lims.get(self.uri)
  File "/Users/patrik.grenfeldt/opt/anaconda3/envs/dev38/lib/python3.8/site-packages/genologics/lims.py", line 87, in get
    raise type(e)("{0}, Error trying to reach {1}".format(e.message, uri))
AttributeError: 'ReadTimeout' object has no attribute 'message'

Best wishes
Patrik

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