After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 648865 - PYTHON: stops processing the file after encountering \""""
PYTHON: stops processing the file after encountering \""""
Status: RESOLVED FIXED
Product: doxygen
Classification: Other
Component: general
1.7.4
Other Windows
: Normal normal
: ---
Assigned To: Dimitri van Heesch
Dimitri van Heesch
Depends on:
Blocks:
 
 
Reported: 2011-04-28 12:42 UTC by Cedric Schmeits
Modified: 2015-12-30 10:20 UTC
See Also:
GNOME target: ---
GNOME version: ---



Description Cedric Schmeits 2011-04-28 12:42:26 UTC
I have the following code in mine python script at which doxygen stops processing the rest of the file:

    raise ReleaseError("""object [%s] has release "%s" while task has release "%s\"""" % (obj.GetName(), obj.release, release))

after splitting the \"""" into \" """ the script was processed completely.
also replacing the " by ' in the string solved the problem so the problem seemed to be the \""""
Comment 1 albert 2015-07-29 11:42:28 UTC
Problem has to do with the handling of an escaped character inside a triple quoted string.

Just pushed a proposed patch to github (pull request 376)
Comment 2 albert 2015-08-09 08:16:52 UTC
Patch has been brought into master branch on github
Comment 3 Dimitri van Heesch 2015-12-30 10:20:16 UTC
This bug was previously marked ASSIGNED, which means it should be fixed in
doxygen version 1.8.11. Please verify if this is indeed the case. Reopen the
bug if you think it is not fixed and please include any additional information 
that you think can be relevant (preferably in the form of a self-contained example).