[Users] OvirtGuestAgent in windows

Vinzenz Feenstra vfeenstr at redhat.com
Thu May 16 08:13:34 UTC 2013


Hi,



On 05/16/2013 07:55 AM, lof yer wrote:
> I installed it and made it an auto-start service, here is my logfile
>
> Traceback (most recent call last): File 
> "C:\Python27\lib\site-packages\win32\lib\win32serviceutil.py", line 
> 802, in ServiceCtrlHandlerEx self.SvcOtherEx(control, event_type, 
> data) File "C:\ovirt-guest-agent\OVirtGuestService.py", line 95, in 
> SvcOtherEx self.SvcSessionChange(event_type) File 
> "C:\ovirt-guest-agent\OVirtGuestService.py", line 85, in 
> SvcSessionChange self.vdsAgent.sessionLogon() File 
> "C:\ovirt-guest-agent\OVirtAgentLogic.py", line 237, in sessionLogon 
> self.sendUserInfo() File "C:\ovirt-guest-agent\OVirtAgentLogic.py", 
> line 210, in sendUserInfo self.vio.write('active-user', {'name': 
> cur_user}) File "C:\ovirt-guest-agent\VirtIoChannel.py", line 154, in 
> write args = _filter_object(args) File 
> "C:\ovirt-guest-agent\VirtIoChannel.py", line 92, in _filter_object 
> return filt(obj) File "C:\ovirt-guest-agent\VirtIoChannel.py", line 
> 83, in filt return dict(map(filt, o.iteritems())) File 
> "C:\ovirt-guest-agent\VirtIoChannel.py", line 87, in filt return 
> tuple(map(filt, o)) File "C:\ovirt-guest-agent\VirtIoChannel.py", line 
> 89, in filt return _filter_xml_chars(_string_check(o)) File 
> "C:\ovirt-guest-agent\VirtIoChannel.py", line 51, in _string_check 
> str.encode(sys.stdout.encoding, 'strict') TypeError: encode() argument 
> 1 must be string, not None
Thanks for reporting. We have already a BZ for this and it should be now 
already resolved on the master branch. https://bugzilla.redhat.com/962667

Sorry for the inconvenience, I have unfortunately not tested the patch 
set as service and only from the command line. I learn from that that I 
always should test it as service.

-- 
Regards,

Vinzenz Feenstra | Senior Software Engineer
RedHat Engineering Virtualization R & D
Phone: +420 532 294 625
IRC: vfeenstr or evilissimo

Better technology. Faster innovation. Powered by community collaboration.
See how it works at redhat.com




More information about the Users mailing list