1
0
mirror of https://github.com/EDCD/EDMarketConnector.git synced 2025-04-21 19:37:39 +03:00
A_D 1cb876c594
Added support for logging from properties
This is some best effort support for using logging in properties.

This works by using the (as suggested by reporter) inspect
`getattr_static` method, and failing that (as it can possibly fail),
wrapping a `getattr` in a try/catch for a RecursionError--don't want to
catch other things, probably best if that explodes on its own.

From there as the `property` object will not have location information,
we rebuild as best we can to an approximation of what the path would be.
With a healthy dash of defensive programming "Just in case".

I don't think that this will have any adverse effects to other logging
methods, as all the new code should only be touched if we hit a property
object.

Closes 
2020-12-21 12:39:45 +02:00
2020-12-08 19:36:26 +02:00
2020-12-08 20:17:12 +02:00
2017-01-30 15:40:34 +00:00
2018-08-01 00:23:47 +01:00
2016-10-07 14:12:36 +01:00
2020-10-15 11:49:30 +01:00
2020-08-27 12:10:10 +01:00
2020-12-02 17:19:27 +02:00
2020-10-15 11:49:30 +01:00
2015-06-02 20:14:04 +01:00
2015-06-02 20:14:04 +01:00
2015-06-02 20:14:04 +01:00
2020-10-15 11:53:06 +01:00
2020-12-02 16:08:06 +02:00
2020-06-21 16:31:41 +01:00
2015-06-02 20:17:34 +01:00
2020-12-08 15:08:27 +00:00
2020-07-06 16:31:04 +01:00
2019-09-26 11:40:42 +01:00
2020-06-21 16:31:42 +01:00
2018-08-29 23:40:37 +01:00
2020-12-08 18:53:23 +02:00
2019-09-26 11:41:09 +01:00
2015-09-12 04:03:12 +01:00
2015-09-12 04:03:12 +01:00
2020-06-21 16:31:41 +01:00
2020-06-21 16:31:41 +01:00

Any questions or offers of help can be directed to the EDCD Discord #edmc channel:

Discord chat

Elite: Dangerous Market Connector (EDMC)

This application is only of use to PC players of the game Elite Dangerous (and its expansions). It won't work with PS4 or Xbox accounts.

It utilises the Journal files written by the game on the user's computer, together with data from the API Frontier Developments supplies in order to feed this data to various third party sites that the user may find useful.

See the Wiki documentation for more details.

Installation & Uninstall

Please see the Installation & Setup wiki page.

Running from source

Please see the Running from source wiki page.

Plugins

Plugins extend the behaviour of this app. See the Plugins wiki page for more information.

If you would like to write a plugin please see PLUGINS.md.

Troubleshooting

Please see the Troubleshooting wiki page.

Reporting a problem

Please report a problem as a new GitHub issue. Please wait for the error to occur and zip up and attach this app's log file to the new issue:

Mac:

  • $TMPDIR/EDMarketConnector.log

Windows:

  • %TMP%\EDMarketConnector.log

Packaging for distribution

Please see docs/Releasing.md.

Disclaimer

This app uses the “Companion” web API that Frontier originally supplied for their Elite Dangerous iOS app and now support for third-party apps. If that API ceases to function in the future then much of this application's functionality will be curtailed (although it could still utilise Journal files).

Acknowledgements

Please see the Acknowledgements wiki page.

License

Copyright © 2015-2019 Jonathan Harris, 2020 EDCD

Licensed under the GNU Public License (GPL) version 2 or later.

Description
Downloads commodity market and other station data from the game Elite: Dangerous for use with all popular online and offline trading tools.
Readme GPL-2.0 63 MiB
Languages
Python 99.6%
Shell 0.4%