Problem setting up command line monitoring

Here you are welcome to report any Push2Run bugs you may have encountered

if you know of a workaround, it would be great if you would mention that too
Post Reply
GordThompson
Posts: 18
Joined: Sun Feb 24, 2019 8:47 am

Problem setting up command line monitoring

Post by GordThompson »

FYI, I found this error message in the SessionLog immediately after upgrading to version 4.0.0.0:

Code: Select all

2022-01-28 07:46:58.030 - opening update prompt window
2022-01-28 07:47:26.670 - C:\Users\Deb\AppData\Local\Temp\Push2RunSetup.exe downloaded

2022-01-28 07:47:26.746 - Requesting upgrade

2022-01-28 07:47:29.715 - Automitic update started

2022-01-28 07:47:33.025 - Push2Run version 4.0.0.0 started

2022-01-28 07:47:33.034 - Windows version pre-dates Windows 10

2022-01-28 07:47:33.035 - Windows UAC notify feature is on

2022-01-28 07:47:33.038 - Administrative privileges are enabled

2022-01-28 07:47:33.225 - Problem setting up command line monitoring: System.ArgumentException: The path is not of a legal form.
   at System.IO.Path.NewNormalizePath(String path, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.NormalizePath(String path, Boolean fullCheck, Int32 maxPathLength, Boolean expandShortPaths)
   at System.IO.Path.GetFullPathInternal(String path)
   at System.IO.FileSystemEnumerableIterator`1..ctor(String path, String originalUserPath, String searchPattern, SearchOption searchOption, SearchResultHandler`1 resultHandler, Boolean checkHost)
   at System.IO.Directory.GetFiles(String path, String searchPattern, SearchOption searchOption)
   at -.dje_zSNP7L7A7H4WA2GHQGKGWF_ejd.#=zuNclC8NJ$N8im7V0lg==()
2022-01-28 07:47:33.325 - Current network adapter is Ethernet

2022-01-28 07:47:33.352 - Network status is up
Seems to be related to the first run after upgrade because when I rebooted my sister's machine and Push2Run loaded the message did not re-appear in the SessionLog.

[ … You also may want to fix the spelling of "Automitic" ;) … ]
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Problem setting up command line monitoring

Post by RobLatour »

I will see if I can recreate this error, I haven't seen it before - but perhaps I wasn't looking closely enough.

The typo is now corrected in the release of v4.1 which was just published a couple of minutes ago.

Thanks for pointing both out.
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Problem setting up command line monitoring

Post by RobLatour »

Thanks again for reporting this.

I've found the cause of the problem. The fix for it has now been tested and will be put into the next release (v4.2).

The impact of this bug is that after an automatic upgrade Push2Run's feature which allows you to run cards from the Windows command line will not work until the program is restarted. After the program is restarted it will continue to work.
RobLatour
Site Admin
Posts: 1016
Joined: Mon Feb 19, 2018 11:43 am

Re: Problem setting up command line monitoring

Post by RobLatour »

Version 4.2 was released today and both these issues are now fixed.
Post Reply