Open dwildey opened 3 years ago
I don't think it does, I actually forgot about Marksman since we run it in the background on login. I just checked it and I get the following error: Unhandled Exception: Newtonsoft.Json.JsonReaderException: Could not convert string to boolean: etc
Thanks for the info.
Yup can confirm this no longer work on 5.x. We ran into the same issue. @emike09/ @dwildey Did you find a solution for this?
@icolombage Have not upgraded yet due to this fact nor have I had time to test. However, we need an agent so will have to figure something out.
Any update ?
Disclaimer: I am not a programmer
I've found that if you change line 45 in Category.cs in the SnipeSharp project from:
public bool eula { get; set; }
to
public string eula { get; set; }
that this will get the agent working on 5.x
Disclaimer: I am not a programmer
I've found that if you change line 45 in Category.cs in the SnipeSharp project from:
public bool eula { get; set; }
to
public string eula { get; set; }
that this will get the agent working on 5.x
Hello, I can't find the file "Category.cs". Can you confirm its location?
https://github.com/Scope-IT/SnipeSharp/blob/master/SnipeSharp/Endpoints/Models/Category.cs
You'll then need to build the SnipeSharp project, and then the marksman project (SnipeSharp is a dependency, it should bring it in to the marksman project automatically) - as per the Developer instructions here: https://github.com/Scope-IT/marksman
I haven't been able to get in touch with the developer to see about getting this working again, so have started my own version of the project. You can download it here if you are interested: https://github.com/ReticentRobot/SnipeAgent
@ReticentRobot Nice Job! I hadn't had a chance to look but suspected it was SnipeSharp since that's the foundation. Glad you were able to take the time and recompile. I am sure others will appreciate your efforts as much as I do.
Thanks! I've been meaning to pick up a programming project to get back into learning again, so I guess this is as good as any :). Next up is to try to recreate the agent as a windows service and collect the API key, base URL, Location, and Company during install so that manual editing of the config file is no longer needed.
@ReticentRobot thanks for the solution, it works with snipe-it version 6
@ReticentRobot Do you still have your compiled version of this available for download?
@ReticentRobot Greetings! Is there any chance to get your compiled version still? It seems the Error is still an issue.
I think I have it somewhere - I will try to get this back up today
Does anyone happen to know the filename? Not coming up with anything obvious on my initial search.
Apologies for deleting, didn't realize it was still in use. If I can't find it, I can probably get it redone and rebuilt soon.
Does anyone happen to know the filename? Not coming up with anything obvious on my initial search.
Apologies for deleting, didn't realize it was still in use. If I can't find it, I can probably get it redone and rebuilt soon.
Sir, if you can get this working again, I would be very grateful! Seems that the snipe-it plugin list even mentions your program but it goes to a 404 :(
I've opened a ticket to see if GitHub can restore this repository
Just noting here that GitHub was able to restore it. Apologies for not posting that news earlier, I posted elsewhere but forgot about this thread.
Just noting here that GitHub was able to restore it. Apologies for not posting that news earlier, I posted elsewhere but forgot about this thread.
Will deploy today and test, thank you!!
Can anyone confirm Marksman works with version 5.x of SnipeIT?