rodneyviana / ODSyncService

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

Insider updates seem to have killed ability to read statuses #37

Open LagunaJim opened 1 year ago

LagunaJim commented 1 year ago

Hi. I'm running Insider Dev releases, currently 25211. I received a staged updated to the system tray tonight and since then Get-ODStatus returns:

      <ERROR>Status not found for type [OneDrive - Microsoft 365]

..regardless of the actual status of OneDrive, or whether OneDrive is even running or not.

Not sure where you were picking up the status from - it would seem perhaps you were getting it from the onedrive systray icon?

Thought you'd want to know. I appreciate you - I've been using your work for a long time to launch OneDrive let it sync and then terminate when it's done. If only they'd add a command-line switch like "onedrive /synconce"..

Thanks! /jim

LagunaJim commented 1 year ago

Here's a log file:

2022-10-11T16:24:54 Information Is Interactive: True, Is UAC Enabled: True, Is Elevated: False 2022-10-11T16:24:54 Information Testing CLSID: {xxxxxxxxxxxxxxxxx-c78f2274a524}, Path: D:\OneDrive - Microsoft 365, HR=0x0 2022-10-11T16:24:54 Information Testing Type: Native.IIconError [xxxxxxxxxxxxxxxx-c78f2274a524], Path: D:\OneDrive - Microsoft 365: False 2022-10-11T16:24:54 Information Testing CLSID: {xxxxxxxxxxxxxxxxxxx-c78f2274a524}, Path: D:\OneDrive - Microsoft 365, HR=0x0 2022-10-11T16:24:54 Information Testing CLSID: {yyyyyyyyyyyyyyyyy-7085ba96da5a}, Path: D:\OneDrive - Microsoft 365, HR=0x0 2022-10-11T16:24:54 Information Testing Type: Native.IIconUpToDate [yyyyyyyyyyyyyy-7085ba96da5a], Path: D:\OneDrive - Microsoft 365: True 2022-10-11T16:24:54 Information Testing CLSID: {f241c880-6982-4ce5-8cf7-7085ba96da5a}, Path: D:\OneDrive - Microsoft 365, HR=0x0 2022-10-11T16:24:54 Information Guid Type being tested is '00000000-0000-0000-0000-000000000000'

rodneyviana commented 7 months ago

Try this new version: https://github.com/rodneyviana/ODSyncUtil/

LagunaJim commented 7 months ago

Thank you so much for working on this!

Sadly this is the output I get – I have both files on my desktop. Ran with and without admin privileges. OneDrive is running on Win11x64. /jim

[A blue screen with red and white text Description automatically generated]

From: Rodney Viana @.> Sent: Monday, January 29, 2024 4:49 PM To: rodneyviana/ODSyncService @.> Cc: Jim Dorf @.>; Author @.> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.**@.>>

LagunaJim commented 7 months ago

FYI, running odsyncutil.exe yields the following output:

[A computer screen shot of a computer code Description automatically generated]

From: Rodney Viana @.> Sent: Monday, January 29, 2024 4:49 PM To: rodneyviana/ODSyncService @.> Cc: Jim Dorf @.>; Author @.> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.**@.>>

LagunaJim commented 7 months ago

Ok, so you had the line commented out with a #

& $exeName | Tee-Object -Variable output

^--- this

I’d like to suppress the output stream and just see it formatted – how can I modify the ps1 for that?

Thanks!

From: Jim Dorf Sent: Monday, January 29, 2024 6:25 PM To: rodneyviana/ODSyncService @.***> Subject: RE: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

FYI, running odsyncutil.exe yields the following output:

[A computer screen shot of a computer code Description automatically generated]

From: Rodney Viana @.**@.>> Sent: Monday, January 29, 2024 4:49 PM To: rodneyviana/ODSyncService @.**@.>> Cc: Jim Dorf @.**@.>>; Author @.**@.>> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.**@.>>

rodneyviana commented 7 months ago

I thought It was doing this already. I will check it tomorrow and fix it if necessary

Get Outlook for iOShttps://aka.ms/o0ukef


From: LagunaJim @.> Sent: Monday, January 29, 2024 9:03:33 PM To: rodneyviana/ODSyncService @.> Cc: Comment @.***> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Ok, so you had the line commented out with a #

& $exeName | Tee-Object -Variable output

^--- this

I’d like to suppress the output stream and just see it formatted – how can I modify the ps1 for that?

Thanks!

From: Jim Dorf Sent: Monday, January 29, 2024 6:25 PM To: rodneyviana/ODSyncService @.***> Subject: RE: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

FYI, running odsyncutil.exe yields the following output:

[A computer screen shot of a computer code Description automatically generated]

From: Rodney Viana @.**@.>> Sent: Monday, January 29, 2024 4:49 PM To: rodneyviana/ODSyncService @.**@.>> Cc: Jim Dorf @.**@.>>; Author @.**@.>> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.**@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915990093 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGT5MASBSV3IDGA5MAQ5QZ3YRBPILBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVA4TCMBRGY2DCOECUR2HS4DFUVUXG43VMWSXMYLMOVS2UMJTHE2TOMRZGE2DLJ3UOJUWOZ3FOKTGG4TFMF2GK. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

rodneyviana commented 7 months ago

The issue is resolved in the latest version: 1.0.1.5000

Get Outlook for iOShttps://aka.ms/o0ukef


From: LagunaJim @.> Sent: Monday, January 29, 2024 9:03:33 PM To: rodneyviana/ODSyncService @.> Cc: Comment @.***> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Ok, so you had the line commented out with a #

& $exeName | Tee-Object -Variable output

^--- this

I’d like to suppress the output stream and just see it formatted – how can I modify the ps1 for that?

Thanks!

From: Jim Dorf Sent: Monday, January 29, 2024 6:25 PM To: rodneyviana/ODSyncService @.***> Subject: RE: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

FYI, running odsyncutil.exe yields the following output:

[A computer screen shot of a computer code Description automatically generated]

From: Rodney Viana @.**@.>> Sent: Monday, January 29, 2024 4:49 PM To: rodneyviana/ODSyncService @.**@.>> Cc: Jim Dorf @.**@.>>; Author @.**@.>> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.**@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915990093 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGT5MASBSV3IDGA5MAQ5QZ3YRBPILBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVA4TCMBRGY2DCOECUR2HS4DFUVUXG43VMWSXMYLMOVS2UMJTHE2TOMRZGE2DLJ3UOJUWOZ3FOKTGG4TFMF2GK. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

LagunaJim commented 7 months ago

Thanks it’s great now.

One question: you suggest looking at the “iconuri” file for status/color details. Where can I find this?

Thanks again for updating this project! /jim

On Jan 29, 2024, at 4:48 PM, Rodney Viana @.***> wrote:



Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.***>

rodneyviana commented 7 months ago

Check the field IconUri. The file name, at the very end, will tell you the state. CloudIconSynced.svg means it is Synced.

Get Outlook for iOShttps://aka.ms/o0ukef


From: LagunaJim @.> Sent: Tuesday, January 30, 2024 2:01:09 PM To: rodneyviana/ODSyncService @.> Cc: Comment @.***> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Thanks it’s great now.

One question: you suggest looking at the “iconuri” file for status/color details. Where can I find this?

Thanks again for updating this project! /jim

On Jan 29, 2024, at 4:48 PM, Rodney Viana @.***> wrote:



Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.***>

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1917793209 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGT5MAUXDOFT3GXE4PFCSA3YRFGQNBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVA4TCMBRGY2DCOECUR2HS4DFUVUXG43VMWSXMYLMOVS2UMJTHE2TOMRZGE2DLJ3UOJUWOZ3FOKTGG4TFMF2GK. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

LagunaJim commented 6 months ago

Hello. Just want to say thanks once more for picking this project back up.

I prefer not to leave OneDrive open except for when syncing four times a day via scheduled task.

I’m using only your executable – I parse it’s output once every second to determine when OneDrive is in a consistent “OneDrive” (synced) state and then shut OneDrive down.

Best wishes! /jim

From: Rodney Viana @.> Sent: Tuesday, January 30, 2024 12:21 PM To: rodneyviana/ODSyncService @.> Cc: Jim Dorf @.>; Author @.> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Check the field IconUri. The file name, at the very end, will tell you the state. CloudIconSynced.svg means it is Synced.

Get Outlook for iOShttps://aka.ms/o0ukef


From: LagunaJim @.<mailto:@.>> Sent: Tuesday, January 30, 2024 2:01:09 PM To: rodneyviana/ODSyncService @.<mailto:@.>> Cc: Comment @.<mailto:@.>> Subject: Re: [rodneyviana/ODSyncService] Insider updates seem to have killed ability to read statuses (Issue #37)

Thanks it’s great now.

One question: you suggest looking at the “iconuri” file for status/color details. Where can I find this?

Thanks again for updating this project! /jim

On Jan 29, 2024, at 4:48 PM, Rodney Viana @.<mailto:@.>> wrote:



Try this new version: https://github.com/rodneyviana/ODSyncUtil/

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1915848190, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOO2HDQZP2RXKQ6KCPLYRA7PHAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJVHA2DQMJZGA. You are receiving this because you authored the thread.Message ID: @.<mailto:@.>>

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1917793209 or unsubscribehttps://github.com/notifications/unsubscribe-auth/AGT5MAUXDOFT3GXE4PFCSA3YRFGQNBFKMF2HI4TJMJ2XIZLTSOBKK5TBNR2WLJDUOJ2WLJDOMFWWLO3UNBZGKYLEL5YGC4TUNFRWS4DBNZ2F6YLDORUXM2LUPGBKK5TBNR2WLJDUOJ2WLJDOMFWWLLTXMF2GG2C7MFRXI2LWNF2HTAVFOZQWY5LFUVUXG43VMWSG4YLNMWVXI2DSMVQWIX3UPFYGLLDTOVRGUZLDORPXI6LQMWWES43TOVSUG33NNVSW45FGORXXA2LDOOJIFJDUPFYGLKTSMVYG643JORXXE6NFOZQWY5LFVA4TCMBRGY2DCOECUR2HS4DFUVUXG43VMWSXMYLMOVS2UMJTHE2TOMRZGE2DLJ3UOJUWOZ3FOKTGG4TFMF2GK. You are receiving this email because you commented on the thread.

Triage notifications on the go with GitHub Mobile for iOShttps://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Androidhttps://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.

— Reply to this email directly, view it on GitHubhttps://github.com/rodneyviana/ODSyncService/issues/37#issuecomment-1917825745, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AHBINOP5M3NFQQWDTD4WNW3YRFI2FAVCNFSM6AAAAAAQ4HYZW6VHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXHAZDKNZUGU. You are receiving this because you authored the thread.Message ID: @.**@.>>