Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

avoid crashing when a run cannot be sync (issue 1297) #1798

Closed
wants to merge 1 commit into from

Commits on Feb 3, 2021

  1. avoid crashing when a run cannot be sync (issue 1297)

    This is a workaround for issue wandb#1297.
    
    It will just skip a run if it failed to open the wand log file.
    
    ```
    Traceback (most recent call last):
      File "/gpfswork/rech/dur/uzb95vd/envs/murel/lib/python3.7/threading.py", line 917, in _bootstrap_inner
        self.run()
      File "/gpfswork/rech/dur/uzb95vd/envs/murel/lib/python3.7/site-packages/wandb/sync/sync.py", line 115, in run
        ds.open_for_scan(sync_item)
      File "/gpfswork/rech/dur/uzb95vd/envs/murel/lib/python3.7/site-packages/wandb/sdk/internal/datastore.py", line 100, in open_for_scan
        self._read_header()
      File "/gpfswork/rech/dur/uzb95vd/envs/murel/lib/python3.7/site-packages/wandb/sdk/internal/datastore.py", line 170, in _read_header
        ident, magic, version = struct.unpack("<4sHB", header)
    struct.error: unpack requires a buffer of 7 bytes
    ```
    cdancette committed Feb 3, 2021
    Configuration menu
    Copy the full SHA
    7c71415 View commit details
    Browse the repository at this point in the history