Drop into tools/qt4-types-gen.py and change the "as" into a ","

See changes;

 Generator(dict(options))()
    except BrokenSpecException, e:
        print >> sys.stderr, 'Your spec is broken, dear developer! %s' % e
        sys.exit(42)

- Simon

On Wed, Apr 13, 2011 at 11:14 AM, Felipe Crochik <fel...@crochik.com> wrote:

>  Simon,
> Thank you again!
>
> The “trick” allowed me to use the python on the “/usr/bin” folder but now I
> think that this may not be the “real” issue.
>
>
>
> I am trying to compile telepathy-qt4-0.5.15 on scratchbox for maemo5 and I
> am getting this error:
>
>
>
> [sbox-FREMANTLE_ARMEL: ~/projects/n900/telepathy-qt4-0.5.15/build] > make
>
> [  1%] Built target future-ifaces-includator
>
> [  1%] Built target future-constants
>
> [  1%] Generating _gen/future-types.h, _gen/future-types-body.hpp
>
> /home/felipe/projects/n900/telepathy-qt4-0.5.15/tools/qt4-types-gen.py:554:
> Warning: 'as' will become a reserved keyword in Python 2.6
>
>   File
> "/home/felipe/projects/n900/telepathy-qt4-0.5.15/tools/qt4-types-gen.py",
> line 554
>
>     except BrokenSpecException as e:
>
>                                 ^
>
> SyntaxError: invalid syntax
>
> make[2]: *** [TelepathyQt4/_gen/future-types.h] Error 1
>
> make[1]: *** [TelepathyQt4/CMakeFiles/future-typesgen.dir/all] Error 2
>
> make: *** [all] Error 2
>
>
>
> Maybe is (and was) actually using the python 2.5.4 and the error is due to
> some other problem.
>
>
>
> Any ideas?
>
>
>
> Thanks,
>
> Felipe
>
>
>  ------------------------------
>
> *From:* Simon La Rose [mailto:si...@esque.ca]
> *Sent:* Wednesday, April 13, 2011 10:42 AM
>
> *To:* Felipe Crochik
> *Cc:* maemo-developers@maemo.org
> *Subject:* Re: python (scratchbox)
>
>
>
> It works differently, how, I am not sure.
>
>
>
>
> http://www.mail-archive.com/scratchbox-users@lists.scratchbox.org/msg00977.html
>
>
>
>
> <http://www.mail-archive.com/scratchbox-users@lists.scratchbox.org/msg00977.html>and
> the last entry at http://wiki.maemo.org/PyMaemo/FAQ may provide an answer.
>
>
>
> - Simon
>
>
>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to