[Fusioninventory-devel] UTF-8 issues
Denis Linvinus
linvinus at gmail.com
Tue Aug 3 15:55:05 UTC 2010
2010/8/3 Gonéri Le Bouder <goneri at rulezlan.org>
> 2010/8/1 Denis Linvinus <linvinus at gmail.com>:
> > 2010/8/1 Gonéri Le Bouder <goneri at rulezlan.org>
> Ok, so I fixed most of the UTF-8 issues thanks to the RDP access to
> your Russian Windows (thank you!).
> It remains a strange problem with the software list:
> http://nana.rulezlan.org/~goneri/ocsreport-utf8.png<http://nana.rulezlan.org/%7Egoneri/ocsreport-utf8.png>
>
> What I do (and Why I don't understand):
> I get the standard code page from the registry from
> HKEY_LOCAL_MACHINE\System\CurrentControlSet\control\Nls\Codepage\ACP.
> I use it to do ACP → UTF8 conversion on every string I grab from the
> registry. The XML file looks OK! I wonder if OCS suppose I use latin1
> and try to do some latin1 → UTF8 conversion in my back ?
>
> Any opinion? The XML file is avalaible there:
> http://nana.rulezlan.org/~goneri/russian-linvinus.xml<http://nana.rulezlan.org/%7Egoneri/russian-linvinus.xml>
As i can see in your xml, software name is ok, i suppose that problem in
your ocs inventory server.
>
>
> There is still a lot of warnings about UTF-8, I will fixe them
> tomorrow. You can download the freshly built installer there:
> http://prebuilt.fusioninventory.org/devel/windows-i386/
>
>
I run new fusion agent on my system, with option --stdout, in result file i
see not only xml, but also some variables bumps.
Is it normal?
$VAR1 = {
'VariableValue' => '%SystemRoot%\\system32\\cmd.
exe',
'Name' => 'ComSpec',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' =>
'%SystemRoot%\\system32;%SystemRoot%;%SystemRoot%\\System32\\Wbem;C:\\Program
Files\\FusionInventory-Agent\\perl\\bin;C:\\Program
Files\\FusionInventory-Agent\\c\\bin',
'Name' => 'Path',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => '%SystemRoot%',
'Name' => 'windir',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => 'NO',
'Name' => 'FP_NO_HOST_CHECK',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => 'Windows_NT',
'Name' => 'OS',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => 'x86',
'Name' => 'PROCESSOR_ARCHITECTURE',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => '6',
'Name' => 'PROCESSOR_LEVEL',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => 'x86 Family 6 Model 6 Stepping 3,
AuthenticAMD',
'Name' => 'PROCESSOR_IDENTIFIER',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => '0603',
'Name' => 'PROCESSOR_REVISION',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => '1',
'Name' => 'NUMBER_OF_PROCESSORS',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' =>
'.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH',
'Name' => 'PATHEXT',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => '%SystemRoot%\\TEMP',
'Name' => 'TEMP',
'SystemVariable' => 1
};
$VAR1 = {
'VariableValue' => '%SystemRoot%\\TEMP',
'Name' => 'TMP',
'SystemVariable' => 1
};
<?xml version="1.0" encoding="UTF-8"?>
<REQUEST>
<CONTENT>
Export to ocs server seems ok.
But now i have double records:
Added a component *:* "Qumranet ParaVirtualized Ethernet Adapter - Минипорт
планировщика пакетов"
Added a component *:* "Qumranet ParaVirtualized Ethernet Adapter - Минипорт
планировщика пакетов"
and
Added a component *:* "Минипорт планировщика пакетов"
Added a component *:* "Минипорт планировщика пакетов"
Qumranet ParaVirtualized Ethernet Adapter - it is my real physical adapter
in virtual machine (i use qemu with kvm)
On my system i have only one active network card.
C:\Program Files\FusionInventory-Agent\perl\bin>ipconfig /all
Настройка протокола IP для Windows
Имя компьютера . . . . . . . . . : COMP1
Основной DNS-суффикс . . . . . . :
Тип узла. . . . . . . . . . . . . : гибридный
IP-маршрутизация включена . . . . : нет
WINS-прокси включен . . . . . . . : нет
Порядок просмотра суффиксов DNS . : domain.local.
Подключение по локальной сети 2 - Ethernet адаптер:
DNS-суффикс этого подключения . . : domain.local.
Описание . . . . . . . . . . . . : Qumranet ParaVirtualized
Ethernet Adapter
Физический адрес. . . . . . . . . : EA-82-A4-DC-A4-E7
Dhcp включен. . . . . . . . . . . : да
Автонастройка включена . . . . . : да
IP-адрес . . . . . . . . . . . . : 10.10.3.38
Маска подсети . . . . . . . . . . : 255.255.255.0
Основной шлюз . . . . . . . . . . : 10.10.3.10
DHCP-сервер . . . . . . . . . . . : 192.168.1.20
DNS-серверы . . . . . . . . . . . : 192.168.1.3
192.168.1.20
Основной WINS-сервер . . . . . . : 192.168.1.20
Аренда получена . . . . . . . . . : 29 июля 2010 г. 6:54:44
Аренда истекает . . . . . . . . . : 3 августа 2010 г. 8:54:44
in Windows Registry also only two different physical adapters
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\NetworkCards\11]
"ServiceName"="{ED34B3BD-D58F-44EB-AFA3-902385D5C925}"
"Description"="Qumranet ParaVirtualized Ethernet Adapter"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows
NT\CurrentVersion\NetworkCards\2]
"ServiceName"="{33D10394-2829-47C3-B25D-6093E344701D}"
"Description"="Realtek RTL8139 Family PCI Fast Ethernet NIC"
Realtek RTL8139 Family PCI Fast Ethernet NIC - it is old network card, was
installed in past but was not deinstalled.
And it do not exist in inventory xml.
I think, for some reason, fusion agent inventory same adapters twice.
By the way, installator freeze on stage "stopping service", if service
already was stopped.
> Please keep the mailing list in copy.
>
> Cheers,
> --
> Gonéri Le Bouder
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/fusioninventory-devel/attachments/20100803/53afef59/attachment-0001.htm>
More information about the Fusioninventory-devel
mailing list