Source not found when path contains spaces

In this section you can write to us about the MDT bugs & problems you have noticed.

Source not found when path contains spaces

Postby goebel » 11 Mar 2009, 13:20

Hello all,
while working with the class browser i found a new bug. MDT can't find the sources for files just loaded into the image when the path contains spaces.

I could verify this with files in my project, where the path to the file would be something like 'D:\eclipse workspace\my project'. After removing the spaces, the sources are found.
goebel
 
Posts: 3
Joined: 19 Sep 2006, 17:14

Re:Source not found when path contains spaces

Postby Bartek » 11 Mar 2009, 13:24

Hello,

That is the well known problem related to Smallworld's Method Finder but not to MDT. You'll get the same result in Emacs Class Browser.

With best regards.
Bartlomiej Laczkowski
Training & Deployment Manager - MDT Team
ASTEC Sp. z o.o.
Bartek
 
Posts: 10
Joined: 02 Jun 2006, 17:01

Re:Source not found when path contains spaces

Postby goebel » 11 Mar 2009, 13:46

Thanks for pointing that out.
It's been a while since i last used the Emacs.

After using MDT for quite some time, what was this Emacs thing again? :-)
goebel
 
Posts: 3
Joined: 19 Sep 2006, 17:14

Re: Source not found when path contains spaces

Postby preale » 03 Nov 2010, 13:35

OK, I think I have the same issue... can you please help confirm this? I am getting error...

Cannot open a file.
Reason:
No source location for method:
highlight_path_to_circuit_source() IN po:po!circuit_explorer_controller


I renamed my Project folder from "Circuit Explorer - Test" to "Circuit_Explorer_Test", to remove the spaces, but still get this error. Could it be because my MDT Workspace folder is under a folder with spaces... "C:\Documents and Settings\preale\workspace" ?

Thanks,
Peter Reale
Systems Analyst
Central Hudson Gas & Electric
preale
 
Posts: 6
Joined: 21 Dec 2009, 20:33

Re: Source not found when path contains spaces

Postby Darek » 05 Nov 2010, 14:56

Hello preale,

No source location... means that Method Finder has not indexed any path for code element (method, exemplar, condition etc.) you try to open. It is very common in standard images provided with Smallworld GIS. In case it is your own image review the image build procedure, provide necessary paths and then build image again.

Best regards,
Dariusz Michura
MDT Support Team

ASTEC Sp. z o.o.
ul. Wyspiańskiego 11, PL 65-036 Zielona Góra
Phone: +48 68 42 26 819
Fax: +48 68 42 26 897
support@mdt.net

http://www.astec.net
http://www.gislet.pl
http://www.mdt.net
Darek
 
Posts: 19
Joined: 26 May 2006, 14:27

Re: Source not found when path contains spaces

Postby preale » 05 Nov 2010, 16:42

OK, thanks for the explanation.
I moved my workspace to c:\workspace, and we re-built the image without any changes to the build procedure ... and now I don't get the error. So, not sure what 'fixed' it, but I appreciate the help.
Peter Reale
Systems Analyst
Central Hudson Gas & Electric
preale
 
Posts: 6
Joined: 21 Dec 2009, 20:33

Re: Source not found when path contains spaces

Postby Darek » 10 Nov 2010, 15:11

There is one more feature in MDT that is worth to mention here in this topic.

It is very common sitiuation when image files are built on separate server with use of source codes stored on that server. Developers working with those images may have not access to original source codes and they may use copies available in different locations.

In MDT it is possible to map paths indexed by Method Finder during image build to other paths currently available. Thus this it is possible to overcome source code paths incompatibilities. More information about this feature may found in MDT help.
Dariusz Michura
MDT Support Team

ASTEC Sp. z o.o.
ul. Wyspiańskiego 11, PL 65-036 Zielona Góra
Phone: +48 68 42 26 819
Fax: +48 68 42 26 897
support@mdt.net

http://www.astec.net
http://www.gislet.pl
http://www.mdt.net
Darek
 
Posts: 19
Joined: 26 May 2006, 14:27


Return to Bugs & problems

Who is online

Users browsing this forum: No registered users and 1 guest

cron