Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#53073 - C++ ABI mismatch

Attached to Project: Arch Linux
Opened by Chun Huei (fchunhueigmail.com) - Friday, 24 February 2017, 03:53 GMT
Last edited by Doug Newgard (Scimmia) - Saturday, 25 February 2017, 06:16 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

After install wxPython from official repo, I can't execute the code below as the warning prompted:
[ricefan123@royce-laptop ~]$ python2 main.py
13:45:30: Warning: Mismatch between the program and library build versions detected.
The library used 3.0 (wchar_t,compiler with C++ ABI 1010,wx containers,compatible with 2.8),
and wxPython used 3.0 (wchar_t,compiler with C++ ABI 1009,wx containers,compatible with 2.8).


Here's the code:

import time
import pyscreenshot as ImageGrab
import wx
from PIL import Image

def main():
count = 10

start = time.time()
for i in xrange(count):
im = ImageGrab.grab(bbox=(0, 0, 100, 100))
im.save('ImageGrab.png')

print (time.time() - start)

start = time.time()
app = wx.App()
screen = wx.ScreenDC()
for i in xrange(count):
bmp = wx.EmptyBitmap(100,100)
mem = wx.MmoryDC(bmp)
mem.Blit(0, 0, 100, 100, screen, 0, 0)
del mem
bmp.SaveFile('wx.bmp', wx.BITMAP_TYPE_BMP)

print (time.time() - start)

if __name__ == '__main__':
main()


This task depends upon

Closed by  Doug Newgard (Scimmia)
Saturday, 25 February 2017, 06:16 GMT
Reason for closing:  Not a bug
Additional comments about closing:  This warning is meaningless

Loading...