xkeysnail icon indicating copy to clipboard operation
xkeysnail copied to clipboard

NameError: name 'with_or_set_mark' is not defined

Open bradprob opened this issue 6 years ago • 7 comments

Hi, executing the command: "sudo xkeysnail config.py" results in (default config.py): Traceback (most recent call last): File "/usr/bin/xkeysnail", line 6, in cli_main() File "/usr/lib/python3.4/site-packages/xkeysnail/init.py", line 44, in cli_main eval_file(args.config) File "/usr/lib/python3.4/site-packages/xkeysnail/init.py", line 5, in eval_file exec(compile(file.read(), path, 'exec'), globals()) File "config.py", line 84, in K("C-M-space"): with_or_set_mark(K("C-right")), NameError: name 'with_or_set_mark' is not defined

bradprob avatar Jul 13 '18 08:07 bradprob

I had this when I tried to use the example config downloaded from here on github here along with an older version of xkeysnail installed via pip (which is somewhat outdated). Either comment out that binding in your config or upgrade your xkeysnail from source.

Lenbok avatar Jul 25 '18 22:07 Lenbok

thanks!

bradprob avatar Jul 30 '18 09:07 bradprob

stumbled into same thing. Would be nice if latest xkeysnail head be updated on pip src upstream.

Wonder it is, fresh pip also installs the same version (v0.1.0) but is missing this method.

thapakazi avatar Jan 07 '19 11:01 thapakazi

Sorry all. Will update the pip package soon.

mooz avatar Jan 08 '19 01:01 mooz

Pip does not seem to be updated yet. Needed to install from source.

EskoJTH avatar Mar 05 '19 15:03 EskoJTH

Is this still an issue?

joshgoebel avatar May 25 '22 15:05 joshgoebel

Ping.

joshgoebel avatar Jun 20 '22 16:06 joshgoebel