Gamer125 / fofix

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

TickCount does not have a 64 bit equivalent on osx #1253

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Describe the problem. What did you expect? What do you see?
I've almost got the 4.0a1 running on osx, the build completes successfully but 
when I run the application I get the error "AttributeError: 'module' object has 
no attribute 'TickCount' " (full dump below)

List the steps to recreate the problem.
1.  Python 2.6 from Macports
2.  Snow Leopard
3.  64bit machine.
4.  Successfully build using sudo python setup.py py2app build_ext after a few 
patches to setup.py
5.  Run the app in ../dist/ 
6.  FoFix errors offering to terminate or open Console.app
7.  Observe errors: 
 Traceback (most recent call last):
File 
"/Users/grahamheath/fofix-4.0.0alpha1/dist/FoFiX.app/Contents/Resources/__boot__
.py", line 103, in <module>
     _argv_emulation()
   File "/Users/grahamheath/fofix-4.0.0alpha1/dist/FoFiX.app/Contents/Resources/__boot__.py", line 101, in _argv_emulation
     _get_argvemulator().mainloop()
   File "/Users/grahamheath/fofix-4.0.0alpha1/dist/FoFiX.app/Contents/Resources/__boot__.py", line 40, in mainloop
     stoptime = Evt.TickCount() + timeout
 AttributeError: 'module' object has no attribute 'TickCount' FoFiX[15409]: FoFiX Error

A quick googling will reveal this as an issue in Carbon.Evt, as it does not 
support 64bit(yet).

Original issue reported on code.google.com by Graham.P...@gmail.com on 27 May 2011 at 9:22