overturetool / overture

The Overture Tool
http://overturetool.org
GNU General Public License v3.0
48 stars 25 forks source link

Project paths with spaces cause problems #119

Closed joey-coleman closed 10 years ago

joey-coleman commented 10 years ago

The following bug was originally reported on Sourceforge by nick_battle, 2011-11-22 21:11:28:

To quote an email bug report (symptom is a Java ClassNotFound exception when running the spec):

The problem was that the path where I had uncompressed Overture was: /home/rolando/escola/mfes/vdm/OvertureIde-1.1.0

However, /home/rolando/escola/ is a symlink that points to: /home/rolando/Área\ de\ Trabalho/feup/4_ano/

So although the pwd would read: /home/rolando/escola/mfes/vdm/OvertureIde-1.1.0 it was actually pointing to /home/rolando/Área\ de\ Trabalho/feup/4_ano/mfes/vdm/OvertureIde-1.1.0

Basically putting the vdm/ folder in my $HOME fixed the problem.

To confirm that the problem was the whitespace in the "Área\ de\ Trabalho" folder, and not, say, the character 'Á', I also uncompressed Overture to ~/Área_de_Trabalho/

It still worked fine.

So the problem seems to be that if the real path to a model contains any whitespace, Overture won't be able to find the model.

joey-coleman commented 10 years ago

Comment by augusto_silva, 2011-11-30 09:48:27:

Fixed in revision 3369. To appear in version 1.1.1