Код: Выделить всё
--> -->
<type 'exceptions.UnicodeEncodeError'> Python 2.7.9: /usr/bin/python
Mon Mar 9 22:49:07 2015
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/share/apps/kajongg/mainwindow.py in playingScene(self=<mainwindow.MainWindow object>)
257 def playingScene(self):
258 """play a computer game: log into a server and show its tables"""
=> 259 self.scene = PlayingScene(self)
260 HumanClient()
261
self = <mainwindow.MainWindow object>, self.scene = <scene.PlayingScene object>, global PlayingScene = <class 'scene.PlayingScene'>
/usr/share/apps/kajongg/scene.py in __init__(self=<scene.PlayingScene object>, parent=<mainwindow.MainWindow object>)
291 def __init__(self, parent):
292 super(PlayingScene, self).__init__(parent)
=> 293 self.game = None
294 self.__startingGame = True
295 self._clientDialog = None
self = <scene.PlayingScene object>, self.game = None, builtin None = None
/usr/share/apps/kajongg/scene.py in game(self=<scene.PlayingScene object>, value=None)
301 game = self._game
302 changing = value != game
=> 303 GameScene.game.fset(self, value)
304 if changing:
305 self.__startingGame = False
global GameScene = <class 'scene.GameScene'>, GameScene.game = <property object>, GameScene.game.fset = <function game>, self = <scene.PlayingScene object>, value = None
/usr/share/apps/kajongg/scene.py in game(self=<scene.PlayingScene object>, value=None)
155 self.explainView.hide()
156 self.mainWindow.scene = None
=> 157 self.mainWindow.updateGUI()
158 self.mainWindow.adjustView()
159
self = <scene.PlayingScene object>, self.mainWindow = <mainwindow.MainWindow object>, self.mainWindow.updateGUI = <bound method MainWindow.updateGUI of <mainwindow.MainWindow object>>
/usr/share/apps/kajongg/mainwindow.py in updateGUI(self=<mainwindow.MainWindow object>)
568 scene = self.scene
569 if isAlive(scene):
=> 570 scene.updateSceneGUI()
571
572 def changeAngle(self):
scene = <scene.PlayingScene object>, scene.updateSceneGUI = <bound method PlayingScene.updateSceneGUI of <scene.PlayingScene object>>
/usr/share/apps/kajongg/scene.py in updateSceneGUI(self=<scene.PlayingScene object>)
426 if not game:
427 connections = list(x.connection for x in HumanClient.humanClients if x.connection)
=> 428 title = ', '.join('{name}/{url}'.format(name=x.username, url=x.url) for x in connections)
429 if title:
430 decorateWindow(mainWindow, title)
title undefined, name undefined, x undefined, url undefined, connections = [<login.Connection object>]
/usr/share/apps/kajongg/scene.py in ((x=<login.Connection object>,))
426 if not game:
427 connections = list(x.connection for x in HumanClient.humanClients if x.connection)
=> 428 title = ', '.join('{name}/{url}'.format(name=x.username, url=x.url) for x in connections)
429 if title:
430 decorateWindow(mainWindow, title)
title undefined, name undefined, x = <login.Connection object>, x.username = u'\u041c\u0430\u043a\u0441\u0438\u043c', url undefined, x.url = Url(Local Game socket=/home/delta/.kajonggserver/socket8413), connections undefined
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
args = ('ascii', u'\u041c\u0430\u043a\u0441\u0438\u043c', 0, 6, 'ordinal not in range(128)')
encoding = 'ascii'
end = 6
message = ''
object = u'\u041c\u0430\u043a\u0441\u0438\u043c'
reason = 'ordinal not in range(128)'
start = 0 --> -->
<type 'exceptions.UnicodeEncodeError'> Python 2.7.9: /usr/bin/python
Mon Mar 9 22:50:46 2015
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/share/apps/kajongg/mainwindow.py in playingScene(self=<mainwindow.MainWindow object>)
257 def playingScene(self):
258 """play a computer game: log into a server and show its tables"""
=> 259 self.scene = PlayingScene(self)
260 HumanClient()
261
self = <mainwindow.MainWindow object>, self.scene = <scene.PlayingScene object>, global PlayingScene = <class 'scene.PlayingScene'>
/usr/share/apps/kajongg/scene.py in __init__(self=<scene.PlayingScene object>, parent=<mainwindow.MainWindow object>)
291 def __init__(self, parent):
292 super(PlayingScene, self).__init__(parent)
=> 293 self.game = None
294 self.__startingGame = True
295 self._clientDialog = None
self = <scene.PlayingScene object>, self.game = None, builtin None = None
/usr/share/apps/kajongg/scene.py in game(self=<scene.PlayingScene object>, value=None)
301 game = self._game
302 changing = value != game
=> 303 GameScene.game.fset(self, value)
304 if changing:
305 self.__startingGame = False
global GameScene = <class 'scene.GameScene'>, GameScene.game = <property object>, GameScene.game.fset = <function game>, self = <scene.PlayingScene object>, value = None
/usr/share/apps/kajongg/scene.py in game(self=<scene.PlayingScene object>, value=None)
155 self.explainView.hide()
156 self.mainWindow.scene = None
=> 157 self.mainWindow.updateGUI()
158 self.mainWindow.adjustView()
159
self = <scene.PlayingScene object>, self.mainWindow = <mainwindow.MainWindow object>, self.mainWindow.updateGUI = <bound method MainWindow.updateGUI of <mainwindow.MainWindow object>>
/usr/share/apps/kajongg/mainwindow.py in updateGUI(self=<mainwindow.MainWindow object>)
568 scene = self.scene
569 if isAlive(scene):
=> 570 scene.updateSceneGUI()
571
572 def changeAngle(self):
scene = <scene.PlayingScene object>, scene.updateSceneGUI = <bound method PlayingScene.updateSceneGUI of <scene.PlayingScene object>>
/usr/share/apps/kajongg/scene.py in updateSceneGUI(self=<scene.PlayingScene object>)
426 if not game:
427 connections = list(x.connection for x in HumanClient.humanClients if x.connection)
=> 428 title = ', '.join('{name}/{url}'.format(name=x.username, url=x.url) for x in connections)
429 if title:
430 decorateWindow(mainWindow, title)
title undefined, name undefined, x undefined, url undefined, connections = [<login.Connection object>]
/usr/share/apps/kajongg/scene.py in ((x=<login.Connection object>,))
426 if not game:
427 connections = list(x.connection for x in HumanClient.humanClients if x.connection)
=> 428 title = ', '.join('{name}/{url}'.format(name=x.username, url=x.url) for x in connections)
429 if title:
430 decorateWindow(mainWindow, title)
title undefined, name undefined, x = <login.Connection object>, x.username = u'\u041c\u0430\u043a\u0441\u0438\u043c', url undefined, x.url = Url(Local Game socket=/home/delta/.kajonggserver/socket8413), connections undefined
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
args = ('ascii', u'\u041c\u0430\u043a\u0441\u0438\u043c', 0, 6, 'ordinal not in range(128)')
encoding = 'ascii'
end = 6
message = ''
object = u'\u041c\u0430\u043a\u0441\u0438\u043c'
reason = 'ordinal not in range(128)'
start = 0 --> -->
<type 'exceptions.UnicodeEncodeError'> Python 2.7.9: /usr/bin/python
Mon Mar 9 22:50:57 2015
A problem occurred in a Python script. Here is the sequence of function calls leading up to the error, in the order they occurred.
/usr/share/apps/kajongg/mainwindow.py in playingScene(self=<mainwindow.MainWindow object>)
257 def playingScene(self):
258 """play a computer game: log into a server and show its tables"""
=> 259 self.scene = PlayingScene(self)
260 HumanClient()
261
self = <mainwindow.MainWindow object>, self.scene = <scene.PlayingScene object>, global PlayingScene = <class 'scene.PlayingScene'>
/usr/share/apps/kajongg/scene.py in __init__(self=<scene.PlayingScene object>, parent=<mainwindow.MainWindow object>)
291 def __init__(self, parent):
292 super(PlayingScene, self).__init__(parent)
=> 293 self.game = None
294 self.__startingGame = True
295 self._clientDialog = None
self = <scene.PlayingScene object>, self.game = None, builtin None = None
/usr/share/apps/kajongg/scene.py in game(self=<scene.PlayingScene object>, value=None)
301 game = self._game
302 changing = value != game
=> 303 GameScene.game.fset(self, value)
304 if changing:
305 self.__startingGame = False
global GameScene = <class 'scene.GameScene'>, GameScene.game = <property object>, GameScene.game.fset = <function game>, self = <scene.PlayingScene object>, value = None
/usr/share/apps/kajongg/scene.py in game(self=<scene.PlayingScene object>, value=None)
155 self.explainView.hide()
156 self.mainWindow.scene = None
=> 157 self.mainWindow.updateGUI()
158 self.mainWindow.adjustView()
159
self = <scene.PlayingScene object>, self.mainWindow = <mainwindow.MainWindow object>, self.mainWindow.updateGUI = <bound method MainWindow.updateGUI of <mainwindow.MainWindow object>>
/usr/share/apps/kajongg/mainwindow.py in updateGUI(self=<mainwindow.MainWindow object>)
568 scene = self.scene
569 if isAlive(scene):
=> 570 scene.updateSceneGUI()
571
572 def changeAngle(self):
scene = <scene.PlayingScene object>, scene.updateSceneGUI = <bound method PlayingScene.updateSceneGUI of <scene.PlayingScene object>>
/usr/share/apps/kajongg/scene.py in updateSceneGUI(self=<scene.PlayingScene object>)
426 if not game:
427 connections = list(x.connection for x in HumanClient.humanClients if x.connection)
=> 428 title = ', '.join('{name}/{url}'.format(name=x.username, url=x.url) for x in connections)
429 if title:
430 decorateWindow(mainWindow, title)
title undefined, name undefined, x undefined, url undefined, connections = [<login.Connection object>]
/usr/share/apps/kajongg/scene.py in ((x=<login.Connection object>,))
426 if not game:
427 connections = list(x.connection for x in HumanClient.humanClients if x.connection)
=> 428 title = ', '.join('{name}/{url}'.format(name=x.username, url=x.url) for x in connections)
429 if title:
430 decorateWindow(mainWindow, title)
title undefined, name undefined, x = <login.Connection object>, x.username = u'\u041c\u0430\u043a\u0441\u0438\u043c', url undefined, x.url = Url(Local Game socket=/home/delta/.kajonggserver/socket8413), connections undefined
<type 'exceptions.UnicodeEncodeError'>: 'ascii' codec can't encode characters in position 0-5: ordinal not in range(128)
args = ('ascii', u'\u041c\u0430\u043a\u0441\u0438\u043c', 0, 6, 'ordinal not in range(128)')
encoding = 'ascii'
end = 6
message = ''
object = u'\u041c\u0430\u043a\u0441\u0438\u043c'
reason = 'ordinal not in range(128)'
start = 0