Mark, I've just noticed that TD Helper v2.0.3.5 Beta is available. I've downloaded it and noticed that the drop down list in the Source box no longer appears. The pilot Log tab is empty also (not thast I use it much but it was definitely there before the upgrade). The C button no longer does anything but I recall that comes from the Pilot Log anyway.
All the paths in the Misc Settings box seem normal so have you seen this before? I overwrote my previous files with the latest ones. Should I have perhaps done a clean install? I am thinking possibly a clean install of TD, eddblink and eddb-listener from eyeonus followed by your latest version of TD Helper might be the way to go!
When I was healthy and fit, I used to do 15 century wars of the roses. Stanley Household.
For God, Lord Stanley and the True King
...yes, but... I mean, who exactly is the True King?
*splutter*
WHOEVER LORD STANLEY SAYS IT IS!
I'm seeing the same. I don't believe TD is the problem here.
Dito only with the Beaufort Companye and Destrier (jousting group). The last weekend was Tewkesbury and we were with the Middletons.
Then you know Ghost and it's a small world. I have no doubt he would be utterly disparaging of my involvement, but the couple of shows I did were fun.
Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
select sys.name as sys_name, stn.name as stn_name
from System sys
left join Station stn on sys.system_id = stn.system_id
Mark, I've just noticed that TD Helper v2.0.3.5 Beta is available. I've downloaded it and noticed that the drop down list in the Source box no longer appears. The pilot Log tab is empty also (not thast I use it much but it was definitely there before the upgrade). The C button no longer does anything but I recall that comes from the Pilot Log anyway.
All the paths in the Misc Settings box seem normal so have you seen this before? I overwrote my previous files with the latest ones. Should I have perhaps done a clean install? I am thinking possibly a clean install of TD, eddblink and eddb-listener from eyeonus followed by your latest version of TD Helper might be the way to go!
I'm seeing the same. I don't believe TD is the problem here.
Has something changed with the Trade Dangerous database schema or data? With the tradedangerous.db file from Thursday last week TD Helper runs fine but if I update the database or delete it and create a new one, TD Helper throws an error:
Gazelle (TD) - Yesterday at 17:45
Data update (new ships, new commodities, new modules) rings any bell?
themroc (EDDB) - Yesterday at 17:46
yeah t hats on my list
ill try to fix that tomorrow
i got some time
Your TD Helper should auto-update if you have that turned on
If I wanted to, where would I turn that on?
Hi Tromador - I've seen that - there is an option to disable Auto-updating in the settings cog wheel thingy - top left by the Unique Box!
Oh wow... that is tiny. Ok now I found a settings screen
Has something changed with the Trade Dangerous database schema or data? With the tradedangerous.db file from Thursday last week TD Helper runs fine but if I update the database or delete it and create a new one, TD Helper throws an error:
Code:Failed to enable constraints. One or more rows contain values violating non-null, unique, or foreign-key constraints.
The SQL command being run is:
Code:select sys.name as sys_name, stn.name as stn_name from System sys left join Station stn on sys.system_id = stn.system_id
I have a work around for the issue for the moment bu in my investigations I note that SQLite is set up not to use FK constraints by default, it is probably a good idea either to enable the FK constraints ("PRAGMA foreign_keys=ON") and ensure that the values are correctly set or leave the FK constraints off and remove the FK definitions from the database schema. The former is the preferred option, obviously, but may involve a lot of work to ensure the referential integrity.
Would be of interest which data caused the failure to find out the cause. TD normaly has the FK constrains switch on (and I don't think this changed).
BTW: The "left join" is equal to "left outer join", so you will get all systems and stationnames will be NULL if there are none in the system. You need an "INNER join" if you want only systems with stations.
I have a work around for the issue for the moment bu in my investigations I note that SQLite is set up not to use FK constraints by default, it is probably a good idea either to enable the FK constraints ("PRAGMA foreign_keys=ON") and ensure that the values are correctly set or leave the FK constraints off and remove the FK definitions from the database schema. The former is the preferred option, obviously, but may involve a lot of work to ensure the referential integrity.
Just as a point I think it's important to make - we (by which I really mean eyeonus) are not in the business of making big changes to TD. The plan was and still is to have a method of getting data into the existing TD, with minimal changes/work in a post-maddavo world. At present we have one stupid bug which is hard to pin down (https://github.com/eyeonus/EDDBlink-listener/issues/7), but once that it resolved, then we will be ready to release. Mission creep into messing with the TD database in any way which "may involve a lot of work" is not one of the project deliverables.