Support Forum: Get Support for Patch My PC Products and Services

Home Updater: Our Free Product for Consumers => Home Updater: General Support and Troubleshooting => Topic started by: TerryWood on May 03, 2025, 09:41:56 AM

Title: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: TerryWood on May 03, 2025, 09:41:56 AM
Hello & Patch My PC

My first post in this forum and I hope someone can help me.

First - Desktop PC Windows 11 Home 64 bit 24H2 OS Build 26100.3775

PMPC Version installed v5.2

I have used PMPC for many years but in the portable version. Some months ago I found that I had changed to the new installed version which has never worked properly. The problem is that whilst the Task in Task Manager runs it does not update the actual software.

I have installed and reinstalled PMPC many times to no avail as well as checked the Task to see if it is running. It appears to Run.

The Log shows an error message as follows - ERROR  System.ArgumentException: The path is empty. (Parameter 'path')

The updater works manually

Could someone advise me how to resolve this problem.

Thank you

Terry




Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: Justin Chalfant (Patch My PC) on May 03, 2025, 12:28:33 PM
Hey Terry, thanks for reaching out and for being a long-time Patch My PC user!

Just to make sure I understand. Are you seeing issues when actually using the tool to update apps, or are you mainly concerned about that log entry showing System.ArgumentException: The path is empty? If it's only that log line but updates are still working when run manually, it might just be a logging quirk or config issue.

If updates aren't running at all unless you manually start them, that's something we'd definitely want to dig into. It could be related to how the scheduled task is set up or permissions.
Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: TerryWood on May 03, 2025, 03:25:38 PM
Hi Justin & Thank you for your response

To be clear:-



1)It appears that the Task runs OK but it doesn't update programs that need updating.

2) I am concerned about the error message in the title because it is not updating and the error message validates what I am saying

2) For example 7Zip is currently on version 19 circa 2003, yet does not update when it appears that the Task has run.

3) I should add that it and others programs have never never updated (including Chrome & Firefox) since I moved from the portable version to the new installed version. So in effect I have been keeping 16 programs updated manually.

I hope this answers your query.

Thank you again

Terry

 

Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: tennisace57 on May 03, 2025, 03:48:13 PM
Terry - This is exactly what I'm experiencing and reported in this post:

https://forum.patchmypc.com/index.php/topic,8685.0.html (https://forum.patchmypc.com/index.php/topic,8685.0.html)
Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: Justin Chalfant (Patch My PC) on May 03, 2025, 09:07:15 PM
We have a repro of this problem and are working on a solution now.
Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: TerryWood on May 04, 2025, 03:14:17 AM
Hi Justin

Thanks for that. I am really pleased. I have been trying to resolve this issue for a long time.

It's much appreciated.

Terry
Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: Justin Chalfant (Patch My PC) on May 04, 2025, 04:58:03 PM
Please try to upgrade to 5.2.0.1, which was released a few hours ago. That should hopefully resolve this for you.
Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: TerryWood on May 04, 2025, 11:13:52 PM
Hello Justin

I have just upgraded to v5.2.0.1 having set 7Zip to version 19 again (not the latest version) and reset the scheduled time of update to 0600hrs UK time. I can confirm that it has updated as a task.

I am doing the same thing again on a later schedule to be absolutely certain.

If it updates again then thank you to you and all those involved for helping resolving this issue. It is a splendid job.

Terry
Title: Re: ERROR System.ArgumentException: The path is empty. (Parameter 'path')
Post by: TerryWood on May 05, 2025, 01:36:41 AM
Hi Justin

As per my previous post a second Task scheduled update has concluded satisfactorily so I think we can say job done.

Thank to you and your team.

Terry