enterprisemediawiki / meza

Setup an enterprise MediaWiki server with simple commands
MIT License
41 stars 27 forks source link

meza --version fails in Python 3.x #1311

Open jamesmontalvo3 opened 1 year ago

jamesmontalvo3 commented 1 year ago

Error is:

$ meza --version
Traceback (most recent call last):
  File "/usr/bin/meza", line 1269, in <module>
    main(sys.argv[1:])
  File "/usr/bin/meza", line 64, in main
    print( "Meza " + version.strip() )
TypeError: must be str, not bytes

Python 3.6.8

freephile commented 5 months ago

I fixed this issue in my recent fork of the nasa/nasa-grc branch (I will be submitting pull requests to NASA and I'm happy to talk about coordination).

https://github.com/freephile/meza/issues/7 https://github.com/freephile/meza/commit/d11e0a08e926b6eaad10a4f29e23b00fcdc2639c