Menu

#13 cgi.escape() not found

v1.0 (example)
closed-fixed
nobody
None
5
2024-02-26
2024-02-23
jrw32982
No

Got an error when cgi.escape was unable to be found. Using python3.11.7. Had to change the #! line to use python3. Changing from import cgi to import html and then using html.escape worked.

Related

Bugs: #13

Discussion

  • Larry Jordan

    Larry Jordan - 2024-02-24

    Thank you for this bug report. The program has not received attention for a while and Python changes caused the problems you found. The program has been updated and version 2.10 has been released.

    Thank you.
    Larry Jordan

     
    • jrw32982

      jrw32982 - 2024-02-26

      Thanks for your quick update, Larry.
      I noticed that you changed several other things, besides the fixes I found.  Was that just to use "better style" for python 3 or was that related to other bugs that you had found earlier?  Or some other reason?
      I just left a review.  I like your design, which reduces complication and gets the job done well.
      Thanks!-- John

      On Friday, February 23, 2024 at 10:14:40 PM EST, Larry Jordan <w322@users.sourceforge.net> wrote:
      

      Thank you for this bug report. The program has not received attention for a while and Python changes caused the problems you found. The program has been updated and version 2.10 has been released.

      Thank you.
      Larry Jordan

      [bugs:#13] cgi.escape() not found

      Status: open
      Group: v1.0 (example)
      Created: Fri Feb 23, 2024 04:44 PM UTC by jrw32982
      Last Updated: Fri Feb 23, 2024 04:44 PM UTC
      Owner: nobody

      Got an error when cgi.escape was unable to be found. Using python3.11.7. Had to change the #! line to use python3. Changing from import cgi to import html and then using html.escape worked.

      Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/csv2odf/bugs/13/

      To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #13

      • Larry Jordan

        Larry Jordan - 2024-02-26

        John,

        I removed Python 2 support because my current OS (Debian 12) does not have it preinstalled, which leads me to think not many people are using it for new installs of csv2odf. Removing Python 2 support also helps with testing because in the past (back in 2017) I tested on both Python 2 and 3, and I would prefer to just test on 3.

        Thanks you!
        Larry

         
  • Larry Jordan

    Larry Jordan - 2024-02-24
    • status: open --> closed-fixed
     

Log in to post a comment.