Giter VIP home page Giter VIP logo

planealerter's People

Contributors

dependabot[bot] avatar dom2364 avatar mikejaworski avatar recoil016 avatar sean-duffy avatar tinjaw avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

planealerter's Issues

Bug in 2.4.0 when conditions.json-file is empty

Version 2.4.0 seem to have a bug that triggers when the conditions.json-file is empty (like it is when you run it for the first time in a new directory).

It can be avoided by using a conditions.json from version 2.3.0 (don't know if there are any differences between the two versions in this specific file).

This is the error I get when the conditions.json is empty (sorry for localized error information, but I think it's useful anyway):

Information om att aktivera JIT-felsökning i stället för den 
här dialogrutan finns i slutet av det här meddelandet.

************** Undantagstext **************
System.ArgumentOutOfRangeException: Det angivna argumentet hamnade utanför intervallet med giltiga värden.
Parameternamn: index
   vid System.Windows.Forms.TreeNodeCollection.get_Item(Int32 index)
   vid PlaneAlerter.ConditionEditor.updateConditionList()
   vid PlaneAlerter.ConditionEditor..ctor()
   vid PlaneAlerter.PlaneAlerter.startConditionEditorToolStripMenuItem_Click(Object sender, EventArgs e)
   vid System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   vid System.Windows.Forms.ToolStripMenuItem.OnClick(EventArgs e)
   vid System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   vid System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   vid System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   vid System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   vid System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   vid System.Windows.Forms.ToolStripDropDown.OnMouseUp(MouseEventArgs mea)
   vid System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   vid System.Windows.Forms.Control.WndProc(Message& m)
   vid System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   vid System.Windows.Forms.ToolStrip.WndProc(Message& m)
   vid System.Windows.Forms.ToolStripDropDown.WndProc(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   vid System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   vid System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Inlästa sammansättningar **************
mscorlib
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll
----------------------------------------
PlaneAlerter
    Sammansättningsversion: 2.4.0.0
    Win32-version: 2.4.0.0
    CodeBase: file:///C:/Users/pb19873/Downloads/PlaneAlerter_2.4.0/PlaneAlerter.exe
----------------------------------------
System.Windows.Forms
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4400.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4360.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4390.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
System.Configuration
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4190.0 built by: NET48REL1LAST_B
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
System.Windows.Forms.resources
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/System.Windows.Forms.resources.dll
----------------------------------------
Newtonsoft.Json
    Sammansättningsversion: 13.0.0.0
    Win32-version: 13.0.1.25517
    CodeBase: file:///C:/Users/pb19873/Downloads/PlaneAlerter_2.4.0/lib/Newtonsoft.Json.DLL
----------------------------------------
System.Runtime.Serialization
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4455.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Runtime.Serialization/v4.0_4.0.0.0__b77a5c561934e089/System.Runtime.Serialization.dll
----------------------------------------
System.Numerics
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
System.Data
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4455.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_32/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
WindowsBase
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4470.0 built by: NET48REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/WindowsBase/v4.0_4.0.0.0__31bf3856ad364e35/WindowsBase.dll
----------------------------------------
mscorlib.resources
    Sammansättningsversion: 4.0.0.0
    Win32-version: 4.8.4084.0 built by: NET48REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/mscorlib.resources/v4.0_4.0.0.0_sv_b77a5c561934e089/mscorlib.resources.dll
----------------------------------------

only sound plz

can i use it as a sound alert only without any email or twitter messages?

Twitter add account problem

Hi Dom,

Trying to add a Twitter account fails with 'Tweetinvi. AuthFlow' threw an exception.

Looking at the details it appears it could not load 'AutoFac' and 'manifest definition does not match the assembly reference'

I see on the VRS forum others with the same error

Regards

Philip

Problems with tracks, google link and kml file content

I'm having some issues with the content in the mails sent.
The map that's included does only show a "bubble"-marker at the first or last position of the aircraft (depending on if the mail is regarding a first or last contact). No tracks are visible if the mail is from when my station lost contact with the aircraft.

The included google-map link is also broken since the coordinates use "," instead of ".".

The attached kml-file is there, but contain no coordinates:

<?xml version="1.0" encoding="UTF-8"?>
<kml xmlns="http://www.opengis.net/kml/2.2">
	<Document>
		<name>OH-LTO</name>
		<Placemark>
			<name>Flight path of OH-LTO</name>
			<Style>
				<LineStyle>
					<color>7fffffff</color>
					<width>2</width>
				</LineStyle>
				<PolyStyle>
					<color>7fffffff</color>
				</PolyStyle>
			</Style>
			<LineString>
				<extrude>1</extrude>
				<altitudeMode>absolute</altitudeMode>
				<coordinates></coordinates>
			</LineString>
		</Placemark>
	</Document>
</kml>

I suspect the problem lies within the handling of "," vs "." in the localization of windows (running latest win10 version).
Default settings before the decimals when using swedish language and localization in windows 10 is "," and not ".".

I'm not familiar with C# (or any kind of development on windows systems) and I've tried to read the code and find the problem. I see that there is some kind of conversion taking place that should replace "," with ".", but it doesn't seem to work with 2.3.0.

I've also tried to change windows language (and any other setting related to language/formats in windows) to english, but the problem persists.

The program is really nice and I hope that this problem is fixable. I found it when I googled around trying to see if someone had done something that could parse and collect data from the json-file that VRS produces.

EssentialProperties checkbox not limiting A/C properties

Hi! I am unable to post on the VRS forum so I registered here. Just wondering if there’s a way to limit the aircraft properties to only those in the essentialProperties.Add list in Core.cs. In 2.4.1 I get emails with properties-Year, Engine_Mount and Air_Pressure for example-which aren’t in the ~17 item list in the essentialProperties. Looks like all the data is being passed from VRS when it shouldn’t(?), and some of it’s bypassing the checkbox setting because it’s present in the feed.

There is a content difference when selecting All properties and The essentials, so it’s having an impact but not completely limiting to what’s in the essentialProperties list. Hoping it might be limited to just the essentials, unless I’m misunderstanding its use.

2 minute delay on every alert?

there is some really big delay on every alert, so is there a way to make it like 5 seconds max or smth...
because recently i just checked that 1 plane was already saved in the daily report db @14:37:40 or smth, but the app+windows alert was only shown at 14:40:xx etc...
so it basically only alerts when the plane is already long gone or smth...

User Tag not working?

I am trying to alert of a specific aircraft type but not locally based aircraft. For example I want to alert for C-130s below a certain altitude but not ones that fly from my local airbase. I have tagged all of the local C-130s in the User Tag field as KNFW. I set up an alert for C130s below 20,000 ft which works fine. When I add the User Tag field and set it to "Not Equals" KNFW then that should alert me to C130s that don't have KNFW in the User Tag. However this doesn't work. When I add the User Tag field the alerts never come up for any C130s at all. It appears that the UserTag option is not working in the program but I am not sure. I am not a programmer and I love this program. This is the only thing that I can't seem to get to work which would make this program 100% of what I needed it for. Any ideas on how to make this work?

Brandon

Application crashes immediatly after execution

An issue solved for information...

Issue :
After configuring options, as soon as PlaneAlerter tries to connect to VRS it crash with a .NET error.
And then each time it is started.

Solution:
In my concern, my VRS installation is on a Windows 7 Pro French VM, and after many tries, no way to get it work... Then, i installed a Win7 Pro UK VM, just installed Plane Alerter (and necessary system software), and now it works like a charm, UP for almost 5 months non-stop.

In conclusion, i can tell that Plane Alerter only works on UK systems ;) (at least Win7).

Thanks for this useful tool.
Cheers.
Thibaut

callsign alert too?

at the moment it only shows the icao code in the alertEr* window, but would it be possible to format it into showing: callsign-icao (or icao-callsign)
otherwise it gets too crowded and everything gets lost into the "added" and "removed" texts etc...

Twitter

Where do I enter the key and token?

ERROR: Error publishing tweet: When authenticating requests to the Twitter API v2 endpoints, you must use keys and tokens from a Twitter developer App that is attached to a Project. You can create a project via the developer portal.
Reason : Forbidden
Code : 403
Date : 11/04/2023 12:03:08 +09:00
URL : https://api.twitter.com/2/tweets
Twitter documentation description : Forbidden - The request is understood, but it has been refused or access is not allowed. An accompanying error message will explain why. This code is used when requests are being denied due to update limits.

Conditional Rules

Hi,

Is there a way to do the conditional rules where they are OR's vs ALL for the conditions?

not flashing in the bottom?

does the new version even flash in the bottom at all or is there a time limit when its doing it? i thought its going to at least change color and blink in the bottom, but at the moment it's not doing any of that

Alerts are not stored at log

Even if alerts are triggered, there aren't stored at alerts.log

If I go via Options > Open log file I'll get this error

System.ComponentModel.Win32Exception (193): An error occurred trying to start process 'alerts.log' with working directory 'C:\Tools\Plane alerter\LETPC'. The specified executable is not a valid application for this OS platform.

I'm using Win 11 64-bit.

Feature Request: Webhooks

Hi,

Just started using your program, and I was wondering if you accept feature requests.
I am wondering if you could add on a Webhook option so the alerts can be sent off to something like RedNode or N8N for further processing.
But including all the items you include in the emails like the google maps etc..

With twitter and API"s being somewhat useless these days, allowing people to pipe the output to other apps would make a nice feature.

Species

I can’t work out how to specify Helicopters as the only species identified as it keeps vanishing from the input field just installed latest version all seems well apart from that

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.