<https://stackoverflow.com/posts/78328719/timeline>

Our software uses Sphinx to produce documentation, website, chm etc... We 
are trying to switch from to *python2.7* to *python3.11* One of the 
blocking point is the following : We run sphinx -b htmlhelp and then we run 
hhc.exe on the output to produce the CHM.

Doing so provokes the following error and the chm is corrupted
HHC5013: Error: runtime error R6002 - floating point not loaded 

After investigation I realized that the produced files (*.hhp,*.hhc etc..) 
are different (with sphinx ran on the same input files and same 
configuration of course)

And especially some special characters in the hhc file "}" are encoded. 
Changing them back manually to their original value seems to fix the 
problem. Left : file created with python 2.7 --> works Right : file created 
with python 3.11 --> does not work

[image: enter image description here] <https://i.stack.imgur.com/ax5gD.png>

Indeed the correct file name is

src/functions/@f{lastprintdate}.html


   - 
   
   Why is the reason for this discrepancy?
   - 
   
   Am I doing something wrong ?
   - 
   
   Am I missing a configuration update from python2.7 to python3.11?
   

-- 
You received this message because you are subscribed to the Google Groups 
"sphinx-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sphinx-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sphinx-users/681e0ebf-5d06-42ff-abce-362daa153691n%40googlegroups.com.

Reply via email to