Jenyay
только что в консоли для кое-какого случая словил ошибку:
Код: Traceback (most recent call last):
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\attachpanel.py", line 286, in __onRefresh
self.updateAttachments()
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\attachpanel.py", line 199, in updateAttachments
imageIndex = self.__fileIcons.getFileImage (fname)
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\fileicons.py", line 38, in getFileImage
return self._getFileImage (filepath)
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\fileicons.py", line 194, in _getFileImage
bmp = self.__getSystemIcon (ext)
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\fileicons.py", line 162, in __getSystemIcon
bmp = bmp.ConvertToImage()
File "D:\Programs\Programming\Python-x_y\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 618, in ConvertToImage
return _gdi_.Bitmap_ConvertToImage(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "bmp.Ok()" failed at ..\..\src\msw\dib.cpp(148) in wxDIB::Create(): wxDIB::Create(): invalid bitmap
только что в консоли для кое-какого случая словил ошибку:
Код: Traceback (most recent call last):
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\attachpanel.py", line 286, in __onRefresh
self.updateAttachments()
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\attachpanel.py", line 199, in updateAttachments
imageIndex = self.__fileIcons.getFileImage (fname)
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\fileicons.py", line 38, in getFileImage
return self._getFileImage (filepath)
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\fileicons.py", line 194, in _getFileImage
bmp = self.__getSystemIcon (ext)
File "U:\Новая папка\outwiker (orig)\src\outwiker\gui\fileicons.py", line 162, in __getSystemIcon
bmp = bmp.ConvertToImage()
File "D:\Programs\Programming\Python-x_y\Python27\lib\site-packages\wx-2.8-msw-unicode\wx\_gdi.py", line 618, in ConvertToImage
return _gdi_.Bitmap_ConvertToImage(*args, **kwargs)
wx._core.PyAssertionError: C++ assertion "bmp.Ok()" failed at ..\..\src\msw\dib.cpp(148) in wxDIB::Create(): wxDIB::Create(): invalid bitmap