[maemo-developers] [pymaemo] Pluthon: Cannot launch application: String index out of range: -1

From: Andrea Grandi a.grandi at gmail.com
Date: Wed Apr 23 20:10:27 EEST 2008
Hi,

> Both locations are not into workspace directory (they are not into maemo
> directory). Is it correct?

It's correct.

> Are you trying to create both projects outside of
> workspace directory? If it is correct, PluThon Project Wizard, on Windows,
> works properly and has created both projects at these locations. I will test
> it on Linux.

I'm using Linux, anyway the question is: what is the best practise to follow?
Where do I have to create the workspace? And what about the project?

> However, if you are testing inside workspace directory (with these
> locations: /home/andy80/documenti/sviluppo/maemo/Pluthon1 and
> /home/andy80/documenti/sviluppo/maemo/Pluthon), it is not possible to change
> the project name. In fact, this will only work for project Pluthon1, since
> the default location are being used. This will not work for project
> PluthonTest3 since project name has been changed.

the wizard should not let the user to change the project name or the path.....

> What about the exception "String index out of range: -1"? Have you got this
> exception again?

it happens only if project name and path are different, for example in
this case I get it:

project name: PluthonTest3

project path: /home/andy80/documenti/sviluppo/Pluthon

Best regards,

-- 
Andrea Grandi
email: a.grandi [AT] gmail [DOT] com
website: http://www.andreagrandi.it
PGP Key: http://www.andreagrandi.it/pgp_key.asc

More information about the maemo-developers mailing list