[maemo-developers] [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
From: Glauber Ferreira glauber at embedded.ufcg.edu.brDate: Fri Apr 25 05:57:03 EEST 2008
- Previous message: [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
- Next message: New release - Python2.5.2 - OS2007/2008
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On Wed, Apr 23, 2008 at 2:10 PM, Andrea Grandi <a.grandi at gmail.com> wrote: > Hi, > > > Both locations are not into workspace directory (they are not into maemo > > directory). Is it correct? > > It's correct. OK. > > > 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? Well, the common use of Eclipse is to define the workspace directory at the first usage of Eclipse and save it for the next sessions. You can create workspace at any location, but Eclipse projects are usually created inside workspace directory. For this, you must only define the project name and let "Use default location" checked. You have not to define an specific location. In this way, Eclipse will create the project folder inside the workspace directory, using the project name. > > > > 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..... If you "Use default location", the path can not be customized and the wizard lets you define only the project name. If you ARE NOT "Use default location", the wizard lets you define the project name and the project path, since this path is not inside workspace directory (if you want the path inside workspace, you should the previous case: "Use default Location"). > > > > 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 I have tested on Linux and I have got the exception. In fact, I was performing the tests on Windows in a wrong way. I will post a bug on Garage and fix it for the next release. > > > 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 > -------------- next part -------------- An HTML attachment was scrubbed... URL: http://lists.maemo.org/pipermail/maemo-developers/attachments/20080424/d0e6312a/attachment.htm
- Previous message: [pymaemo] Pluthon: Cannot launch application: String index out of range: -1
- Next message: New release - Python2.5.2 - OS2007/2008
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]