Issue #31 resolved

Error on startup syncdb => AttributeError: 'int' object has no attribute 'playerid'

Anonymous created an issue

Hello people :)

First I want to thank you for your beautifull and usefull project :D

And now my bug ^^'

I tried to install mumble-django but just at the startup of a syncdb using ICE I was stopped by this error :

{{{

!

File "/home/mumble-django/pyweb/mumble/MumbleCtlIce.py", line 267, in getRegisteredPlayers ret.append([user.playerid, self.setUnicodeFlag(user.name), self.setUnicodeFlag(user.email), self.setUnicodeFlag(user.pw)]) AttributeError: 'int' object has no attribute 'playerid' }}}

Corresponding on the file //MumbleCtlIce.py// =>

{{{

!

class MumbleCtlIce_120(MumbleCtlIce_118): def getRegisteredPlayers(self, srvid, filter = ''): users = self._getIceServerObject( srvid ).getRegisteredUsers( filter.encode( "UTF-8" ) ) ret = []

    for user in users:
        ret.append([user.playerid, self.setUnicodeFlag(user.name), self.setUnicodeFlag(user.email), self.setUnicodeFlag(user.pw)])

}}}

That's look like a little problem when populating my mysql database, something simple to solve ?

Thank in advance :)

Comments (5)

  1. Anonymous

    Yep right you put the finger on the problem '

    I understood it was already compatible to 1.2 ?

    So you need to update something heavy or that's will be fixed soon ?

  2. Michael Ziegler repo owner

    Actually, I already fixed this at commit no 196.

    Until Mumble 1.2.0 is released, the Ice interface can still be changed, so please make sure you use the latest version of Mumble-Django.

  3. Log in to comment