screepsmods / screepsmod-history Goto Github PK
View Code? Open in Web Editor NEWLicense: MIT License
License: MIT License
It looks dead so I was wondering if someone would be wanting to keep things updated
I see a lot of sql errors in the logs .. it's working so maybe there are duplicate saves?
I also deleted the database and restartet the server, does not change the spam .)
[historyWorker] Error processing room E31N3@53440 { SequelizeUniqueConstraintError: Validation error
at Query.formatError (/screeps/node_modules/sequelize/lib/dialects/sqlite/query.js:409:16)
at Query._handleQueryResponse (/screeps/node_modules/sequelize/lib/dialects/sqlite/query.js:72:18)
at Statement.afterExecute (/screeps/node_modules/sequelize/lib/dialects/sqlite/query.js:246:27)
name: 'SequelizeUniqueConstraintError',
errors:
[ ValidationErrorItem {
message: 'room must be unique',
type: 'unique violation',
path: 'room',
value: 'E31N3',
origin: 'DB',
instance: [history],
validatorKey: 'not_unique',
validatorName: null,
validatorArgs: [] },
ValidationErrorItem {
message: 'tick must be unique',
type: 'unique violation',
path: 'tick',
value: 53440,
origin: 'DB',
instance: [history],
validatorKey: 'not_unique',
validatorName: null,
validatorArgs: [] } ],
fields: [ 'room', 'tick' ],
parent:
{ Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: histories.room, histories.tick
errno: 19,
code: 'SQLITE_CONSTRAINT',
sql:
'INSERT INTO `histories` (`id`,`room`,`tick`,`data`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3,$4,$5);' },
original:
{ Error: SQLITE_CONSTRAINT: UNIQUE constraint failed: histories.room, histories.tick
errno: 19,
code: 'SQLITE_CONSTRAINT',
sql:
'INSERT INTO `histories` (`id`,`room`,`tick`,`data`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3,$4,$5);' },
sql:
'INSERT INTO `histories` (`id`,`room`,`tick`,`data`,`createdAt`,`updatedAt`) VALUES (NULL,$1,$2,$3,$4,$5);' }
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.