Forums

Linux installs but where too?

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

Re: Linux installs but where too?

Postby jetimms » Wed Sep 21, 2011 4:52 am

Update succeeded, but there is a new error on Test 30 regarding language.

Quick question: Do you think there is a standard font that I am missing that would cause this issue? I have installed some new ones and removed a few extra, but I don't think that the ones I removed were standard.

Also, Mepis 11 is based largely on Debian stable (squeeze, right now I think.) I think Ubuntu is as well though.

Code: Select all
[root@mepis11-00 cobra-workspace]# svn up
U    Source/Snapshot/Cobra.Lang/UrlUtils.cobra
Updated to revision 2622.
[root@mepis11-00 cobra-workspace]# cd Source
[root@mepis11-00 Source]# bin/install-from-workspace

Compiling installation program...
Running 30 tests at 9/21/2011 7:43:29 AM
>> lib InstallFromWorkspace, Version=0.0.0.0
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.CobraCore
        >> test 1: .exePath_5304
        << test 1: .exePath_5304
        >> test 2: .htmlEncode_ol_2_6358
        << test 2: .htmlEncode_ol_2_6358
        >> test 3: .htmlDecode_6406
        << test 3: .htmlDecode_6406
        >> test 4: .singleCompare_6476
        << test 4: .singleCompare_6476
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.CobraCore
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Extend_String_Extensions
        >> test 5: .capitalized_9894
        << test 5: .capitalized_9894
        >> test 6: .count_9960
        << test 6: .count_9960
        >> test 7: .isCapitalized_10012
        << test 7: .isCapitalized_10012
        >> test 8: .md5HashInHex_10059
        << test 8: .md5HashInHex_10059
        >> test 9: .repeat_10117
        << test 9: .repeat_10117
        >> test 10: .split_ol_4_10223
        << test 10: .split_ol_4_10223
        >> test 11: .split_ol_5_10313
        << test 11: .split_ol_5_10313
        >> test 12: .splitLines_ol_2_10395
        << test 12: .splitLines_ol_2_10395
        >> test 13: .splitWords_10708
        << test 13: .splitWords_10708
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Extend_String_Extensions
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.DecimalTools
        >> test 14: .pow_10778
        << test 14: .pow_10778
        >> test 15: .sqrt_10890
        << test 15: .sqrt_10890
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.DecimalTools
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Extend_IEnumerable_ExtendIEnumerable
        >> test 16: .join_ol_1_10976
        << test 16: .join_ol_1_10976
        >> test 17: .join_ol_2_11061
        << test 17: .join_ol_2_11061
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Extend_IEnumerable_ExtendIEnumerable
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestIEnumerableExtensions
        >> test 18: class level
        << test 18: class level
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestIEnumerableExtensions
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestIListExtensions
        >> test 19: class level
        << test 19: class level
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestIListExtensions
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestIDictionaryExtensions
        >> test 20: class level
        << test 20: class level
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestIDictionaryExtensions
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.NumericTypeInfo
        >> test 21: .promoteNumerics_13594
        << test 21: .promoteNumerics_13594
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.NumericTypeInfo
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.ObjectCatalog
        >> test 22: class level
        << test 22: class level
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.ObjectCatalog
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestSet
        >> test 23: class level
        << test 23: class level
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TestSet
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.SourceSite
        >> test 24: .toString_ol_1_15245
        << test 24: .toString_ol_1_15245
        >> test 25: .oneLiner_ol_2_15345
        << test 25: .oneLiner_ol_2_15345
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.SourceSite
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.PrintStringMaker
        >> test 26: .makePrintString_16414
        << test 26: .makePrintString_16414
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.PrintStringMaker
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TechStringMaker
        >> test 27: .makeTechString_16652
        << test 27: .makeTechString_16652
        >> test 28: _makeString_ol_1_16825
        << test 28: _makeString_ol_1_16825
        >> test 29: .isInterestingType_16971
        << test 29: .isInterestingType_16971
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.TechStringMaker
    >> class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.UrlUtils
        >> test 30: class level
            Fail with exception:
            System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.AssertException:
            sourceSite = /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:27 in UrlUtils.test_class_UrlUtils for object Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.UrlUtils (MonoType)
            info       = nil
            this       = Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.UrlUtils (MonoType)
                (.encode(url) == encodedUrl) = false
                    .encode(url) = 'foo.com%2fhey%c3%a2%c2%80%c2%94now'
                            url = 'foo.com/heyânow'
                    encodedUrl = 'foo.com%2fhey%e2%80%94now'
           
              at Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.UrlUtils.test_class_UrlUtils_18200 () [0x001ff] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:27
              at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:213
              --- End of inner exception stack trace ---
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
              at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MethodBase.cs:113
              at Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Test.MethodInfoTest._run (Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Test.TestRunParams params) [0x0001b] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:392
              at Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Test.Test.Run (Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.Test.TestRunParams params, ITestRunListener listener) [0x00061] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:366
        << test 30: class level
    << class Cobra.Lang_ert_4412a2cebbf4efe2bdef41580a7cf3ae.UrlUtils
<< lib InstallFromWorkspace, Version=0.0.0.0
Finished at 9/21/2011 7:43:29 AM.
30 tests run in 00:00:00.3156050.
29 successes.
1 failure.
[root@mepis11-00 Source]#


Thanks.
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Wed Sep 21, 2011 10:06 am

Fixed now. Try again. This was just another test case like the last one that used a non-standard character. I don't see any others, but let me know. I also remembered to fix the snapshot compiler this time.

No, your fonts would not be affecting anything as Cobra doesn't access any font information during installation. I too am surprised that this code worked on Mac and Ubuntu (and Windows), but not Mepis.

In both cases, these are non-standard characters, but I thought they would come through as UTF-8 and everything would be fine. Does that help explain anything? Does Mepis have a different default character set than Ubuntu or lack some UTF-8 support or something? Perhaps the code that landed on disk through svn ended up different than what's in the repository?

What "sum" do you get for the UrlUtils.cobra file? I get the same value on both Mac and Ubuntu:
Code: Select all
~/cobra-workspace/Source# sum Cobra.Lang/UrlUtils.cobra
30837     5
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Linux installs but where too?

Postby jetimms » Wed Sep 21, 2011 4:01 pm

In all fairness, I should test it against the LiveCD or a fresh install, although I don't think I have made major changes. I'm not sure about the which Unicode or UTF-8 it supports. This is my second attempt at Mepis (I had a version 8.5 box to toy around with, ) but it will probably be my permanent OS for the next few years.

It's a debian stable based, so it should behave somewhat like Ubuntu, but has a custom kernel and other differences.

I'll check the new revision when I get home.
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby jetimms » Wed Sep 21, 2011 8:14 pm

Here's the sum on revision 2621:
Code: Select all
jetimms@mepis11-00:/usr/local/cobra-workspace/Source$ sum Cobra.Lang/UrlUtils.cobra
15244     5
jetimms@mepis11-00:/usr/local/cobra-workspace/Source$


I get the same as you with revision 2623:
Code: Select all
[root@mepis11-00 Source]# sum Cobra.Lang/UrlUtils.cobra
30837     5
[root@mepis11-00 Source]#


Here's a new exception for Test 30:
Code: Select all
[root@mepis11-00 Source]# bin/install-from-workspace

Compiling installation program...
Running 30 tests at 9/21/2011 11:05:44 PM
>> lib InstallFromWorkspace, Version=0.0.0.0
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.CobraCore
        >> test 1: .exePath_5304
        << test 1: .exePath_5304
        >> test 2: .htmlEncode_ol_2_6358
        << test 2: .htmlEncode_ol_2_6358
        >> test 3: .htmlDecode_6406
        << test 3: .htmlDecode_6406
        >> test 4: .singleCompare_6476
        << test 4: .singleCompare_6476
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.CobraCore
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Extend_String_Extensions
        >> test 5: .capitalized_9894
        << test 5: .capitalized_9894
        >> test 6: .count_9960
        << test 6: .count_9960
        >> test 7: .isCapitalized_10012
        << test 7: .isCapitalized_10012
        >> test 8: .md5HashInHex_10059
        << test 8: .md5HashInHex_10059
        >> test 9: .repeat_10117
        << test 9: .repeat_10117
        >> test 10: .split_ol_4_10223
        << test 10: .split_ol_4_10223
        >> test 11: .split_ol_5_10313
        << test 11: .split_ol_5_10313
        >> test 12: .splitLines_ol_2_10395
        << test 12: .splitLines_ol_2_10395
        >> test 13: .splitWords_10708
        << test 13: .splitWords_10708
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Extend_String_Extensions
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.DecimalTools
        >> test 14: .pow_10778
        << test 14: .pow_10778
        >> test 15: .sqrt_10890
        << test 15: .sqrt_10890
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.DecimalTools
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Extend_IEnumerable_ExtendIEnumerable
        >> test 16: .join_ol_1_10976
        << test 16: .join_ol_1_10976
        >> test 17: .join_ol_2_11061
        << test 17: .join_ol_2_11061
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Extend_IEnumerable_ExtendIEnumerable
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestIEnumerableExtensions
        >> test 18: class level
        << test 18: class level
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestIEnumerableExtensions
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestIListExtensions
        >> test 19: class level
        << test 19: class level
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestIListExtensions
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestIDictionaryExtensions
        >> test 20: class level
        << test 20: class level
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestIDictionaryExtensions
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.NumericTypeInfo
        >> test 21: .promoteNumerics_13594
        << test 21: .promoteNumerics_13594
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.NumericTypeInfo
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.ObjectCatalog
        >> test 22: class level
        << test 22: class level
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.ObjectCatalog
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestSet
        >> test 23: class level
        << test 23: class level
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TestSet
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.SourceSite
        >> test 24: .toString_ol_1_15245
        << test 24: .toString_ol_1_15245
        >> test 25: .oneLiner_ol_2_15345
        << test 25: .oneLiner_ol_2_15345
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.SourceSite
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.PrintStringMaker
        >> test 26: .makePrintString_16414
        << test 26: .makePrintString_16414
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.PrintStringMaker
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TechStringMaker
        >> test 27: .makeTechString_16652
        << test 27: .makeTechString_16652
        >> test 28: _makeString_ol_1_16825
        << test 28: _makeString_ol_1_16825
        >> test 29: .isInterestingType_16971
        << test 29: .isInterestingType_16971
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.TechStringMaker
    >> class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.UrlUtils
        >> test 30: class level
            Fail with exception:
            System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.AssertException:
            sourceSite = /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:30 in UrlUtils.test_class_UrlUtils for object Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.UrlUtils (MonoType)
            info       = nil
            this       = Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.UrlUtils (MonoType)
                (.decode(encodedUrl) == decodedUrl) = false
                    .decode(encodedUrl) = 'gamma.com/?'
                            encodedUrl = 'gamma.com%2f%ce%b3'
                    decodedUrl = 'gamma.com/γ'
           
              at Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.UrlUtils.test_class_UrlUtils_18200 () [0x0032f] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/UrlUtils.cobra:30
              at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000d0] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:213
              --- End of inner exception stack trace ---
              at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x000eb] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MonoMethod.cs:223
              at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [0x00000] in /tmp/buildd/mono-2.6.7/mcs/class/corlib/System.Reflection/MethodBase.cs:113
              at Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Test.MethodInfoTest._run (Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Test.TestRunParams params) [0x0001b] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:392
              at Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Test.Test.Run (Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.Test.TestRunParams params, ITestRunListener listener) [0x00061] in /usr/local/cobra-workspace/Source/Snapshot/Cobra.Lang/Test.cobra:366
        << test 30: class level
    << class Cobra.Lang_ert_29895378ddcd0cdfba2df9cbcfc7cbbc.UrlUtils
<< lib InstallFromWorkspace, Version=0.0.0.0
Finished at 9/21/2011 11:05:44 PM.
30 tests run in 00:00:00.2268820.
29 successes.
1 failure.
[root@mepis11-00 Source]#


Thanks and sorry if this is getting annoying. If there's anything I can ask the guru's at the Mepis board, let me know. As I mentioned before, I'm still pretty green with its specific differences from other distros.
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Thu Sep 22, 2011 12:01 am

Your "sum" gave the same 30837 after you got the latest, so I don't know what the difference is. In any case, I missed that gamma test case because the non-ascii character looks like a "Y". I have commented that out and checked in. Try again.

I appreciate you taking the time to report these. Reports+fixes is how open source gets better.
Charles
 
Posts: 2515
Location: Los Angeles, CA

Re: Linux installs but where too?

Postby jetimms » Thu Sep 22, 2011 6:23 pm

Code: Select all
Success!
[root@mepis11-00 Source]#


Need I say more?

Actually, I do. Thanks for your help and persistence in getting my install up and running!
jetimms
 
Posts: 9

Re: Linux installs but where too?

Postby Charles » Thu Sep 22, 2011 11:14 pm

You're welcome. Looking forward to future questions about issues other than installation. :-)
Charles
 
Posts: 2515
Location: Los Angeles, CA

Previous

Return to Discussion

Who is online

Users browsing this forum: No registered users and 49 guests

cron