Am 13.03.2009, 03:18 Uhr, schrieb Alex Fernandez:
It seems that your Python is not understanding the decorator syntax
for classmethods, which were introduced in Python 2.4:
  http://pyref.infogami.com/classmethod

I believe, but I'm not the one to understand these things.

The following command would verify that this is indeed the problem:
  $ python --version

I tried out:

joachim$ python --version
Unknown option: --
usage: python [option] ... [-c cmd | file | -] [arg] ...

... perhaps again specific to Mac-OSX, but:

joachim$ python -V
Python 2.3.5
localhost:/Developer/Applications joachim$ python_select -l
Available versions:
current none python23-apple python25

i. e. I have - besides python23-apple - also some python25, might be
incomplete. It had been installed together with some MacPorts program I
don't remember spontaneously. Because of a problem with LyX starting
"Document => New", on advice of Konrad Hofbauer, I did then as I decribed
in that thread »defaults.lyx, lyx2lyx error in LyX 1.6 - resolved«:
---------------------------------------------
localhost:/opt joachim$ sudo python_select python23-apple
Password:
Selecting version "python23-apple" for python
----------------------------------------------------

That resolved the problem. Experimentally today I tried to reselect python25
again, but the problem with LyX "New" came back, so I went immediately
back to python23-apple.

It would appear that Tiger comes with a Python 2.3 version. It is easy
to upgrade to a more current version:
  http://www.python.org/download/mac/

Unfortunately, on http://www.pythonmac.org/packages/ for Mac-OSX 10.4
Tiger there are only packages up to Python 2.4.1 and PPC ONLY. Python 2.5
seems to run only on  Mac-OSX 10.5 Leopard, if I understand well.

I would commit to make eLyXer work with Tiger, but only if you are
willing to be the guinea pig ... What do you think?

No problem with the role of guinea pig (the German Versuchskaninchen) with
the perspective of becoming a truffle pig and having eLyXer running
correctly on Mac-OSX 10.4.

But it seems rather impossible because of the python25 problem, as far
as I see.

=>Has somebody activated python25 running on Mac-OSX 10.4 without problems
with LyX "New"? And if, which python 2.5 had you installed and how?

=>Or have you, Alex, still an idea of resolving the problem?

But might be this would be wasted effort in the moment, for the time being
I share the happiness of Linuxers with eLyXer :-(

joachim
--
MacTeXLive 2008 - TeXShop 2.18-svn - LyX 1.6.1
MacBook Pro OSX 10.4.11 Tiger

Reply via email to