question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

OSError: [Errno 22] Invalid argument

See original GitHub issue

When I updated tensorboard from 1.12 to 1.13.1(because of svg export problem) and updated numpy to 1.16.2, I found my tensorboard didn’s work. I reinstalled tensorflow and tensorboard but it still didn’t work. My system: Win7, python version:3.6.5(in Anaconda3). Error code:

$ tensorboard --logdir=.
TensorBoard 1.13.1 at http://Myname:6006 (Press CTRL+C to quit)
Traceback (most recent call last):
  File "f:\anaconda3\lib\runpy.py", line 193, in _run_module_as_main
    "__main__", mod_spec)
  File "f:\anaconda3\lib\runpy.py", line 85, in _run_code
    exec(code, run_globals)
  File "F:\Anaconda3\Scripts\tensorboard.exe\__main__.py", line 9, in <module>
  File "f:\anaconda3\lib\site-packages\tensorboard\main.py", line 57, in run_main
    app.run(tensorboard.main, flags_parser=tensorboard.configure)
  File "f:\anaconda3\lib\site-packages\absl\app.py", line 300, in run
    _run_main(main, args)
  File "f:\anaconda3\lib\site-packages\absl\app.py", line 251, in _run_main
    sys.exit(main(argv))
  File "f:\anaconda3\lib\site-packages\tensorboard\program.py", line 228, in main
    self._register_info(server)
  File "f:\anaconda3\lib\site-packages\tensorboard\program.py", line 274, in _register_info
    manager.write_info_file(info)
  File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 269, in write_info_file
    payload = "%s\n" % _info_to_string(tensorboard_info)
  File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 129, in _info_to_string
    for k in _TENSORBOARD_INFO_FIELDS
  File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 129, in <dictcomp>
    for k in _TENSORBOARD_INFO_FIELDS
  File "f:\anaconda3\lib\site-packages\tensorboard\manager.py", line 51, in <lambda>
    (dt - datetime.datetime.fromtimestamp(0)).total_seconds()),
OSError: [Errno 22] Invalid argument

Does anyone have same issue or any idea how to solve it?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Reactions:3
  • Comments:19 (8 by maintainers)

github_iconTop GitHub Comments

17reactions
wchargincommented, Mar 12, 2019

@deva-gopalani: pip install tensorboard==1.12.2

8reactions
wchargincommented, Mar 16, 2019

Given the number of people who have commented in this thread, I do think that we should release a patch release of TensorBoard to work around the bug in early versions of Python 3.6. Tracking this in #2017.

Read more comments on GitHub >

github_iconTop Results From Across the Web

OSError [Errno 22] invalid argument when use open() in Python
I got this error because old server instance was running and using log file, hence new instance was not able to ...
Read more >
[Solved] OSError errno22 invalid argument - Python Pool
OSError errno22 invalid argument is raised when the error occurs due to some system failure, full disk or the file cannot be found....
Read more >
Oserror Errno 22 Invalid Argument - MindMajix Community
How to resolve the error called OSError [Errno 22] invalid argument when use open() in python? Python. 1 answer. Answers.
Read more >
OSError: [Errno 22] Invalid argument: : r/learnprogramming
The issue is most likely due to escape sequences. ... The sequence \f is the escape sequence for an ASCII form feed character,...
Read more >
[SOLVED] OSError: [Errno 22] Invalid argument - YouTube
This tutorial will help you fix your File reading issue. # oserror #Howto # invalid #python.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found