Wiki

Changes between Version 6 and Version 7 of Troubleshooting

Show
Ignore:
Timestamp:
07/27/10 05:29:26 (7 years ago)
Author:
Chuck
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Troubleshooting

    v6 v7  
    8686 2. Recompile with -include-tests:no option. 
    8787 
     88=== Internal Error About 'path' === 
     89 
     90Upon compiling you get this error: 
     91{{{ 
     92error: COBRA INTERNAL ERROR / ArgumentException / Item has already been added. Key in dictionary: 'path'  Key being added: 'path' 
     93}}} 
     94 
     95If you compile with -reveal-internal-exceptions you get this exception: 
     96{{{ 
     97Unhandled Exception:  
     98 
     99System.ArgumentException: Item has already been added. Key in dictionary: 'path'  Key being added: 'path'  
     100at System.Collections.Hashtable.Insert(Object key, Object nvalue, Boolean add)  
     101at System.Collections.Hashtable.Add(Object key, Object value)  
     102at System.Collections.Specialized.StringDictionary.Add(String key, String value)  
     103at System.CodeDom.Compiler.Executor.ExecWaitWithCaptureUnimpersonated(SafeUserTokenHandle userToken, 
     104   String cmd, String currentDir, TempFileCollection tempFiles, String& outputName, String& errorName, 
     105   String trueCmdLine)  
     106... 
     107}}} 
     108 
     109Cobra is your PATH twice such as seeing "C:\Cobra\bin" in your PATH more than one time. Fix the path. 
     110 
     111 
    88112=== Other Problems === 
    89113