Broken at nightly 2.0 preview due to `raise_exception_on_not_ok_status`
See original GitHub issueCan’t run TensorBoard with current tf-nightly-2.0-preview
:
$ virtualenv -q -p python2.7 ./ve
$ . ./ve/bin/activate
(ve) $ pip install -q tf-nightly-2.0-preview 2>/dev/null
(ve) $ python -c 'print(__import__("tensorflow").__version__)'
2.0.0-dev20190416
(ve) $ tensorboard --logdir ~/tensorboard_data/images_demo/ --port 2929
W0416 11:59:16.271439 139681431492352 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/plugins/interactive_inference/utils/platform_utils.py:70: The name train.Example is deprecated. Please use train.Example instead.
W0416 11:59:16.275100 139680972359424 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/io_wrapper.py:178: The name io.gfile.exists is deprecated. Please use io.gfile.exists instead.
W0416 11:59:16.276161 139680972359424 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/io_wrapper.py:182: The name io.gfile.isdir is deprecated. Please use io.gfile.isdir instead.
W0416 11:59:16.276598 139680972359424 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/io_wrapper.py:157: The name io.gfile.walk is deprecated. Please use io.gfile.walk instead.
W0416 11:59:16.277268 139680972359424 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/io_wrapper.py:59: The name compat.as_str_any is deprecated. Please use compat.as_str_any instead.
W0416 11:59:16.278485 139680972359424 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/io_wrapper.py:65: The name io.gfile.listdir is deprecated. Please use io.gfile.listdir instead.
W0416 11:59:16.278996 139680972359424 deprecation_wrapper.py:76] From /tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/directory_watcher.py:91: The name errors.OpError is deprecated. Please use errors.OpError instead.
Exception in thread Reloader:
Traceback (most recent call last):
File "/usr/lib/python2.7/threading.py", line 801, in __bootstrap_inner
self.run()
File "/usr/lib/python2.7/threading.py", line 754, in run
self.__target(*self.__args, **self.__kwargs)
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/application.py", line 390, in _reload
multiplexer.Reload()
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 240, in Reload
Worker()
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/plugin_event_multiplexer.py", line 218, in Worker
accumulator.Reload()
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/plugin_event_accumulator.py", line 177, in Reload
for event in self._generator.Load():
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 89, in Load
for event in self._LoadInternal():
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 109, in _LoadInternal
self._InitializeLoader()
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 168, in _InitializeLoader
self._SetPath(path)
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/directory_watcher.py", line 192, in _SetPath
self._loader = self._loader_factory(path)
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorboard/backend/event_processing/event_file_loader.py", line 41, in __init__
with tf.errors.raise_exception_on_not_ok_status() as status:
File "/tmp/tmp.PISDTVYzAQ/ve/local/lib/python2.7/site-packages/tensorflow/python/util/deprecation_wrapper.py", line 79, in __getattr__
return getattr(self._dw_wrapped_module, name)
AttributeError: 'module' object has no attribute 'raise_exception_on_not_ok_status'
TensorBoard 1.14.0a20190416 at http://HOSTNAME:2929 (Press CTRL+C to quit)
Hitting the server at that port gives 500s with the same error, and fails to load any plugins that depend on the multiplexer. The projector still works.
Issue Analytics
- State:
- Created 4 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
Can't download tf nightly 2.0 preview - Stack Overflow
I read that it should download if you have the 3.6.x version of Python so I downgraded to that and it still doesn't...
Read more >couldn't find "tf-nightly-2.0-preview" using pip as before ?
Hi there,. normally to see the list of TF nightly available with pip I am doing : pip install tf-nightly-2.0-preview==
Read more >tf-nightly-cpu-2.0-preview - PyPI
tf-nightly-cpu-2.0-preview 0.0.0 · Project description · Project details · Release history Release notifications | RSS feed · Download files · Help.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
But this should be covered by event_file_loader_test.py shouldn’t it? I think I’ll try clearing the travis cache for master and rerunning.
Yes, that also works, and makes sense to me. Thanks for the suggestion.