VorlonCD / bi-aidetection

Alarm system for Blue Iris based on Artificial Intelligence.
https://ipcamtalk.com/threads/tool-tutorial-free-ai-person-detection-for-blue-iris.37330/
GNU General Public License v2.0
207 stars 45 forks source link

AITool crashes when adding cameras #338

Closed JustNobody999 closed 1 year ago

JustNobody999 commented 1 year ago

When I add camera's in this new version (2.5.44) the app crashes instantely. It did work in 2.0.1036, but there I can't make a connection to telegram: Could not upload image D:\aiinput\image.jpg to Telegram with chatid '': Invalid format. A valid token looks like "validId".;Parameter name: token [ArgumentException] (In ClsTriggerActionQueue.TelegramUpload:1354 > Bot.TelegramBotClient..ctor(String token, HttpClient httpClient)) | Error | AITOOLS.EXE | Deepstack_Objects:...

In event viewer I can see the following: Faulting application name: AITool.exe, version: 2.5.44.8558, time stamp: 0x641cef7e Faulting module name: System.Private.CoreLib.dll, version: 6.0.1623.17311, time stamp: 0xe759ebc4 Exception code: 0xc00000fd Fault offset: 0x00000000001dfe6b Faulting process id: 0x1a34 Faulting application start time: 0x01d9da9de762b335 Faulting application path: D:\AITOOL2_5_44\AITool.exe Faulting module path: C:\Program Files\dotnet\shared\Microsoft.NETCore.App\6.0.16\System.Private.CoreLib.dll Report Id: df9ffee3-c8e3-4240-823b-cc0ccb2732e2 Faulting package full name: Faulting package-relative application ID:

JustNobody999 commented 1 year ago

I ended up copying the config file from 2.0.1036 to the config folder of 2.5.44 so the camera's would be added, and now telegram also works.