Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Release 0.5 breaks with some python recursivity problem #41

Open
lfrias81 opened this issue Jan 30, 2014 · 1 comment
Open

Release 0.5 breaks with some python recursivity problem #41

lfrias81 opened this issue Jan 30, 2014 · 1 comment

Comments

@lfrias81
Copy link

Whenever trying to run a tool or pipeline I get the following error:
Exception RuntimeError: 'maximum recursion depth exceeded while calling a Python object' in <type 'exceptions.AttributeError'> ignored

The same tool/pipelines runs ok in release 0.4

@lfrias81
Copy link
Author

That though makes it not break (is a "warning"). What makes it break is not providing an optional parameter which is checked for whether is set or not, and the following error is got:

Traceback (most recent call last):
File "/apps/DEVEL/jip/2.7/0.5/bin/jip", line 9, in
load_entry_point('pyjip==0.5', 'console_scripts', 'jip')()
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/cli/jip_main.py", line 80, in main
_main()
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/cli/jip_main.py", line 137, in _main
runpy.run_module("jip.cli.jip_interpreter", run_name="main")
File "/apps/DEVEL/python/2.7.5/lib/python2.7/runpy.py", line 180, in run_module
fname, loader, pkg_name)
File "/apps/DEVEL/python/2.7.5/lib/python2.7/runpy.py", line 72, in _run_code
exec code in run_globals
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/cli/jip_interpreter.py", line 63, in
main()
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/cli/jip_interpreter.py", line 59, in main
jip_run(jip_args + [script_file] + script_args)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/cli/jip_run.py", line 51, in main
dry(script, script_args, dry=args['--dry'], show=args['--show'])
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/cli/init.py", line 575, in dry
jobs = jip.jobs.create_jobs(script, args=script_args)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/jobs.py", line 1043, in create_jobs
pipeline.expand(validate=validate)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/pipelines.py", line 809, in expand
self._expand_sub_pipelines(validate=validate)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/pipelines.py", line 999, in _expand_sub_pipelines
_check_fanout=check_fanout)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/pipelines.py", line 809, in expand
self._expand_sub_pipelines(validate=validate)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/pipelines.py", line 977, in _expand_sub_pipelines
_render_nodes(self, [node])
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/pipelines.py", line 2165, in _render_nodes
_render_option(o, _create)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/pipelines.py", line 2201, in _render_option
rendered = option.value
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/options.py", line 402, in value
v = render_template(value, **ctx)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/templates.py", line 356, in render_template
return tmpl.render(**ctx)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jinja2/environment.py", line 969, in render
return self.environment.handle_exception(exc_info, True)
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jinja2/environment.py", line 742, in handle_exception
reraise(exc_type, exc_value, tb)
File "", line 3, in top-level template code
File "/apps/DEVEL/jip/2.7/0.5/lib/python/jip/tools.py", line 918, in str
if self.option.option_type != jip.options.TYPE_OPTION:
AttributeError: 'NoneType' object has no attribute 'option_type'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant