Skip to content

Error message in TensorFlow tests. #222

Closed

Description

@robertnishihara

The following message is printed at the end of the tensorflow tests. It also comes up in other places (as in the LBFGS example). In the past, I have seen this come up when using tensorflow in situations where two Python modules mutually import each other.

Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x111829358>>
Traceback (most recent call last):
  File "/Users/rkn/anaconda/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 581, in __del__
UnboundLocalError: local variable 'status' referenced before assignment
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x111911048>>
Traceback (most recent call last):
  File "/Users/rkn/anaconda/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 581, in __del__
UnboundLocalError: local variable 'status' referenced before assignment
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x111867358>>
Traceback (most recent call last):
  File "/Users/rkn/anaconda/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 581, in __del__
UnboundLocalError: local variable 'status' referenced before assignment
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x111852278>>
Traceback (most recent call last):
  File "/Users/rkn/anaconda/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 581, in __del__
UnboundLocalError: local variable 'status' referenced before assignment
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x111881c50>>
Traceback (most recent call last):
  File "/Users/rkn/anaconda/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 581, in __del__
UnboundLocalError: local variable 'status' referenced before assignment
Exception ignored in: <bound method BaseSession.__del__ of <tensorflow.python.client.session.Session object at 0x111956e48>>
Traceback (most recent call last):
  File "/Users/rkn/anaconda/lib/python3.5/site-packages/tensorflow/python/client/session.py", line 581, in __del__
UnboundLocalError: local variable 'status' referenced before assignment

Activity

  1. robertnishihara commented on Nov 9, 2017

    @robertnishihara
    CollaboratorAuthor

    Closing because I don't see this anymore.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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