CppStars / mb-unit

Automatically exported from code.google.com/p/mb-unit
0 stars 0 forks source link

Icarus Test Runner Doesn't Start #817

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago

Had Gallio installed and working pretty well on old laptop with XP Pro.

Purchased new Lenovo ThinkPad running Windows 7. Downloaded and installed 
GallioBundle 3.2 build 708 64-bit.

I started Visual Studio 2008, opened my project, made a few code changes, did 
Rebuild Solution.

Start Icarus Test Runner and opened .Gallio project file. No tests showed in 
Test Explorer. Closed Gallio. Clicked on Icarus link. I saw green\blue 
clockwise circle for about 4-5 seconds. Green\blue circle disappeared and 
Icarus never started.

At this point I don't remember exact sequence of steps but: I ran install kit 
and Removed Gallio and did reinstall of Gallio. 1st time no reboot, 2nd time 
did reboot of laptop.

I tried to run Icarus several times but the same behavior was repeated: 
green\blue circle for 3-5 seconds, circle disappears and then no Icarus.

Ed

Original issue reported on code.google.com by FlyFloat...@gmail.com on 17 Feb 2011 at 9:10

GoogleCodeExporter commented 8 years ago
Uninstalled 3.2 708 and installed 3.2 Build 679 (64-bit). When I tried to start 
Icarus the same behavior is exhibitedL green\blue circle for 3-5 seconds and 
then circle disappears and Icarus is not started. I looked at the event logs. 
Only entries I can find are related to Gallio are install and uninstall entries.

Original comment by FlyFloat...@gmail.com on 17 Feb 2011 at 9:43

GoogleCodeExporter commented 8 years ago
Any suggestions for how to get some version of Gallio working on my Windows 7 
box?

Last night I uninstalled Gallio (I had to do Remove function twice in a row in 
order for uninstall to work), rebooted laptop, downloaded and installed 3.1.397 
64 (same version I had on my old laptop except used 64-bit for new laptop).

When I click on Icarus green\blue circle appears for 3-5 seconds and then 
disappears.

Ed

Original comment by FlyFloat...@gmail.com on 18 Feb 2011 at 4:21

GoogleCodeExporter commented 8 years ago
I have a few suggestions, but they are all complete guesswork :(

1) Uninstall, and then check that there aren't any traces of an old version 
hanging around (Program Files, registry, user data) before re-installing.

2) Is there anything in the event viewer? Icarus creates a "black box" log if 
an error occurs at start up (should be in %appdata%\Galli\Icarus\BlackBox.log), 
if that doesn't exist then it's a .net problem.

Original comment by grahamr...@gmail.com on 26 Feb 2011 at 1:18

GoogleCodeExporter commented 8 years ago
I could not find a BlackBox.log file.

I thought I checked the event logs when I initially reported the problem and I 
did not see any entries at that time. Today I tried to start Icarus and checked 
the event logs again and here are some of the entries:

Beginning a Windows Installer transaction: 
{23C76F59-7982-48A1-8415-EC4B51D04A8C}. Client Process Id: 8196.

Ending session 0 started ‎2011‎-‎02‎-‎28T13:26:42.720731600Z.

Starting session 0 - ‎2011‎-‎02‎-‎28T13:27:00.537750700Z.

This entry is repeated about 8-10 times:

Detection of product '{23C76F59-7982-48A1-8415-EC4B51D04A8C}', feature 
'feat_Gallio.VisualStudio.Tip.VS100', component 
'{FDCF4625-ADE5-4639-A562-8E35CAF996C7}' failed.  The resource '' does not 
exist.

Original comment by FlyFloat...@gmail.com on 28 Feb 2011 at 1:36

GoogleCodeExporter commented 8 years ago
I reinstalled 3.2.708. I noticed the "Updating Visual Studio 2008\2010 
Registration" parts of the install required over a minute each (guess). In the 
event logs are severl entries like:

Error in Template (c:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\ItemTemplates\Web\VisualBasic\1033\AdoNetEntityDataModelVB_ASPNE
T.zip), file (ModelObjectItemVB_ASPNET.vstemplate). Invalid template element 
(TemplateID) value 
(Microsoft.Data.Entity.Design.VSTemplate.ModelObjectItemVB_ASPNET). 

Error in Template (c:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\ItemTemplates\Web\VisualBasic\1033\AdoNetDataServiceVBWebsite.zi
p), file (WebDataService.vstemplate).  Unknown attribute (_locID). 

Error in Template (c:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\ProjectTemplates\CSharp\Windows\1033\WPFBrowserApplication.zip),
 file (csWPFBrowserApplication.vstemplate).  Unknown element 
(EnableEditOfLocationField).  Parsing will attempt to recover. 

Error in Template (c:\Program Files (x86)\Microsoft Visual Studio 
9.0\Common7\IDE\ItemTemplates\Web\CSharp\1033\AdoNetEntityDataModelCSharp_ASPNET
.zip), file (ModelObjectItemCS_ASPNET.vstemplate). Invalid template element 
(TemplateID) value 
(Microsoft.Data.Entity.Design.VSTemplate.ModelObjectItemCS_ASPNET). 

Original comment by FlyFloat...@gmail.com on 28 Feb 2011 at 1:56

GoogleCodeExporter commented 8 years ago
I installed 3.2.750. I experience the same behavior. I try to start Icarus Test 
Runner. The green circle spins for several seconds and then disappears.

Anyone who can help solve this problem?

Thanks,

Ed

Original comment by FlyFloat...@gmail.com on 17 Mar 2011 at 3:04

GoogleCodeExporter commented 8 years ago
Occured for me as well.
I had 3.3.456.0 installed and working.
Upgraded to 3.4.14.0 and it stopped working.
Attempted reverting back to 3.3.456.0 and it still will not work.

I had to delete all the data in %appdata%\Local\Gallio, %appdata%\Roaming\Gallio

Re-installed.  Icarus now starts.

Original comment by br...@brianandsherri.com on 23 Aug 2012 at 5:37

GoogleCodeExporter commented 8 years ago
https://code.google.com/p/mb-unit/issues/detail?id=817#c7
This is worked!
Thanks!

Original comment by BceXopoL...@gmail.com on 29 Nov 2013 at 12:21

GoogleCodeExporter commented 8 years ago
I had this issue. Looking in the blackbox log the gallio.settings file was 
corrupt:

Unhandled exception reported at: 27/05/2015 18:00:59
An exception occurred while loading Icarus settings file.

An exception occurred while loading Icarus settings file.
System.InvalidOperationException: There is an error in XML document (1, 1). 
---> System.Xml.XmlException: '.', hexadecimal value 0x00, is an invalid 
character. Line 1, position 1.
LineNumber: 1
LinePosition: 1
SourceUri: 
file:///C:/Users/RazorTest/AppData/Roaming/Gallio/Icarus/Icarus.settings
HResult: -2146232000
   at System.Xml.XmlTextReaderImpl.Throw(String res, String[] args)
   at System.Xml.XmlTextReaderImpl.ParseRootLevelWhitespace()
   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()
   at System.Xml.XmlReader.MoveToContent()
   at Microsoft.Xml.Serialization.GeneratedAssembly.XmlSerializationReader1.Read10_settings()
   --- End of inner exception stack trace ---
HResult: -2146233079
   at System.Xml.Serialization.XmlSerializer.Deserialize(XmlReader xmlReader, String encodingStyle, XmlDeserializationEvents events)
   at Gallio.Common.Xml.DefaultXmlSerializer.LoadFromXml[T](String filename) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Xml\DefaultXmlSerializer.cs:line 54
   at Gallio.Icarus.Controllers.OptionsController.Load()
Reported by: 
UnhandledExceptionPolicy
   at Gallio.Runtime.Extensibility.ObjectFactory.CreateInstance() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 87
   at Gallio.Runtime.Extensibility.SingletonHandlerFactory.SingletonHandler.Activate() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\SingletonHandlerFactory.cs:line 56
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponent() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 151
   at Gallio.Runtime.Extensibility.DefaultObjectDependencyResolver.ResolveDependencyByServiceLocation(String parameterName, Type parameterType) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\DefaultObjectDependencyResolver.cs:line 166
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ComponentDependencyResolver.ResolveDependency(String parameterName, Type parameterType, String configurationArgument) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 218
   at Gallio.Runtime.Extensibility.ObjectFactory.ResolveDependency(String parameterName, Type parameterType, Boolean isOptional) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 162
   at Gallio.Runtime.Extensibility.ObjectFactory.<ResolveRequiredDependencies>b__2(ParameterInfo parameter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 125
   at Gallio.Common.Collections.GenericCollectionUtils.ConvertAndCopyAll[TInput,TOutput](ICollection`1 input, IList`1 output, Converter`2 converter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Collections\GenericCollectionUtils.cs:line 52
   at Gallio.Common.Collections.GenericCollectionUtils.ConvertAllToArray[TInput,TOutput](ICollection`1 input, Converter`2 converter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Collections\GenericCollectionUtils.cs:line 86
   at Gallio.Runtime.Extensibility.ObjectFactory.CreateInstance() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 87
   at Gallio.Runtime.Extensibility.SingletonHandlerFactory.SingletonHandler.Activate() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\SingletonHandlerFactory.cs:line 56
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponent() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 151
   at Gallio.Runtime.Extensibility.DefaultObjectDependencyResolver.ResolveDependencyByServiceLocation(String parameterName, Type parameterType) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\DefaultObjectDependencyResolver.cs:line 166
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ComponentDependencyResolver.ResolveDependency(String parameterName, Type parameterType, String configurationArgument) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 218
   at Gallio.Runtime.Extensibility.ObjectFactory.ResolveDependency(String parameterName, Type parameterType, Boolean isOptional) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 162
   at Gallio.Runtime.Extensibility.ObjectFactory.<ResolveRequiredDependencies>b__2(ParameterInfo parameter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 125
   at Gallio.Common.Collections.GenericCollectionUtils.ConvertAndCopyAll[TInput,TOutput](ICollection`1 input, IList`1 output, Converter`2 converter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Collections\GenericCollectionUtils.cs:line 52
   at Gallio.Common.Collections.GenericCollectionUtils.ConvertAllToArray[TInput,TOutput](ICollection`1 input, Converter`2 converter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Collections\GenericCollectionUtils.cs:line 86
   at Gallio.Runtime.Extensibility.ObjectFactory.CreateInstance() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 87
   at Gallio.Runtime.Extensibility.SingletonHandlerFactory.SingletonHandler.Activate() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\SingletonHandlerFactory.cs:line 56
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponent() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 151
   at Gallio.Runtime.Extensibility.DefaultObjectDependencyResolver.ResolveDependencyByServiceLocation(String parameterName, Type parameterType) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\DefaultObjectDependencyResolver.cs:line 166
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ComponentDependencyResolver.ResolveDependency(String parameterName, Type parameterType, String configurationArgument) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 218
   at Gallio.Runtime.Extensibility.ObjectFactory.ResolveDependency(String parameterName, Type parameterType, Boolean isOptional) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 162
   at Gallio.Runtime.Extensibility.ObjectFactory.<ResolveRequiredDependencies>b__2(ParameterInfo parameter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 125
   at Gallio.Common.Collections.GenericCollectionUtils.ConvertAndCopyAll[TInput,TOutput](ICollection`1 input, IList`1 output, Converter`2 converter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Collections\GenericCollectionUtils.cs:line 52
   at Gallio.Common.Collections.GenericCollectionUtils.ConvertAllToArray[TInput,TOutput](ICollection`1 input, Converter`2 converter) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Common\Collections\GenericCollectionUtils.cs:line 86
   at Gallio.Runtime.Extensibility.ObjectFactory.CreateInstance() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ObjectFactory.cs:line 87
   at Gallio.Runtime.Extensibility.SingletonHandlerFactory.SingletonHandler.Activate() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\SingletonHandlerFactory.cs:line 56
   at Gallio.Runtime.Extensibility.ComponentDescriptor.ResolveComponent() in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\ComponentDescriptor.cs:line 151
   at Gallio.Runtime.Extensibility.RegistryServiceLocator.ResolveAllImpl[TService](Type serviceType) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\Extensibility\RegistryServiceLocator.cs:line 168
   at Gallio.Icarus.IcarusProgram.LoadPackages()
   at Gallio.Icarus.IcarusProgram.RunImpl(String[] args)
   at Gallio.Runtime.ConsoleSupport.ConsoleProgram`1.Run(IRichConsole console, String[] args) in c:\Server\Projects\MbUnit v3.3\Work\src\Gallio\Gallio\Runtime\ConsoleSupport\ConsoleProgram.cs:line 198
   at Gallio.Icarus.IcarusProgram.Main(String[] args)

I would suggest adding a catch for this and maybe give users to open to 
ignore/delete on load, or try stripping out invalid chars. That way people 
aren't stuck pulling their hair out :).

Original comment by bittebr...@googlemail.com on 27 May 2015 at 5:12