neo-nie / pynsource

Automatically exported from code.google.com/p/pynsource
0 stars 0 forks source link

Does not work on OSX 64-bit #27

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. In buildmac I changed

#FROM
ditto -rsrc --arch i386 dist/pyNsourceGui.app/ dist/pyNsourceGui32.app
#TO 
ditto -rsrc dist/pyNsourceGui.app/ dist/pyNsourceGui32.app
#AND
ditto -rsrc --arch x86_64 dist/pyNsourceGui.app/ dist/pyNsourceGui32.app

What is the expected output? What do you see instead?

What version of the product are you using? On what operating system?

Please provide any additional information below.

[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]: Traceback (most 
recent call last):
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]:   File 
"/Users/Lukasz/Documents/workspace/pynsource/dist/pyNsourceGui32.app/Contents/Re
sources/__boot__.py", line 103, in <module>
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]:     
_argv_emulation()
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]:   File 
"/Users/Lukasz/Documents/workspace/pynsource/dist/pyNsourceGui32.app/Contents/Re
sources/__boot__.py", line 101, in _argv_emulation
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]:     
_get_argvemulator().mainloop()
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]:   File 
"/Users/Lukasz/Documents/workspace/pynsource/dist/pyNsourceGui32.app/Contents/Re
sources/__boot__.py", line 40, in mainloop
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]:     stoptime = 
Evt.TickCount() + timeout
Aug 20 11:11:04 supports-MacBook-Pro-3 
[0x0-0xa6ba6b].org.pythonmac.unspecified.pyNsourceGui[69983]: AttributeError: 
'module' object has no attribute 'TickCount'
Aug 20 11:11:04 supports-MacBook-Pro-3 pyNsourceGui[69983]: pyNsourceGui Error

Original issue reported on code.google.com by lukasz.m...@gmail.com on 20 Aug 2012 at 9:15

GoogleCodeExporter commented 8 years ago
Yeah the default buildmac will strip out the 64bit binaries which are run by 
default, and would fail, since wxPython 2.8 is 32bit.  The buildmac script thus 
works correctly and creates an app that launches OK in both 32 and 64 bit 
environments.

If you are running from source code type
  export VERSIONER_PYTHON_PREFER_32_BIT=yes
into your shell before invoking
  python pyNsourceGui.py

Until wxPython is itself made 64bit, I don't see any more that can be done, so 
am closing this ticket.  Please add a comment if there is more information that 
I am missing on this.

Original comment by abu...@gmail.com on 26 Aug 2012 at 1:11

GoogleCodeExporter commented 8 years ago
So nowadays there is a 64 bit wxpython now, 2.9 under cocoa so there could 
potentially be a 64 bit release of pynsource.

However the discussion 
https://groups.google.com/forum/#!topic/wxpython-mac/eprj62WlJAg shows that the 
OGL library that pynsource relies on has some flaws.  Until there are 
workarounds for those, we are still going to have to stick to 32 bit.

Original comment by abu...@gmail.com on 17 Jul 2013 at 12:47