FIXEDDISK doesn't support chinese in language file

Forums Desktop Info FIXEDDISK doesn't support chinese in language file

This topic contains 13 replies, has 2 voices, and was last updated by Glenn Glenn 1 day, 11 hours ago.

  • Author
    Posts
  • #859 Reply

    chuanqiuu

    Desktop Info version: v1.10.1
    Windows version: Winodws Server 2012 R2 Standard
    Problem: FIXEDDISK doesn’t support chinese in language file

    In chinese language file,if fixeddisk=固定磁盘 %1,then desktopinfo will crash.
    set fixeddisk=English %1 or comment out it will be normal.

  • #860 Reply

    chuanqiuu

    NETWORKADAPTER=网络适配器 %1 doesn’t supoorted also.

  • #862 Reply
    Glenn
    Glenn
    Keymaster

    ok, I can’t reproduce that problem here. can you switch on “log-level=debug” and send me the log file. That might help me.

    • #865 Reply

      chuanqiuu

      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:eeeeee,style:iw,text:Desktop Info by Glenn Delahoy,lid:banner
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:1,color:ffdd99,display:%1[ddd] %2[1.0d] %3[mmm] %4[yyyy]\, %5[1.0a]:%6[2.0d]:%7[2.0d] %5[2.0p]
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:cccccc,style:iw,text:Cpu,lid:processors
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:2,color:22ccee,chart:line linear 100 1 00ff00 2 0000bb,threshold1:1 80 0000ff,threshold2:2 40 0000ff,display:Tot: %1[2.0f]%\, Krnl: %2[2.0f]%\, Queue: %3
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:cccccc,style:iw,text:Top Processes,lid:processes
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:5,display:%1 (pid:%2) %3%
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:10,display:%1 (pid:%2) %3[1.0b]B
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:cccccc,style:iw,text:Memory,lid:memory
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:60,color:ffd0e0,threshold1:3 80 0000FF,display:%1[3.1b]B / %2[3.1b]B (%3% used)
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:5,chart:line log 20 1 00ff00 2 0000bb,threshold1:2 200 0000ff,display:Total: %1\, Hard: %2
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:cccccc,style:iw,text:Process Monitors,lid:process_monitors
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:5,color:88ddff,text:Desktop Info,key:DesktopInfo.exe,display:ws:%1[3.1b]B\, pf:%2[3.1b]B\, f:%3[1.1B]\, cpu:%4%,lid:desktopinfo
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:5,text:Chrome,key:chrome.exe,display:ws:%1[3.1b]B\, pf:%2[3.1b]B\, f:%3[1.1B]\, cpu:%4%,lid:chrome
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:cccccc,style:iw,text:Network,lid:network
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:30,color:eeeeee,operstatus:1,iftype:6 71,display:%2: %8 / %10| tx:%23[1.0B]Bps rx:%24[1.0B]Bps mtu:%5| gw:%17\, dns:%15
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:2,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 1500000 0000ff,threshold2:2 500000 ff0000,text:Wifi Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%Wireless%”,display:R: %BytesReceivedPersec%[3.1k]KiBps\, S: %BytesSentPersec%[3.1k]KiBps\, B: %CurrentBandwidth%[1.0B]B,lid:wifitraffic
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:0,interval:2,chart:line log 22 1 00ff00 2 bb00bb,threshold1:1 1500000 0000ff,threshold2:2 500000 ff0000,text:Ethernet Traffic,namespace:root\cimv2,query:Win32_PerfFormattedData_Tcpip_NetworkInterface where Name like “%xEthernet%”,display:R: %BytesReceivedPersec%[3.1k]KiBps\, S: %BytesSentPersec%[3.1k]KiBps\, B: %CurrentBandwidth%[1.0B]B,lid:ethernettraffic
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,color:cccccc,style:iw,text:Fixed Disks,lid:fixed_disks
      07-11-18 15:19:24:175 DEBUG AddConfItem: active:1,interval:300,color:ffbb77,chart:bar linear 100 7 90,threshold1:7 90 0000FF,count:8,display:%1: %3[1.0B]B/%5[1.0B]B (%7% used),filter:
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:1,interval:5,chart:none log 23 1 00ffff 2 ffff00,threshold1:1 4000000 0000FF,threshold2:2 4000000 0055ff,display:r:%1[3.1b]B/s\, w:%2[3.1b]B/s\, q:%3
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,color:cccccc,style:iw,text:Dates / Times,lid:datestimes
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:1,color:ffdd00,display:%1[ddd] %2[1.0d] %3[mmm] %4[yyyy]\, %5[1.0a]:%6[2.0d]:%7[2.0d] %5[2.0p]
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:3600
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:3600,text:Daylight Savings,namespace:root\cimv2,query:CIM_ComputerSystem,display:Enabled: %EnableDaylightSavingsTime%[b:Yes:No]\, In Effect: %DaylightInEffect%[b:Yes:No],lid:daylightsavings
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:1,display:%1:%2[2.0d]:%3[2.0d]:%4[2.0d]
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,display:%1[ddd] %2 %3[mmm] %4[yyyy]\, %5[2.0d]:%6[2.0d]:%7[2.0d]
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,color:cccccc,style:iw,text:Windows Configuration,lid:windows_config
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,color:88ff88,text:Windows,namespace:root\cimv2,query:Win32_OperatingSystem,display:%caption% (%OSArchitecture%),lid:architecture
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,lid:osbuild
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,lid:servicepack
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,text:Install Date,namespace:root\cimv2,query:Win32_OperatingSystem,display:%InstallDate%,lid:installdate
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:600,tree:0,text:Firewall,key:HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\services\SharedAccess\Parameters\FirewallPolicy\DomainProfile\EnableFirewall,display:%1[b:Active:Not Active],lid:firewall
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:600,tree:0,text:Auto Update,key:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\WindowsUpdate\Auto Update\Results\Install\LastSuccessTime,display:%1,lid:autoupdate
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,interval:600,tree:0,text:UAC Enabled,key:HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Policies\System\EnableLUA,display:%1[b:Enabled:Disabled],lid:uac
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,lid:ieversion
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,lid:directx
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,color:cccccc,style:iw,text:Hardware,lid:hardware
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,color:0099EE,display:%2,lid:oeminfo
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,lid:cputype
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,text:CPU Info,namespace:root\cimv2,query:Win32_Processor,display:Cores:%NumberOfCores%\, Sp:%MaxClockSpeed%MHz\, Cur:%CurrentClockSpeed%MHz,lid:cpuinfo
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,text:Motherboard,namespace:root\cimv2,query:Win32_Baseboard,display:%Manufacturer% %Product%,lid:motherboard
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,text:Bios,namespace:root\cimv2,query:Win32_Bios,display:%Manufacturer% %Version%,lid:Bios
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,text:Audio Controller,namespace:root\cimv2,query:Win32_SoundDevice,display:%Caption%,lid:audio
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:9,namespace:root\cimv2,query:Win32_DisplayConfiguration,set:BitsPerPel,display:%BitsPerPel%,lid:screenres
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,text:Screen Resolution,namespace:root\cimv2,query:Win32_DesktopMonitor where ScreenHeight > 0,display:%ScreenWidth%x%ScreenHeight%x%BitsPerPel%,lid:screenres
      07-11-18 15:19:24:190 DEBUG AddConfItem: active:2,color:cccccc,style:iw,text:software,lid:software
      07-11-18 15:19:24:206 DEBUG AddConfItem: active:2,interval:0,color:11ee11,text:Desktop Info,type:version,file:desktopinfo.exe,display:v%2,lid:desktopinfo

      Desktopinfo won’t display anything on desktop,TaskManager displays the desktopinfo.exe process as 26%.

  • #867 Reply
    Glenn
    Glenn
    Keymaster

    “Desktopinfo won’t display anything on desktop,TaskManager displays the desktopinfo.exe process as 26%.”

    I don’t see anything in there to indicate a problem but there’s clearly something that’s tripping it up.

    set the log-level=debugonerror. This will write a few lines whenever there’s an error. see if this shows up the failure.

    If that doesn’t work then disable every item in the config (just put the # in front to make it a comment) then enable one item at a time until it fails. This will tell us which item is faulty.

    • This reply was modified 6 days, 21 hours ago by Glenn Glenn.
  • #872 Reply

    chuanqiuu

    set the log-level=debugonerror,will not generate log file.
    set “#fixeddisk=固定磁盘 %1” in language file,desktopinfo works.

  • #873 Reply

    chuanqiuu

    I found that Chinese is not support fixeddisk and Nnetworkadapter in language file.

  • #906 Reply
    Glenn
    Glenn
    Keymaster

    ok. can you try setting fixeddisk= to something else. maybe if we can find something that does work, will help me work out why it doesn’t work.

    • #938 Reply

      chuanqiuu

      fixeddisk=English OK
      fixeddisk=Chinese NG

      • #939 Reply
        Glenn
        Glenn
        Keymaster

        Try some different texts:
        fixeddisk=固定磁盘 %1
        fixeddisk=逻辑磁盘 %1
        fixeddisk=硬盘 %1
        fixeddisk=驱动 %1

        try it with and without the %1 part:
        fixeddisk=固定磁盘 %1
        fixeddisk=固定磁盘

        • This reply was modified 4 days, 11 hours ago by Glenn Glenn.
        • #944 Reply

          chuanqiuu

          fixeddisk=固定磁盘 %1 NG
          fixeddisk=逻辑磁盘 %1 NG
          fixeddisk=硬盘 %1 NG
          fixeddisk=驱动 %1 NG

          fixeddisk=固定磁盘 OK
          fixeddisk=FixedDisk %1 OK

          • #945 Reply
            Glenn
            Glenn
            Keymaster

            I installed a VM of Windows 2012 Standard (Chinese) and was able to reproduce the problem. The items with the “%1” in the text cause high cpu.

            • This reply was modified 2 days, 6 hours ago by Glenn Glenn.
          • #952 Reply

            chuanqiuu

            Do you have solution?

  • #958 Reply
    Glenn
    Glenn
    Keymaster

    Yes I have a solution. I’ll post an update hopefully in the next few days.

Reply To: FIXEDDISK doesn't support chinese in language file
Your information:




Do NOT follow this link or you will be banned from the site!