-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Error when press Preview. #21
Comments
Hm... that is odd. That implies it's reading an empty message, though for what reason I cannot be sure. Go to where you installed GtT, and then into the
See what happens. At the very least this should tell us whether it's on the sending or receiving end. |
@trentyarwood Could you create a new issue? That looks like a different problem - while the original one in this issue was in the JSON communication between growler and toaster, yours is an issue in generating the toast content. I also might need to add more logging and get a copy of the received data from you... not sure how a null character is finding its way in there. |
Just a note that Trent's issue was fixed in #22. I'm still waiting for @Rejang-IT-King to respond with more information for this issue. |
I have update to latest v2.0.2 version error message popup. 2018-08-21 08:15:54.166 +08:00 [ERR] Encountered exception, quitting System.ArgumentNullException: Value cannot be null. 2018-08-21 08:17:07.045 +08:00 [ERR] Encountered exception, quitting System.ArgumentNullException: Value cannot be null. Parameter name: value at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at GrowlToToast.Toaster.Program.ShowToast() in C:\Users\User1\Documents\GrowlToToast\src\Toaster\Program.cs:line 63 at GrowlToToast.Toaster.Program.<>c.b__2_0(Options options) in C:\Users\User1\Documents\GrowlToToast\src\Toaster\Program.cs:line 46 2018-08-21 08:21:16.550 +08:00 [ERR] Encountered exception, quitting System.ArgumentNullException: Value cannot be null. Parameter name: value at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings) at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings) at GrowlToToast.Toaster.Program.ShowToast() in C:\Users\User1\Documents\GrowlToToast\src\Toaster\Program.cs:line 63 at GrowlToToast.Toaster.Program.<>c.b__2_0(Options options) in C:\Users\User1\Documents\GrowlToToast\src\Toaster\Program.cs:line 46 |
#21 (comment) |
@Rejang-IT-King Thanks for the update. From your screenshot, you currently have the 2.0.2 Toaster installed but Growler (the plugin) is still on 2.0. Please run GrowlerInstaller again to update the plugin (sorry about the tedious update process, but unfortunately with how Growl handles plugins I can't think of anything easier). With 2.0.1/2.0.2 there's more detailed debug logging. Please follow these updated instructions from a previous comment (updated to enable debug logging with
That should dump what Toaster sees verbatim to the log. Please provide a copy of that log. |
|
Ok, that is incredibly odd. Somehow it's receiving what looks to be valid input ... and then failing to deserialise it? Could you upload the log file directly (attach them to this issue)? I'm wondering if there's an invisible character that ended up in there. I'm working on alternative IPC with #9 now, which might fix this. Still... incredibly odd. |
Thanks for fast responding. Here the log files as you request. |
Update: I have run this command as you suggest #21 (comment) |
There's no invisible characters... so that theory doesn't hold. I assume some of the other entries in between with slightly different errors, e.g. Only other thing I can think of (especially with the other reported issue that Cyrillic doesn't work): are you running non-English Windows? If you are, what language is it? I wonder if the Json library is getting confused by the OS's culture settings - I might need to force it to the invariant culture. |
I run on Windows 10 on English version.
|
Ok, that one worked. I'm just about out of ideas. I'll get #9 sorted and see if that works for you. Thanks for your help debugging and your patience. |
Thanks, hope hear good news from you soon. |
@Rejang-IT-King I've uploaded v2.0.3, which uses a different message passing mechanism. Please try it and see if it works. Don't forget to use GrowlerInstaller to update the plugin. https://github.com/BobVul/GrowlToToast/releases/tag/v2.0.3 |
Yeah! Finally work on Windows 10 when press preview.
…On 21/08/2018 11:56 AM, Bob wrote:
@Rejang-IT-King <https://github.com/Rejang-IT-King> I've uploaded
v2.0.3, which uses a different message passing mechanism. Please try
it and see if it works. Don't forget to use GrowlerInstaller to update
the plugin.
https://github.com/BobVul/GrowlToToast/releases/tag/v2.0.3
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#21 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/AKBjMflRDNQ5bYxljABBc4-fIzDi2Lnqks5uS4UDgaJpZM4TErUR>.
|
Awesome! :) @Rejang-IT-King Don't forget to turn off debug logging, otherwise your log files will grow very quickly. |
Still have errror....
![20180403-164513](https://user-images.githubusercontent.com/10511153/38239110-685ae334-375e-11e8-8ff5-60702d440461.png)
The text was updated successfully, but these errors were encountered: