openzim / sotoki

StackExchange websites to ZIM scraper
https://library.kiwix.org/?category=stack_exchange
GNU General Public License v3.0
217 stars 25 forks source link

AttributeError: module 'xml.sax' has no attribute 'saxutils' #298

Closed benoit74 closed 6 months ago

benoit74 commented 6 months ago

"Suddenly" the main branch is not working anymore, it complains that AttributeError: module 'xml.sax' has no attribute 'saxutils' ; looking at the code we indeed import xml.sax and not xml.sax.saxutils ... I don't know how it worked before but fix seems pretty obvious.

rgaudin commented 6 months ago

Existed at least in 3.8 https://docs.python.org/3.8/library/xml.sax.utils.html#module-xml.sax.saxutils

rgaudin commented 6 months ago

Sorry I misread the ticket 😀