Skip to content

Instantly share code, notes, and snippets.

@feniix
Created August 23, 2010 13:53
Show Gist options
  • Save feniix/545530 to your computer and use it in GitHub Desktop.
Save feniix/545530 to your computer and use it in GitHub Desktop.
otaeguis@otaeguis-laptop:~/projects/src/mongrel2/examples/python/mongrel2$ m2sh help
Available commands:
commit
config
dump
help
hosts
init
load
log
reload
running
servers
shell
start
stop
uuid
Use config help -for <command> to find out more.
otaeguis@otaeguis-laptop:~/projects/src/mongrel2/examples/python/mongrel2$ m2sh --help
Traceback (most recent call last):
File "/usr/local/bin/m2sh", line 5, in <module>
pkg_resources.run_script('m2py==0.2', 'm2sh')
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 461, in run_script
self.require(requires)[0].run_script(script_name, ns)
File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 1194, in run_script
execfile(script_filename, namespace, namespace)
File "/usr/local/lib/python2.6/dist-packages/m2py-0.2-py2.6.egg/EGG-INFO/scripts/m2sh", line 6, in <module>
args.parse_and_run_command(sys.argv[1:], commands, default_command="shell")
File "/usr/local/lib/python2.6/dist-packages/m2py-0.2-py2.6.egg/mongrel2/config/args.py", line 244, in parse_and_run_command
command_module(mod, command, options)
File "/usr/local/lib/python2.6/dist-packages/m2py-0.2-py2.6.egg/mongrel2/config/args.py", line 178, in command_module
return function(**options)
TypeError: shell_command() takes no arguments (1 given)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment