1. Bitbucket
  2. Public Issue Tracker
  3. master
  4. Issues

Issues

Issue #1499 invalid

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 (1)

  1. Log in to comment