Forums

CobraInfo.cs could not be found

General discussion about Cobra. Releases and general news will also be posted here.
Feel free to ask questions or just say "Hello".

CobraInfo.cs could not be found

Postby themaniac » Thu Jan 01, 2009 7:19 am

I've just updated to the latest cobra (r1864), and installed using ./install-from-workspace (on OSX 10.5). However...

Code: Select all
$ cobra spamscan.cobra
(0): error: Source file "/usr/local/cobra/Cobra-0.8.0-post/bin/CobraInfo.cs" could not be found
Compilation failed - 1 error, 0 warnings
Not running due to errors above.


It seems the file is usually in the bin directory
Code: Select all
$ find /usr/local/cobra/ -iname CobraInfo.cs
/usr/local/cobra//cobra-0.7.4/bin/CobraInfo.cs
/usr/local/cobra//cobra-svn-post-0.7.4/bin/CobraInfo.cs
/usr/local/cobra//cobra-svn-post-0.7.4/bin/Snapshot/CobraInfo.cs


However,
Code: Select all
$ find /usr/local/cobra/Cobra-0.8.0-post/ -iname CobraInfo.cs
$

and in my checkout directory
Code: Select all
$ find ./ -iname CobraInfo.cs
$


Any ideas? Thanks in advance.
themaniac
 
Posts: 28

Re: CobraInfo.cs could not be found

Postby gauthier » Thu Jan 01, 2009 8:11 am

I just encounter the same issue, my problem was also that I get several Cobra.Lang.CobraInfo class within every cobra compiled assemblies.

I just keep creating an empty file at the location to workarround the issue
gauthier
 
Posts: 116

Re: CobraInfo.cs could not be found

Postby Charles » Thu Jan 01, 2009 1:48 pm

I introduced this bug recently. I'll fix today.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: CobraInfo.cs could not be found

Postby Charles » Thu Jan 01, 2009 2:38 pm

Fixed, tested and checked in. I have Mac OS X as well (as well as Windows XP).

CobraCore.findCobraExe is slightly damaged as a result, although if your cobra.exe is in your system PATH, it will be found.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: CobraInfo.cs could not be found

Postby Charles » Thu Jan 01, 2009 3:46 pm

CobraCore.findCobraExe is now fixed, tested and checked in. I did thorough testing on both Mac OS X and Win XP including fresh installations.
Charles
 
Posts: 2515
Location: Los Angeles, CA


Return to Discussion

Who is online

Users browsing this forum: No registered users and 78 guests