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.

Error deleting a client

See original GitHub issue

Hi all! Trying to remove dead host I’m getting an error:

In [8]: print data_store.REL_DB.ReadClientSnapshot(u"C.35890586b71d1f08").knowledge_base.fqdn --------------------------------------------------------------------------- NameError Traceback (most recent call last) /usr/share/grr-server/local/lib/python2.7/site-packages/grr_response_server/bin/console.pyc in <module>() ----> 1 print data_store.REL_DB.ReadClientSnapshot(u"C.35890586b71d1f08").knowledge_base.fqdn

NameError: name 'data_store' is not defined

grr-server: 3.3.0-8

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

1reaction
ogarodcommented, Oct 31, 2019

You need to import the data_store module first:

from grr_response_server import data_store

The data_store module used to be auto-imported when you start up a grr_console, but that doesn’t seem to be the case any more. I checked our documentation and it doesn’t mention needing to import the module manually. So we will either fix the documentation or add the module back to the auto-import list. Sorry for the trouble. 😃

0reactions
panhaniacommented, Nov 27, 2019

This has been fixed and pushed in 3440b0058a4fa6dfa72690a9d81a7ee704a73436.

Read more comments on GitHub >

github_iconTop Results From Across the Web

UltraTax CS: Error occurred while deleting the tax client
In UltraTax CS, choose Help > Repair and click the Rebuild Client List button. The client should then be removed from the client...
Read more >
Error when deleting client on Invoicera
You may be having trouble deleting clients in Invoicera when they are associated with an active project or recurring profile.
Read more >
P4Python having trouble deleting client - [Error] - Stack Overflow
While i am trying to delete a client. I am encountering error. What i am doing here is,. 1) I create a temp...
Read more >
Client deletion ended with error - SAP Community
I am having problem to delete the client since 3 days.deleting client is under process and ended with error 14052 Maximum run time...
Read more >
WLC5508: Error in deleting disabled client - Cisco Community
Solved: Hi, Has someone ever found this kind of error. I try to disable many unallowed clients in system myself. But the only...
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