You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It seems that the mossum uses the third <p> tag of MOSS result page as the name of output picture, if presented in HTML DOM. (lines 209 & 210)
iflen(ps) >=2:
name=ps[2].text.strip()
But MOSS uses <p> tags to show errors, too. In situations that there isn't any <p>title</p> in the result page and there are some <p>error</p> there, mossum picks up a wrong statement as the pngfilename and in some special situations prevent mossum from making output at all.
e.g.
...
</TABLE><HR>
Any errors encountered during this query are listed below.<p>Could not open file "2/"
<p>Could not open file "2/"
<p></BODY></HTML>
I suggest it would be better to remove those two lines from code.
The text was updated successfully, but these errors were encountered:
hadisfr
changed the title
wrong output file name in some stuations
wrong output file name in some situations
Mar 8, 2018
It seems that the mossum uses the third
<p>
tag of MOSS result page as the name of output picture, if presented in HTML DOM. (lines 209 & 210)But MOSS uses
<p>
tags to show errors, too. In situations that there isn't any<p>title</p>
in the result page and there are some<p>error</p>
there, mossum picks up a wrong statement as the pngfilename
and in some special situations prevent mossum from making output at all.e.g.
I suggest it would be better to remove those two lines from code.
The text was updated successfully, but these errors were encountered: