[maemo-developers] [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
From: Glauber Ferreira glauber at embedded.ufcg.edu.brDate: Wed Apr 23 19:57:50 EEST 2008
- Previous message: [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
- Next message: [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi Andrea. At step 2 you have chosen this workspace */home/andy80/documenti/sviluppo/*maemo At step 5 you have chosen this location for project Pluthon1 */home/andy80/documenti/sviluppo/*Pluthon1 and this location for project PluthonTest3 */home/andy80/documenti/sviluppo/*Pluthon Both locations are not into workspace directory (they are not into maemo directory). Is it 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. 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. This is a convention of Eclipse Wizards. Since the PluThon Project Wizard are following this convention the same errors occur. What about the exception "String index out of range: -1"? Have you got this exception again? []s Glauber Ferreira On Tue, Apr 22, 2008 at 12:07 PM, Andrea Grandi <a.grandi at gmail.com> wrote: > Hi, > > maybe I've found the "bug" :) > > Look here: > > > 4) Project Name: Pluthon1 > > > > 5) Location: /home/andy80/documenti/sviluppo/Pluthon1 > > and this works... the project that didn't work had these data: > > Project Name: PluthonTest3 > Location: /home/andy80/documenti/sviluppo/Pluthon > > I think that the location should be > "/home/andy80/documenti/sviluppo/PluthonTest3" to make it work > correctly! > > What do you think about it? I think it's a little bug of wizard, it > shouldn't let user to set a path different from the project name. The > user should choose the first part of the path, and it should be > string-concatenated with project name. > > Please let me know what do you think about. I hope to have been useful > for debugging :) > > Best regards, > > 2008/4/22, Andrea Grandi <a.grandi at gmail.com>: > > Hi, > > > > > > > In fact, this file does not have info about the stacktrace. Since the > > > stacktrace are not being logged, could you send me the source code of > your > > > sample project and the steps you have performed in order to start it? > > > > > > you can find the source code in the attachment, but it's the same > > generated by the plugin wizard. > > > > These are the steps I do: > > > > 1) I start eclipse > > > > 2) I choose this workspace: /home/andy80/documenti/sviluppo/maemo > > > > 3) File->New->Pluthon Project > > > > 4) Project Name: Pluthon1 > > > > 5) Location: /home/andy80/documenti/sviluppo/Pluthon1 > > > > 6) use existing session > > > > 7) Create a project using template "Hildon Hello World" > > > > 8) Run As -> Pluthon Application > > > > 9) ..... DAMN IT!!! Now it works :( Why? Where was the mistake :( ??? > > > > > > > > > Besides, could you send me your Eclipse configuration details? (menu > Help >> > > > About Eclipse SDK >> Configuration Details) > > > > > > you find it in the attachment > > > > What happened before now? Why it didn't work? > > > > I'll try it again and again, until I get that exception again.... > > > > > > -- > > > > Andrea Grandi > > email: a.grandi [AT] gmail [DOT] com > > website: http://www.andreagrandi.it > > PGP Key: http://www.andreagrandi.it/pgp_key.asc > > > > > > > -- > Andrea Grandi > email: a.grandi [AT] gmail [DOT] com > website: http://www.andreagrandi.it > PGP Key: http://www.andreagrandi.it/pgp_key.asc > > _______________________________________________ > pymaemo-developers mailing list > pymaemo-developers at garage.maemo.org > https://garage.maemo.org/mailman/listinfo/pymaemo-developers > > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080423/cde56591/attachment.htm
- Previous message: [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
- Next message: [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]