Forums

Help test the installer

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

Re: Help test the installer

Postby Charles » Mon Jun 11, 2012 12:03 am

ObtuseAngle wrote:I doubt it's a problem, but after updating to the latest patch I noticed a warning hidden amongst the install messages:

Code: Select all
==== Build Cobra.Lang library
run: cobra.exe -build-standard-library -debug -native-compiler:C:\WINDOWS\Micros
oft.NET\Framework\v4.0.30319\csc.exe -turbo -out:Cobra.Lang.dll -key-file:Cobra.
Lang\Cobra.Lang.snk Cobra.Lang\AssemblyAttrs.cobra
   : warning: Cannot extract version number from version string: svn: (post 0.8)
 / 2012-06-06
   : Compilation succeeded


Regards, Obtuse.

Can you .zip up the directory and either attach here, send it to contact@cobralang.com or share it through something like dropbox? I want to take a look.

Also, what output do you get for your installed Cobra when you enter "cobra -about"?
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby ObtuseAngle » Thu Jun 14, 2012 4:19 pm

Charles wrote:Can you .zip up the directory and either attach here, send it to contact@cobralang.com or share it through something like dropbox? I want to take a look.

Also, what output do you get for your installed Cobra when you enter "cobra -about"?


Code: Select all
C:\>cobra -about

The Cobra Programming Language svn: (post 0.8) / 2012-06-06
on .NET CLR v4.0.30319 on Microsoft Windows NT 5.1.2600 Service Pack 3
at C:\Cobra\Cobra-4.0.30319-post\bin\cobra.exe

Copyright (C) 2003-2012 by Cobra Language LLC.  All Rights Reserved.

On the web:  http://cobra-language.com/
Source:      http://cobra-language.com/source
Support:     http://cobra-language.com/support
License:     http://www.opensource.org/licenses/mit-license.php

Usage:       cobra -h

C:\>


Sorry, which directory did you mean?
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319 ? cobra-workspace? C:\Cobra ?

Does running under Windows XP make a difference? (my workplace is upgrading to Windows 7 in the next few months, after which I will no longer have access to XP)
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby Charles » Thu Jun 14, 2012 9:42 pm

I meant the Cobra workspace directory from where you installed this from. That's where the installer would try to pick up the Subversion revision number.

I don't know if this is an XP issue or not.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby ObtuseAngle » Thu Jun 21, 2012 10:53 pm

Sorry about the delay.
cobra-workspace folder zipped to http://www.mediafire.com/?55q5oe30b6626vk

Regards, Obtuse.
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby Charles » Sat Aug 18, 2012 10:00 am

This is due to a file format change in Subversion 1.7 and up including the fact that there is only one .svn directory in a workspace now (instead of one per subdirectory). I'm working on a fix.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby Charles » Sat Aug 18, 2012 6:00 pm

This is fixed now. I tested on:

-- Mono 2.10 on Ubuntu 12.04
-- Mono 2.10 on Mac OS X 10.6
-- .NET 4.0 on Win 7 32-bit
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby ObtuseAngle » Tue Aug 21, 2012 1:10 am

Cheers.

I'm still seeing a couple of (not particularly worrying) warnings.

Revision 2784
Windows XP, .NET 4.0

==== Build Cobra.Core library

run: cobra.exe -build-standard-library -debug -native-compiler:C:\WINDOWS\Micros
oft.NET\Framework\v4.0.30319\csc.exe -turbo -out:Cobra.Core.dll -key-file:Cobra.
Core\Cobra.Core.snk Cobra.Core\AssemblyAttrs.cobra
: warning: Cannot extract version number from version string: svn: (post 0.8)
/ 2012-08-21

: Native.cs(1111): warning: The variable "argExc" is declared but never used
: Compilation succeeded - 1 warning

==== Install Cobra.Core library to the GAC

run: C:\Program Files\Microsoft SDKs\Windows\v7.1\Bin\NETFX 4.0 Tools\gacutil.ex
e -i Cobra.Core.dll -f
: Microsoft (R) .NET Global Assembly Cache Utility. Version 4.0.30319.1
: Copyright (c) Microsoft Corporation. All rights reserved.
:
: Assembly successfully added to the cache

==== Verifying Cobra.Core.dll installed to the GAC

Skipping due to running on .NET 2, but installed for .NET 4.

==== Build Cobra.Compiler library

run: cobra.exe -c -t:lib -ert:yes -namespace:Cobra.Compiler -files:files-to-comp
ile.text -debug -native-compiler:C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\c
sc.exe -turbo -out:Cobra.Compiler.dll -key-file:Cobra.Core\Cobra.Core.snk cobra.
cobra
: Native_ert_145964f0cc3085a4c329b1a7235beef4.cs(1111): warning: The variable
"argExc" is declared but never used

: Compilation succeeded - 1 warning
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby Charles » Tue Aug 21, 2012 7:56 pm

That's disappointing to me since the point of the new SubversionUtils.cobra code was to avoid this problem. It worked in the workspace you sent me before, but obviously something is missing. Can you pack up your directory and share it so I can take another look?

I eliminated "warning: The variable "argExc" is declared but never used".
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Help test the installer

Postby ObtuseAngle » Thu Aug 23, 2012 4:05 pm

It may be my computer - undeleting/updating programs and moving stuff around in preparation for a move to Windows 7 has apparently broken a few things, I'm getting some interesting errors running Office and some software installers.

Anyway, here's the zipped workspace: http://www.mediafire.com/?iza99cm92cda0l7

And, of course, there's always the possibility I've done something stupid.
99 programming bugs in the code, 99 bugs in the code, fix 1 bug and compile it again, 101 programming bugs in the code
ObtuseAngle
 
Posts: 42
Location: Gippsland, Australia

Re: Help test the installer

Postby Charles » Sat Aug 25, 2012 4:45 pm

Okay, should be fixed for real this time. I needed to push a new snapshot of the compiler down into the Snapshot/ directory so that it would have the new code for detecting revisions of workspaces created in Subversion 1.7--which I downloaded and tested with btw.

Thanks for posting your files.
Charles
 
Posts: 2515
Location: Los Angeles, CA

PreviousNext

Return to Discussion

Who is online

Users browsing this forum: No registered users and 13 guests

cron