Error in bench SyntaxError: EOL while scanning string literal

I did a bench update today using master branch. I got this error

 create mode 100644 bench/patches/v4/
Traceback (most recent call last):
  File "/usr/local/bin/bench", line 9, in <module>
    load_entry_point('bench', 'console_scripts', 'bench')()
  File "/home/chris/.bench/bench/", line 40, in cli
  File "/usr/local/lib/python2.7/dist-packages/click/", line 716, in __call__
    return self.main(*args, **kwargs)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 696, in main
    rv = self.invoke(ctx)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 1060, in invoke
    return _process_result(sub_ctx.command.invoke(sub_ctx))
  File "/usr/local/lib/python2.7/dist-packages/click/", line 889, in invoke
    return ctx.invoke(self.callback, **ctx.params)
  File "/usr/local/lib/python2.7/dist-packages/click/", line 534, in invoke
    return callback(*args, **kwargs)
  File "/home/chris/.bench/bench/commands/", line 30, in update'.')
  File "/home/chris/.bench/bench/patches/", line 19, in run
    module = importlib.import_module(patch.split()[0])
  File "/usr/lib/python2.7/importlib/", line 37, in import_module
  File "/home/chris/.bench/bench/patches/v4/", line 22
    'Installation instructions for CentOS and Ubuntu can be found on the following link,\n
SyntaxError: EOL while scanning string literal

1 Like

So do i…any solution?

i have exactly the same error im on macOS

already fix by @rmehta

1 Like

Thank you!.. but i still have the error. What OS do you have ?

@gvargas go to .bench folder and git pull first before you do bench update