giorgifafa / editra

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

Latest binary (DMG) releases don't run on PPC OSX systems #782

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Double click on the icon...
2.
3.

What is the expected output? What do you see instead?
- Want an editor got a "Editra error" message box

IMPORTANT!!! Please answer these questions for any and ALL bug reports

What version of the product are you using? On what operating system?
- Editra 0.7.12 under OSX 10.4.11

What method of install was your version installed with (Binary/Source)?
- Binary

If from source: What version of python and wxPython are you using?
- python 2.7.3 and wxpython 2.8 runtimes are installed

Please provide any additional information below.
- Console log :
Traceback (most recent call last):
  File "/Volumes/Users/Users/florian/Desktop/Editra.app/Contents/Resources/__boot__.py", line 277, in <module>
    _argv_emulation()
  File "/Volumes/Users/Users/florian/Desktop/Editra.app/Contents/Resources/__boot__.py", line 275, in _argv_emulation
    _run_argvemulator()
  File "/Volumes/Users/Users/florian/Desktop/Editra.app/Contents/Resources/__boot__.py", line 110, in _run_argvemulator
    carbon = _ctypes_setup()
  File "/Volumes/Users/Users/florian/Desktop/Editra.app/Contents/Resources/__boot__.py", line 65, in _ctypes_setup
    carbon.AEProcessEvent.restype = ctypes.c_int
  File "ctypes/__init__.pyo", line 378, in __getattr__
  File "ctypes/__init__.pyo", line 383, in __getitem__
AttributeError: dlsym(0x101f20, AEProcessEvent): symbol not found
2012-12-16 14:24:45.154 Editra[726] Editra Error

- Editra 0.5.51 work fine

Original issue reported on code.google.com by flachy...@gmail.com on 16 Dec 2012 at 1:32

GoogleCodeExporter commented 9 years ago
Hi,

From the error it doesn't look like your running a source version of Editra?

Is this downloaded from the website or build it yourself?

What exact version of wxPython? Do other wxPython applications run?

The error is not occurring within Editra's code so looks more like an issue 
with py2app or wxPython.

Original comment by CodyPrec...@gmail.com on 16 Dec 2012 at 9:50

GoogleCodeExporter commented 9 years ago
Hi Cody,
I downloaded this file http://editra.org/uploads/Mac/Editra-0.7.12.dmg, mount 
it as an image and double-click on the app.

wxPython is the last available for OSX 10.4 : 
http://downloads.sourceforge.net/wxpython/wxPython2.8-osx-unicode-2.8.12.1-unive
rsal-py2.7.dmg

Editra 0.5.51 still working well, I think it use wxPython too ?

Where does this ctypes file come from ?

Thanks !

Original comment by flachy...@gmail.com on 17 Dec 2012 at 5:34

GoogleCodeExporter commented 9 years ago
Hi,

Ok, since you are using the DMG file it is a built binary that uses its own 
copy of wxPython and not the one you installe don your system.

Guesing that there is a bug or more likely just a dropped compatibility in the 
later wxPython releases with OSX 10.4.

Can you try the following.

1) Download the Editra source package (.tar.gz)
2) Extract the folder somewhere on your system
3) Open command prompt and navigate to the extracted folder
4) Try running Editra using your installed python2.7 so that it will run using 
your locally installed wxPython. i.e. Run: `python2.7 editra`
5) See if it starts up that way running on your local python / wxPython. If not 
I would try uninstalling wxPython 2.8.12.1 and installing an older version such 
as 2.8.10 which I seem to remember confirming still worked with 10.4.

Original comment by CodyPrec...@gmail.com on 17 Dec 2012 at 5:49

GoogleCodeExporter commented 9 years ago
From the source it's ok... And double-clicking on the "editra" script work 
great.

Do you know if I can make an app package with the python script form the 
source, since I don't need the built-in python ?

Original comment by flachy...@gmail.com on 17 Dec 2012 at 8:04

GoogleCodeExporter commented 9 years ago
Good to know it runs from source still.

Are you on a PPC or Intel machine?

To answer your question yes you can build a standalone app on your system.

1) Install the following python packages for your Python 2.7 install: 
setuptools, py2app
2) open command prompt
3) Goto the extracted Editra source directory
4) Run the following command: python2.7 setup.py py2app
5) There should now be a .app/DMG file in a subdirectory called 'dist'

Original comment by CodyPrec...@gmail.com on 17 Dec 2012 at 8:18

GoogleCodeExporter commented 9 years ago
I own the mythic Apple Cube (PPC G4 originally @450MHz, upgraded to 1.4GHz).
I'll try your instructions, thank you.

I remain available for doing tests if you need.

Regards.

Le 17/12/2012 21:18, editra@googlecode.com a �crit :

Original comment by flachy...@gmail.com on 17 Dec 2012 at 8:30

GoogleCodeExporter commented 9 years ago
updating issue title for clarity

Original comment by CodyPrec...@gmail.com on 5 Apr 2013 at 12:58

GoogleCodeExporter commented 9 years ago
merging this to related / duplicate issue 731

Original comment by CodyPrec...@gmail.com on 21 Aug 2013 at 2:47