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.

-k parameter not working on Ubuntu

See original GitHub issue

When I use the command rdb -c json -k 'cluster_*' redis.rdb

I always get following error :

Traceback (most recent call last):
  File "/usr/local/bin/rdb", line 9, in <module>
    load_entry_point('rdbtools==0.1.10', 'console_scripts', 'rdb')()
  File "/usr/local/lib/python2.7/dist-packages/rdbtools/cli/rdb.py", line 86, in main
    parser.parse(dump_file)
  File "/usr/local/lib/python2.7/dist-packages/rdbtools/parser.py", line 326, in parse
    self.parse_fd(open(filename, "rb"))
  File "/usr/local/lib/python2.7/dist-packages/rdbtools/parser.py", line 381, in parse_fd
    self.skip_object(f, data_type)
  File "/usr/local/lib/python2.7/dist-packages/rdbtools/parser.py", line 550, in skip_object
    skip_string(f)
NameError: global name 'skip_string' is not defined

If the -k parameter is removed it gives me all keys which is not what I want.

root@localhost.local# python -V Python 2.7.6 root@localhost.local# pip install rdbtools Requirement already satisfied (use --upgrade to upgrade): rdbtools in /usr/local/lib/python2.7/dist-packages Requirement already satisfied (use --upgrade to upgrade): redis in /usr/local/lib/python2.7/dist-packages (from rdbtools) Cleaning up…

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
oranagracommented, Jun 24, 2017

FYI @VikramMoule @aawilson the fix was released as version 0.1.11. sorry for the delay.

0reactions
aawilsoncommented, Jun 23, 2017

Is there some way to daylight this in lieu of a release? The only way I found this was by searching in the closed issues of this repo after a google search turned up a result that indicated that it might have been an issue (not a result that pointed to the issue–the page of the result didn’t actually have the actual content, it was just one of those “github issue mirroring” sites so I got the clue to search here from that). Not exactly a straight line.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keyboard and Touchpad not working - Ask Ubuntu
I tried rebooting and not changing the boot parameters and the keyboard and touchpad again didn't work. It only worked with acpi_osi=Linux and...
Read more >
5.2. Boot Parameters - Old Releases - Ubuntu
Boot parameters are Linux kernel parameters which are generally used to make sure that peripherals are dealt with properly. For the most part, ......
Read more >
set or unset options and positional parameters
Setting or unsetting attributes and positional parameters are not necessarily related actions, ... The problem with -k is that the behavior affects parsing, ......
Read more >
Ubuntu Manpage: dkms - Dynamic Kernel Module Support
To create a driver disk image with modules for multiple kernels, just specify multiple -k parameters on the command line (-k kernel1/arch1 -k...
Read more >
QEMU Emulator User Documentation - manpages.ubuntu!
When using the VNC display, you must use the -k parameter to set the keyboard layout if you are not using en-us. Valid...
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