Export to GitHub

gui2exe - issue #36

'int' object not callable py2exe


Posted on May 5, 2015 by Helpful Cat

Firstly thanks for doing this module it has served me well in the past. Currently I am working on a larger(3500 lines) wxpython program which works fine as a .py file. I have a problem.

Don't know why 'int' object is not callable. Steps I have made so far the programs uses the shelve module - so I thought this was responsible. i added code : includes = 'dumbdbm',taken from another forum posting. My buttons are handled with wx.Bind using ids which are ints - is this the problem?

What steps will reproduce the problem? 1. no output yet at all 2. 3.

What is the expected output? I should see a wx.frame with a splitter object, holding a ListCrtl box and also a text ctrl.

What do you see instead? nothing at all - only error message as above. there is also a 'preview' frame above the ListCtrl which shows a panel holding quite a few buttons that are handled by a method calling 'pass'.

the program is quite well organised in an MVC design.

What version of GUI2Exe, Python and wxPython are you using? On what operating system? I have tried it on wx.2.8 and wx.2.9. using Python2.7. Unicode.

Please provide any additional information below.

Do you want to see the setup.py file? also errors are cut and pasted below in a txt file.

Please help .- many thanks in advance.

Bilal

Attachments

Status: New

Labels:
Type-Defect Priority-Medium