home-assistant.io

Moderator: Telldus

Post Reply
1v4r
Posts: 9
Joined: Fri Mar 17, 2023 9:45 am

home-assistant.io

Post by 1v4r »

Hi. I've set up my TellStick Duo (TSD) on a Windows Server 2008 R2 with SP1 and it is running fine with TellCenter and even connects nicely to Telldus Live.

My problem arises when trying to set up Home Assistant (HA). When starting up HA it logs the following errors:

Code: Select all

15-10-24 05:07:31 homeassistant.components.switch: Error while setting up platform tellstick
Traceback (most recent call last):
  File "c:\python34\lib\site-packages\homeassistant\helpers\entity_component.py", line 134, in _setup_platform
    self.hass, platform_config, self.add_entities, discovery_info)
  File "c:\python34\lib\site-packages\homeassistant\components\switch\tellstick.py", line 34, in setup_platform
    core = telldus.TelldusCore(callback_dispatcher=DirectCallbackDispatcher())
  File "d:\python\lib\tellcore\telldus.py", line 107, in __init__
    self.lib = Library(library_path, callback_dispatcher)
  File "d:\python\lib\tellcore\library.py", line 312, in __init__
    lib = DllLoader.LoadLibrary(name)
  File "c:\python34\lib\ctypes\__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "c:\python34\lib\ctypes\__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 14001] The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail
15-10-24 05:07:31 homeassistant.components.light: Error while setting up platform tellstick
Traceback (most recent call last):
  File "c:\python34\lib\site-packages\homeassistant\helpers\entity_component.py", line 134, in _setup_platform
    self.hass, platform_config, self.add_entities, discovery_info)
  File "c:\python34\lib\site-packages\homeassistant\components\light\tellstick.py", line 27, in setup_platform
    core = telldus.TelldusCore(callback_dispatcher=DirectCallbackDispatcher())
  File "d:\python\lib\tellcore\telldus.py", line 107, in __init__
    self.lib = Library(library_path, callback_dispatcher)
  File "d:\python\lib\tellcore\library.py", line 312, in __init__
    lib = DllLoader.LoadLibrary(name)
  File "c:\python34\lib\ctypes\__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "c:\python34\lib\ctypes\__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 14001] The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail
15-10-24 05:07:31 homeassistant.components.sensor.tellstick: Could not initialize Tellstick.
Traceback (most recent call last):
  File "c:\python34\lib\site-packages\homeassistant\components\sensor\tellstick.py", line 68, in setup_platform
    core = telldus.TelldusCore()
  File "d:\python\lib\tellcore\telldus.py", line 107, in __init__
    self.lib = Library(library_path, callback_dispatcher)
  File "d:\python\lib\tellcore\library.py", line 312, in __init__
    lib = DllLoader.LoadLibrary(name)
  File "c:\python34\lib\ctypes\__init__.py", line 429, in LoadLibrary
    return self._dlltype(name)
  File "c:\python34\lib\ctypes\__init__.py", line 351, in __init__
    self._handle = _dlopen(self._name, mode)
OSError: [WinError 14001] The application has failed to start because its side-by-side configuration is incorrect. Please see the application event log or use the command-line sxstrace.exe tool for more detail
The SXSTrace output looks like this:

Code: Select all

=================
Begin Activation Context Generation.
Input Parameter:
	Flags = 0
	ProcessorArchitecture = AMD64
	CultureFallBacks = en-US;en
	ManifestPath = C:\Windows\system32\TelldusCore.dll
	AssemblyDirectory = C:\Windows\system32\
	Application Config File = 
-----------------
INFO: Parsing Manifest File C:\Windows\system32\TelldusCore.dll.
	INFO: Manifest Definition Identity is (null).
	INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
	INFO: Resolving reference for ProcessorArchitecture amd64.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT.MANIFEST.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.
				INFO: Did not find manifest for culture Neutral.
			INFO: End assembly probing.
	ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

=================
Begin Activation Context Generation.
Input Parameter:
	Flags = 0
	ProcessorArchitecture = AMD64
	CultureFallBacks = en-US;en
	ManifestPath = C:\Windows\system32\TelldusCore.dll
	AssemblyDirectory = C:\Windows\system32\
	Application Config File = 
-----------------
INFO: Parsing Manifest File C:\Windows\system32\TelldusCore.dll.
	INFO: Manifest Definition Identity is (null).
	INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
	INFO: Resolving reference for ProcessorArchitecture amd64.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT.MANIFEST.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.
				INFO: Did not find manifest for culture Neutral.
			INFO: End assembly probing.
	ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.

=================
Begin Activation Context Generation.
Input Parameter:
	Flags = 0
	ProcessorArchitecture = AMD64
	CultureFallBacks = en-US;en
	ManifestPath = C:\Windows\system32\TelldusCore.dll
	AssemblyDirectory = C:\Windows\system32\
	Application Config File = 
-----------------
INFO: Parsing Manifest File C:\Windows\system32\TelldusCore.dll.
	INFO: Manifest Definition Identity is (null).
	INFO: Reference: Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8"
INFO: Resolving reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
	INFO: Resolving reference for ProcessorArchitecture amd64.
		INFO: Resolving reference for culture Neutral.
			INFO: Applying Binding Policy.
				INFO: No publisher policy found.
				INFO: No binding policy redirect found.
			INFO: Begin assembly probing.
				INFO: Did not find the assembly in WinSxS.
				INFO: Attempt to probe manifest at C:\Windows\assembly\GAC_64\Microsoft.VC90.CRT\9.0.21022.8__1fc8b3b9a1e18e3b\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT.MANIFEST.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT\Microsoft.VC90.CRT.DLL.
				INFO: Attempt to probe manifest at C:\Windows\system32\Microsoft.VC90.CRT\Microsoft.VC90.CRT.MANIFEST.
				INFO: Did not find manifest for culture Neutral.
			INFO: End assembly probing.
	ERROR: Cannot resolve reference Microsoft.VC90.CRT,processorArchitecture="amd64",publicKeyToken="1fc8b3b9a1e18e3b",type="win32",version="9.0.21022.8".
ERROR: Activation Context generation failed.
End Activation Context Generation.
I've tried to reinstall the Microsoft Visual C++ 2008 Redistributable package including installing the one it is asking for (9.0.21022) and reinstalled the TelldusCenter 2.1.2 package (that contains Microsoft Visual C++ 2008 Redistributable 9.0.30729.17) and I still get the same side-by-side error (Event 33).

I'm not getting any response from HA about this and this other HA-thread looks dead. Any ideas?
1v4r
Posts: 9
Joined: Fri Mar 17, 2023 9:45 am

Re: home-assistant.io

Post by 1v4r »

I finally figured out the problem. It turned out that the only the Microsoft Visual C++ 2008 Redistributable Package (x86) was installed. As i was running on a amd64 system I needed to install the Microsoft Visual C++ 2008 Redistributable Package (x64) manually. I found the download for the correct version here
http://www.microsoft.com/en-us/download ... x?id=15336.
Post Reply