rodneyviana / ODSyncService

OneDrive service/DLL for Sync State
MIT License
93 stars 26 forks source link

<ERROR>No status text found #35

Open memphisraynz opened 2 years ago

memphisraynz commented 2 years ago

LocalPath : C:\Users*user*company*\WT - Projects - Documents UserSID : S-1-5-***-24128 UserName : username DisplayName : WT - Projects - Documents ServiceType : Business1 StatusString : No status text found

I get the above error on a couple of libraries. The libraries do not have any issues syncing. OneDrive client is showing no errors. I am using DLL version 1.0.7796.25985

ahardylaniertech commented 2 years ago

I also have this issue on SOME machines and not on others. The version of OD and onedrivelib.dll are identical on all machines.

OneDriveLib.dll version: 1.0.7796.25985 OneDrive version: 21.129.0627.0002 (64-bit)

One will report this: LocalPath : C:\Users\\OneDrive - Lanier Technical College UserSID : UserName : LANIERTECH\ DisplayName : OneDrive - Lanier Technical College ServiceType : Business1 StatusString : Up to date

And the other this: LocalPath : C:\Users\\OneDrive - laniertech.edu UserSID : UserName : LANIERTECH\ DisplayName : OneDrive - laniertech.edu ServiceType : Business1 StatusString : No status text found

They are both talking to the same tenant. Not sure why they would appear with different display names or folder names?

slee-ovron commented 2 years ago

Same problem as well. Started appearing around early Oct 21 with me. Anyone found a work around?

rodneyviana commented 2 years ago

The icons must be visible in the taskbar to the user to work.

shuantsu commented 2 years ago

It was hapenning for me too, it solved putting the path to the folders I wanted to check, as some of them were on demand

Get-ODStatus -ByPath "$($env:OneDrive)\GAMES"

rodneyviana commented 2 years ago

Tell me more about the operating system information (version, language, etc)

shuantsu commented 2 years ago
------------------
System Information
------------------
      Time of this report: 12/16/2021, 15:03:04
         Operating System: Windows 10 Home 64-bit (10.0, Build 19043) (19041.vb_release.191206-1406)
                 Language: Portuguese (Regional Setting: Portuguese)
      System Manufacturer: Gigabyte Technology Co., Ltd.
             System Model: H61M-S2-B3
                     BIOS: Award Modular BIOS v6.00PG (type: BIOS)
                Processor: Intel(R) Core(TM) i5-3570 CPU @ 3.40GHz (4 CPUs), ~3.7GHz
                   Memory: 8192MB RAM
      Available OS Memory: 8176MB RAM
                Page File: 8040MB used, 3591MB available
              Windows Dir: C:\Windows
          DirectX Version: DirectX 12
      DX Setup Parameters: Not found
         User DPI Setting: 96 DPI (100 percent)
       System DPI Setting: 96 DPI (100 percent)
          DWM DPI Scaling: Disabled
                 Miracast: Available, with HDCP
Microsoft Graphics Hybrid: Not Supported
 DirectX Database Version: 1.0.8
           DxDiag Version: 10.00.19041.0928 64bit Unicode
MartijnAtGithub commented 2 years ago

I see this same problem:

LocalPath 1 = C:\Users\UserName\OneDrive - OrgName StatusString 1 = De wijzigingen in een Office-bestand zijn niet opgeslagen DisplayName 1 = OneDrive - OrgName

LocalPath 2 = C:\Users\UserName\OrgName\Team Communicatie - Documenten StatusString 2 = <ERROR>No status text found DisplayName 2 = Team Communicatie - Document

Powershell code:

    [array]$ODStatusArray = Get-ODStatus -type Business1

    $ODStatusIndex = 1
    if ($ODStatusArray)
    {
        WriteToLog "Status info by DLL that reads OneDrive systray information:"
        ForEach ($ODStatus in $ODStatusArray)
        {
            WriteToLog "Status $ODStatusIndex :"
            WriteToLog "> LocalPath $ODStatusIndex = $($ODStatus.LocalPath)"
            WriteToLog "> StatusString $ODStatusIndex = $($ODStatus.StatusString)"
            WriteToLog "> DisplayName $ODStatusIndex = $($ODStatus.DisplayName)"
            $ODStatusIndex++
        }

        return $ODStatusArray
    }

Sometimes the script logs another type of error; for example:

<ERROR>Status not found for type [site name]

Is it possible to fix this?