Skip to content

Instantly share code, notes, and snippets.

@t0ster
Created December 9, 2010 15:13
Show Gist options
  • Save t0ster/734811 to your computer and use it in GitHub Desktop.
Save t0ster/734811 to your computer and use it in GitHub Desktop.
Traceback (most recent call last):
File "/Users/t0ster/Documents/workspace/ab-buildout/bin/nosetests", line 63, in <module>
nose.run_exit()
File "/Users/t0ster/.buildout/eggs/nose-0.11.4-py2.7.egg/nose/core.py", line 117, in __init__
**extra_args)
File "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/unittest/main.py", line 94, in __init__
self.parseArgs(argv)
File "/Users/t0ster/.buildout/eggs/nose-0.11.4-py2.7.egg/nose/core.py", line 134, in parseArgs
self.config.configure(argv, doc=self.usage())
File "/Users/t0ster/.buildout/eggs/nose-0.11.4-py2.7.egg/nose/config.py", line 324, in configure
self.plugins.begin()
File "/Users/t0ster/.buildout/eggs/nose-0.11.4-py2.7.egg/nose/plugins/manager.py", line 93, in __call__
return self.call(*arg, **kw)
File "/Users/t0ster/.buildout/eggs/nose-0.11.4-py2.7.egg/nose/plugins/manager.py", line 161, in simple
result = meth(*arg, **kw)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/tddspry/noseplugins/djangoplugin.py", line 55, in begin
self.setup_django()
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/tddspry/noseplugins/djangoplugin.py", line 234, in setup_django
self.old_config = runner.setup_databases()
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/test/simple.py", line 270, in setup_databases
connection.creation.create_test_db(self.verbosity, autoclobber=not self.interactive)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/db/backends/creation.py", line 353, in create_test_db
call_command('syncdb', verbosity=verbosity, interactive=False, database=self.connection.alias)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/core/management/__init__.py", line 166, in call_command
return klass.execute(*args, **defaults)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/core/management/base.py", line 219, in execute
self.validate()
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/core/management/base.py", line 249, in validate
num_errors = get_validation_errors(s, app)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/core/management/validation.py", line 28, in get_validation_errors
for (app_name, error) in get_app_errors().items():
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/db/models/loading.py", line 146, in get_app_errors
self._populate()
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/db/models/loading.py", line 61, in _populate
self.load_app(app_name, True)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/db/models/loading.py", line 78, in load_app
models = import_module('.models', app_name)
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/django/django/utils/importlib.py", line 35, in import_module
__import__(name)
File "/Users/t0ster/Documents/workspace/django-celery/djcelery/models.py", line 308, in <module>
if default_app.conf.CELERY_RESULT_BACKEND != 'database':
File "/Users/t0ster/Documents/workspace/celery/celery/utils/__init__.py", line 386, in __get__
value = obj.__dict__[self.__name__] = self.__get(obj)
File "/Users/t0ster/Documents/workspace/celery/celery/app/base.py", line 295, in conf
return self._get_config()
File "/Users/t0ster/Documents/workspace/celery/celery/app/base.py", line 265, in _get_config
self.pre_config_merge(self.loader.conf), DEFAULTS))
File "/Users/t0ster/Documents/workspace/celery/celery/app/base.py", line 222, in post_config_merge
day_of_week="*"),
File "/Users/t0ster/Documents/workspace/celery/celery/schedules.py", line 236, in __init__
self.hour = self._expand_cronspec(hour, 24)
File "/Users/t0ster/Documents/workspace/celery/celery/schedules.py", line 211, in _expand_cronspec
result = crontab_parser(max_).parse(cronspec)
File "/Users/t0ster/Documents/workspace/celery/celery/schedules.py", line 144, in parse
return self.parser.parseString(cronspec).pop()
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 621, in parseString
loc, tokens = self.parse( instring.expandtabs(), 0 )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 563, in parse
loc,tokens = self.parseImpl( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 1627, in parseImpl
loc, resultlist = self.exprs[0].parse( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 563, in parse
loc,tokens = self.parseImpl( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 1627, in parseImpl
loc, resultlist = self.exprs[0].parse( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 563, in parse
loc,tokens = self.parseImpl( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 1868, in parseImpl
return self.expr.parse( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 563, in parse
loc,tokens = self.parseImpl( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 1736, in parseImpl
ret = e.parse( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 563, in parse
loc,tokens = self.parseImpl( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 1627, in parseImpl
loc, resultlist = self.exprs[0].parse( instring, loc, doActions )
File "/Users/t0ster/Documents/workspace/ab-buildout/parts/tddspry/twill-0.9-py2.7.egg/twill/other_packages/pyparsing.py", line 589, in parse
tokens = self.parseAction( instring, tokensStart, retTokens )
TypeError: _expand_number() takes exactly 1 argument (3 given)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment