***********************************
Problems with 'freezing' on Windows
***********************************


'no module named _view'

Solution:
1. go to c:zPython27\Lib\site-packages\pygame\__init__.py
2. add 'import pigame._view' to the end of packager_imports() function

--------------------------------

Traceback (most recent call last):
  File "E:\Dev\Projects\GalaxyU\Client\GUI\wxTools.py", line 381, in __OnEdit
    self.OnEdit(self.GetItemScreenPos(self.GetFocusedItem()))
  File "E:\Dev\Projects\GalaxyU\Client\GUI\wxTools.py", line 377, in GetItemScreenPos
    return self.ClientToScreenXY(itemPos[0], itemPos[1] + rect.GetHeight()*2)
  File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\lib\agw\ultimatelistctrl.py", line 12561, in ClientToScreenXY
    return self._mainWin.ClientToScreen(x, y)
  File "C:\Python27\lib\site-packages\wx-3.0-msw\wx\_core.py", line 11070, in ClientToScreen
    return _core_.Window_ClientToScreen(*args, **kwargs)
TypeError: Window_ClientToScreen() takes at most 2 arguments (3 given)

Solution:
Need to fix invalid call in ultimateul timatelistctrl.py
1. open file C:\Python27\lib\site-packages\wx-3.0-msw\wx\lib\agw\ultimatelistctrl.py
2. goto function ClientToScreen(x, y) and fix the call:
...
return self._mainWin.ClientToScreen(x, y) --> return self._mainWin.ClientToScreen((x, y))
...
it must be a tuple!


************************************
Problems with freezing on linux
************************************

alex@alex-Ubuntu:~/Work/Temp/build/xtest$ Traceback (most recent call last):
  File "/usr/lib/pymodules/python2.7/cx_Freeze/initscripts/Console.py", line 27, in <module>
    exec code in m.__dict__
  File "guMain.py", line 14, in <module>
  File "/media/sf_Test/Dev/Projects/GalaxyU/Client/GUI/pgTools.py", line 13, in <module>
    import pygame
  File "/usr/lib/python2.7/dist-packages/pygame/__init__.py", line 255, in <module>
    try: import pygame.surfarray
  File "/usr/lib/python2.7/dist-packages/pygame/surfarray.py", line 69, in <module>
    import pygame._numpysurfarray as numpysf
  File "/usr/lib/python2.7/dist-packages/pygame/_numpysurfarray.py", line 48, in <module>
    import numpy
  File "/usr/lib/python2.7/dist-packages/numpy/__init__.py", line 163, in <module>
    from .core import *
AttributeError: 'module' object has no attribute 'sys'

SOLUTION:
in file /usr/lib/python2.7/dist-packages/numpy/core/__init__.py
comment out line 'del sys'