Skip to content
New issue

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

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

Already on GitHub? # to your account

naked .il causes traceback #88

Open
tallforasmurf opened this issue Aug 20, 2015 · 2 comments
Open

naked .il causes traceback #88

tallforasmurf opened this issue Aug 20, 2015 · 2 comments

Comments

@tallforasmurf
Copy link

The following document causes a crash and traceback:

.il
.ca
f673 <target id="Fig_673"><sc>Fig</sc>. 673.--Connections for two shunt wound dynamos to run in parallel. The positive lead of
each machine is connected to the same bus bar. In starting, if but one machine is to be
used, the dynamo is first brought up to speed and the voltage regulated by means of the
rheostat R and the voltmeter V.
.ca-

the traceback is:

ppgen 3.52h
creating UTF-8 text file
Traceback (most recent call last):
  File "ppgen.py", line 9019, in <module>
    main()
  File "ppgen.py", line 9002, in main
    ppt.run()
  File "ppgen.py", line 5301, in run
    self.process()
  File "ppgen.py", line 5275, in process
    self.doDot()
  File "ppgen.py", line 1856, in doDot
        switch[0]()
  File "ppgen.py", line 4117, in doIllo
    self.crash_w_context("Malformed .il directive: {}".format(self.wb[self.cl]))
TypeError: crash_w_context() missing 1 required positional argument: 'i'`
@wf49670
Copy link
Owner

wf49670 commented Aug 20, 2015

On 8/20/2015 3:22 PM, Nat Picker wrote:

The following document causes a crash and traceback:

|.il .ca f673 Fig. 673.--Connections for
two shunt wound dynamos to run in parallel. The positive lead of each
machine is connected to the same bus bar. In starting, if but one
machine is to be used, the dynamo is first brought up to speed and the
voltage regulated by means of the rheostat R and the voltmeter V. .ca- |

the traceback is:

|ppgen 3.52h creating UTF-8 text file Traceback (most recent call
last): File "ppgen.py", line 9019, in main() File "ppgen.py",
line 9002, in main ppt.run() File "ppgen.py", line 5301, in run
self.process() File "ppgen.py", line 5275, in process self.doDot()
File "ppgen.py", line 1856, in doDot switch0 File "ppgen.py", line
4117, in doIllo self.crash_w_context("Malformed .il directive:
{}".format(self.wb[self.cl])) TypeError: crash_w_context() missing 1
required positional argument: 'i'` |


Reply to this email directly or view it on GitHub
#88.

Thanks; I'll get that fixed.

@wf49670
Copy link
Owner

wf49670 commented Aug 20, 2015

Fixed in current development release, 3.52j

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

No branches or pull requests

2 participants