bfir3 114 Posted April 16, 2016 Share Posted April 16, 2016 (edited) Having trouble running this, getting this message on launch: System.NullReferenceException: Object reference not set to an instance of an object. at EPK.LoginPage.VB$StateMachine_2_ShowUserList.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state) The app still shows in the tasktray and I can open it to configure settings, however I can't find where to setup my Emby account, and the test e-mail fails. edit: I get this on test send: System.NullReferenceException: Object reference not set to an instance of an object. at EPK.EmailClient.VB$StateMachine_0_Send.MoveNext() --- End of stack trace from previous location where exception was thrown --- at System.Runtime.CompilerServices.AsyncMethodBuilderCore.<ThrowAsync>b__0(Object state) Edited April 16, 2016 by bfir3 Link to comment Share on other sites More sharing options...
chef 3749 Posted April 16, 2016 Author Share Posted April 16, 2016 Sorry about that @@bfir3 I will look at fixing this up. It got away from me. Once you log in, this app will use that Libraray to gather information about new media items. Currently it will only use one Libraray for information at a time. I'll get back to you shortly with a fix for that error. Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted April 16, 2016 Share Posted April 16, 2016 (edited) I cant seem to get it to work at all now Edited April 16, 2016 by b0dyr0ck2006 Link to comment Share on other sites More sharing options...
Happy2Play 8332 Posted April 16, 2016 Share Posted April 16, 2016 Works fine for me using Hotmail/Outlook. Link to comment Share on other sites More sharing options...
Pais 115 Posted April 17, 2016 Share Posted April 17, 2016 I cant seem to get it to work at all now I'm also getting the same thing using the latest beta server. Link to comment Share on other sites More sharing options...
Happy2Play 8332 Posted April 18, 2016 Share Posted April 18, 2016 @@b0dyr0ck2006, @@Pais, Have you verified your information is being saved in the Settings.xml? Link to comment Share on other sites More sharing options...
fredg89 7 Posted May 9, 2016 Share Posted May 9, 2016 I'm getting an error as well. Just downloaded and tried to run. Link to comment Share on other sites More sharing options...
chef 3749 Posted May 9, 2016 Author Share Posted May 9, 2016 (edited) I know what this might be. But, I haven't the time to fix it. I will post the .sln here tonight maybe someone wants to look it over. It has some really cool coding features like .net writing HTML dynamically and emailing it out.... When it works of coarse... Edited May 9, 2016 by chef Link to comment Share on other sites More sharing options...
fredg89 7 Posted May 9, 2016 Share Posted May 9, 2016 I know what this might be. But, I haven't the time to fix it. I will post the .sln here tonight maybe someone wants to look it over. It has some really cool coding features like .net writing HTML dynamically and emailing it out.... When it works of coarse... So I'm guessing this has to run on the same computer as the Emby server? I don't see anywhere to change the location of Emby. Link to comment Share on other sites More sharing options...
b0dyr0ck2006 57 Posted May 26, 2016 Share Posted May 26, 2016 are we still using the download from @@chef first post? Link to comment Share on other sites More sharing options...
chef 3749 Posted May 27, 2016 Author Share Posted May 27, 2016 (edited) it should run on any windows computer on your network because it opens as a client connection to the server, but it has to e in the same subnet as the server because it is not setup to run outside your network. Edited May 27, 2016 by chef Link to comment Share on other sites More sharing options...
chef 3749 Posted May 27, 2016 Author Share Posted May 27, 2016 I cant seem to get it to work at all now This error here is because the email address to send the campaign from didn't save properly in the settings.xml Link to comment Share on other sites More sharing options...
Taurec 60 Posted June 8, 2016 Share Posted June 8, 2016 Hello Chef, is it possible to use this program as "stand alone" or to modified this. Because my emby server is running on a qnap at the local network. cu Taurec Link to comment Share on other sites More sharing options...
chef 3749 Posted June 9, 2016 Author Share Posted June 9, 2016 Hello Chef, is it possible to use this program as "stand alone" or to modified this. Because my emby server is running on a qnap at the local network. cu Taurec I would have to convert all the code to CS, because it would have to run on Linux. Does Qnap have the mscorlib in the OS? Link to comment Share on other sites More sharing options...
Taurec 60 Posted June 9, 2016 Share Posted June 9, 2016 Hello Chef, sorry this i don't know. To run cs program, qnap use Mono (dependency for the Emby Server on QNap) (only what i have read is, the mscorlib.dll is used (dependencies referenced) when you create a executeable program with mkbundle via cli (option "–deps”) source: (http://www.mono-project.com/archived/guiderunning_mono_applications/) Maybe Luke can give you the right answer. cu Taurec Link to comment Share on other sites More sharing options...
chef 3749 Posted June 9, 2016 Author Share Posted June 9, 2016 (edited) I think I can make this work. The app needs an overhaul anyway. I was super busy lately and had a couple programs on the go. I can try to convert the code and we can see if will run on Mono. But it will no longer be a form application because I am pretty sure mscorlib doesn't handle any of Windows form. If that makes sense. It may have to run from information in an XML which can be edited. Not pretty, but I can look into it for sure. Edited June 9, 2016 by chef Link to comment Share on other sites More sharing options...
Taurec 60 Posted June 9, 2016 Share Posted June 9, 2016 Hello Chef, there is no need to compile the program for Mono. Let it run on Windows. Only the connection to Emby must be adjustable (ip adr. port, name pw) This was the meaning of my question to use this as "stand alone" program (on windows OS) cu Taurec P.S. other issue, have you done something on the plugin for the session infos for Rainmeter Skin? 1 Link to comment Share on other sites More sharing options...
Swynol 375 Posted October 13, 2016 Share Posted October 13, 2016 did anyone manage to get this working again after the .net errors? Link to comment Share on other sites More sharing options...
gjviii 48 Posted November 25, 2016 Share Posted November 25, 2016 @@chef i just rebuilt my server and it appears i'm having the same issue as others mentioned above. you happen to have time to take a look? thanks Link to comment Share on other sites More sharing options...
gjviii 48 Posted December 26, 2016 Share Posted December 26, 2016 bouncing the topic for chef to see.... thanks Link to comment Share on other sites More sharing options...
GugZi 2 Posted January 18, 2017 Share Posted January 18, 2017 DL link not working? Link to comment Share on other sites More sharing options...
shorty1483 453 Posted January 18, 2017 Share Posted January 18, 2017 DL link not working?Works well here. Link to comment Share on other sites More sharing options...
chef 3749 Posted January 18, 2017 Author Share Posted January 18, 2017 Hey! I built a newer version of this, but we are having issues with it. Would you guys want to test it out and see if NewtonsofJSONSerialize is throwing errors for you? https://dl.dropboxusercontent.com/u/46151346/ElectronicPressKit/ElectronicPressKit/bin/Debug/mail.zip Link to comment Share on other sites More sharing options...
Swynol 375 Posted January 19, 2017 Share Posted January 19, 2017 Hi Chef, tested out the new app. working fine for me using my hotmail account. i had to manual edit the settings.xml to change the false settings to true as the tick boxes in the app didnt seem to change it. 1 Link to comment Share on other sites More sharing options...
chef 3749 Posted January 19, 2017 Author Share Posted January 19, 2017 Hi Chef, tested out the new app. working fine for me using my hotmail account. i had to manual edit the settings.xml to change the false settings to true as the tick boxes in the app didnt seem to change it. Thanks for that! I'll see about the checkbox events. I wonder why other people are getting JsonSerializer errors? I can pinpoint the issue to the point when the program is trying to build a client object/interface for emby, but can figure out why it only happens on some computers and not others... May I ask what server version you are running, and what version of Windows you are on? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now