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.

Cannot resume in offline mode due to lack of `sys/id` field

See original GitHub issue
import neptune.new as neptune
run = neptune.init(mode='offline')
run.sync()
run.wait()
rid = run['sys/id'].fetch()
run = neptune.init(mode='offline', run=rid)
rid = run['sys/id'].fetch()

ends up with:

offline/1b7c5e70-695d-4d1c-8587-a5ca2e3d222c
Traceback (most recent call last):
  File "err4.py", line 5, in <module>
    run.sync()
  File "/home/wojciech/miniconda3/envs/nori/lib/python3.8/site-packages/neptune/new/run.py", line 453, in sync
    attributes = self._backend.get_attributes(self._uuid)
  File "/home/wojciech/miniconda3/envs/nori/lib/python3.8/site-packages/neptune/new/internal/backends/offline_neptune_backend.py", line 42, in get_attributes
    raise NeptuneOfflineModeFetchException
neptune.new.exceptions.NeptuneOfflineModeFetchException: 

----NeptuneOfflineModeFetchException---------------------------------------------------

It seems you are trying to fetch data from the server, while working in an offline mode.
You need to work in non-offline connection mode to fetch data from the server.

The thing is that I don’t try to fetch data from the server but from the run, whenever it stores its data.

Issue Analytics

  • State:open
  • Created 2 years ago
  • Comments:14 (8 by maintainers)

github_iconTop GitHub Comments

1reaction
Diagrama3commented, Oct 4, 2022

Switching from spreadssheets to Neptune.ai and How it Pushed…

1reaction
wjaskowskicommented, Jun 7, 2021

The truth is that I just wanted to use resuming in debug mode which initially did not work for me so I tried offline mode, which also failed.

On Mon, 7 Jun 2021 at 14:52, Marcin Mycek @.***> wrote:

(I’ve removed my previous comment)

@wjaskowski https://github.com/wjaskowski initially we didn’t plan to enable resuming runs in the offline mode. If I may ask why do you need to resume an offline run? Are you working with a multiprocessing / multi-script setup or is there a time break between the execution of the script and it’s resume?

— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/neptune-ai/neptune-client/issues/588#issuecomment-855898485, or unsubscribe https://github.com/notifications/unsubscribe-auth/ABFZEHOGCF3OQW6347DHD3TTRS6KVANCNFSM45WOFQ3A .

Read more comments on GitHub >

github_iconTop Results From Across the Web

Issues · neptune-ai/neptune-client - GitHub
Feature Request: fetch runs table with selected fields only ... Cannot resume in offline mode due to lack of sys/id field feature request....
Read more >
Users are unable to add the Sys ID field to a form or list view ...
List · Go to: System UI > Lists · Select the record for the Table and View you want to modify · In...
Read more >
IXC messages - IBM
CONFIRM REQUEST TO VARY SYSTEM sysname OFFLINE. REPLY SYSNAME=sysname TO REMOVE sysname OR C TO CANCEL. IXC372I VARY REJECTED, SYSTEM sysname text; IXC373I...
Read more >
Catalyst 4500 Series Switch Cisco IOS System Message ...
Error Message C4K_CHASSIS-3-LINECARDNOTVALIDINSLOT: Module (Field Replaceable ... Explanation Due to a lack of memory 802.1X cannot perform ...
Read more >
Operations Machine Messages - SMA Technologies Online Help
1, SMA0062, OpCon transaction XML field code is invalid ... The LSAM is unable to start a DEMAND run due to lack of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

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