sanskrit-lexicon / csl-corrections

Replacement for sanskrit-lexicon/CORRECTIONS. User corrections to sanskrit-lexicon/csl-orig
GNU General Public License v3.0
0 stars 0 forks source link

WIL errors while regen #3

Closed drdhaval2785 closed 4 years ago

drdhaval2785 commented 4 years ago
construct wil.xml...
  File "make_xml.py", line 27
    print "UNKNOWN DIVISION: ",x.encode('utf-8')

It seems that python for my computer means python3. whereas the code is for python2.

drdhaval2785 commented 4 years ago

@funderburkjim I am trying to make python codes python2 and python3 compliant. csl-pywork would be under active changes for today and tomorrow.

drdhaval2785 commented 4 years ago

https://github.com/sanskrit-lexicon/csl-orig/commit/fd18a4bbbfcf59c168e25271bd466d0db4f5355e closed this issue.

funderburkjim commented 4 years ago

Glad you discovered that -- I was not sure how to do python3 test for csl-pywork. Please notify me when csl-pywork conversion complete.

drdhaval2785 commented 4 years ago

Conversion done. You may pull

funderburkjim commented 4 years ago

Got it - thanks.

You probably should similarly review other 'csl-' repositories -- at the moment, I'm not sure whether there is python code in any of them. Such as csl-websanlexicon.

funderburkjim commented 4 years ago

@drdhaval2785 I pulled and ran on local computer for pwg -- my 'python' is python2, so we have evidence that the programs work on python2 and python3 . A big step!

I also pulled to Cologne, and, as expected the update to pwg worked fine.