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

Missing argument name causes failure #3

Closed
rob-smallshire opened this issue Dec 10, 2012 · 1 comment
Closed

Missing argument name causes failure #3

rob-smallshire opened this issue Dec 10, 2012 · 1 comment

Comments

@rob-smallshire
Copy link
Owner

Original author: robert.smallshire@gmail.com (June 29, 2012 06:59:40)

Issue imported from hieroglyph

Running Sphinx v1.0.7
loading pickled environment... not yet created
building [html]: targets for 6 source files that are out of date
updating environment: 6 added, 0 changed, 0 removed
reading sources... [ 16%] api/canoncial
lines = [u'Parse a single line of a tree to determine depth and node.', u'', u'A
rgs:', u' A single line string from a SCons dependency tree.', u' ', u'Ret
urns:', u' A 2-tuple containing the tree 0 based tree depth as the first', u'
element and the node description as the second element.', u'', u'Raises:', u
' ValueError: If line does not have the expected form.', u'']

Exception occurred:
File "c:\Python27\lib\site-packages\hieroglyph-0.5dev_20110318-py2.7.egg\hiero
glyph\hieroglyph.py", line 80, in convert_args
last_child = arg.children[-1] if len(arg.children) != 0 else arg
UnboundLocalError: local variable 'arg' referenced before assignment
The full traceback has been saved in c:\users\robert~1.emr\appdata\local\temp\sp
hinx-err-2ngbwq.log, if you want to report the issue to the developers.

In this case the fourth element contains u' A single line string from a SCons dependency tree.' whereas it should contain u' line: A single line string from a SCons dependency tree.'

Hieroglyph should detect this and report a sensible error message.

Original issue: http://code.google.com/p/cartouche/issues/detail?id=3

@rob-smallshire
Copy link
Owner Author

From robert.smallshire@gmail.com on June 30, 2012 07:37:15
Already fixed by other changes.

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

No branches or pull requests

1 participant