mumble-voip / mumo

Mumble Moderator framework simplifying development of plugins that connect to Mumble servers via Ice. (handles basic ICE connectivity, contains basic module loading and message multiplexing)
54 stars 29 forks source link

syntax error #7

Closed cap-42 closed 8 years ago

cap-42 commented 8 years ago

Hi, when starting the daemon like so: $ python mumo.py -a I get this error:

  File "mumo.py", line 102
    if IcePy.intVersion() < 30500L:
                                 ^
SyntaxError: invalid syntax

I'm not familiar with python. Given that the file has been around like this for months, it's probably an issue with my setup. I'd appreciate any pointers on how to take care of this. Cheers

hamilton5 commented 8 years ago

give us some information about your setup... distro even? looks like maybe a custom build in the mix? is your ice and things at or above the correct versions for example?

cap-42 commented 8 years ago

I'm on archlinux kernel 2.6.32-45 using the ice packages from AUR: zeroc-ice 3.6.2-2 python-zeroc-ice 3.6.2.1-1 python2-zeroc-ice 3.6.2.1-1 murmur-ice 1.2.16-1 Thanks for looking into this!

hamilton5 commented 8 years ago

two versions of python might be a problem... can you say what version is running the script ?

cap-42 commented 8 years ago

Both python-zeroc packages were dependencies of the mumble-ice. anyway, you were right about python version being the culprit here. python v3.5.2 is linked to the python call, but using python2 fixed the issue. Thanks for putting me on the right track!