[mapguide-trac] #1733: ConvertResX.exe runtime error.

MapGuide Open Source trac_mapguide at osgeo.org
Wed Jun 29 21:35:20 EDT 2011


#1733: ConvertResX.exe runtime error.
-----------------------+----------------------------------------------------
   Reporter:  jng      |       Owner:  jng        
       Type:  defect   |      Status:  new        
   Priority:  low      |   Milestone:  Maestro-3.5
  Component:  Maestro  |     Version:             
   Severity:  trivial  |    Keywords:             
External_id:           |  
-----------------------+----------------------------------------------------
 Snip of email I received

 {{{
 I am trying to convert the French files from the previous release 2.0 with
 the following command “H:\MaestroDev-3.0\Localization>ConvertResX.exe
 H:\MaestroDev\Localization\fr-FR\Maestro” but it always produces an error:



 Exception non gérée : System.IO.DirectoryNotFoundException: Impossible de
 trouver une partie du chemin d'accès
 'C:\Users\Kenneth\Documents\Maestro\Localization\fr-FR'.

    à System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)

    à System.IO.Directory.InternalGetFileDirectoryNames(String path, String
 userPathOriginal, String

 searchPattern, Boolean includeFiles, Boolean includeDirs, SearchOption
 searchOption)

    à System.IO.Directory.GetDirectories(String path, String searchPattern,
 SearchOption searchOption

 )

    à System.IO.Directory.GetDirectories(String path)

    à ConvertResX.Program.GetFormFiles(String basefolder, String language)

    à ConvertResX.Program.Main(String[] args)





 Do you have any idea where is the problem. How come ConvertResX.exe is
 searching in 'C:\Users\Kenneth\Documents\Maestro\Localization\fr-FR'?
 }}}

 Disassembling the source reveals that this directory is hard-coded into
 the application. Investigate the location of the original source.
 Otherwise if all else fails. Rewrite the application from scratch using
 the disassembled output as a guide.

-- 
Ticket URL: <http://trac.osgeo.org/mapguide/ticket/1733>
MapGuide Open Source <http://mapguide.osgeo.org/>
MapGuide Open Source Internals


More information about the mapguide-trac mailing list