Made with GitHub Profile README Generator
zetaraku / arcade-songs-fetch Goto Github PK
View Code? Open in Web Editor NEWData fetching scripts for arcade-songs website.
Home Page: https://github.com/zetaraku/arcade-songs
License: MIT License
Data fetching scripts for arcade-songs website.
Home Page: https://github.com/zetaraku/arcade-songs
License: MIT License
Made with GitHub Profile README Generator
> [email protected] maimai:fetch-internal-levels
> ts-node src/maimai/fetch-internal-levels
[2024-02-29T18:09:26.734] [INFO] maimai/fetch-internal-levels - Fetching data from internal level source ...
[2024-02-29T18:09:28.394] [INFO] maimai/fetch-internal-levels - Reading data from BUDDiES新曲 at column 0,6,12,18,24 ...
[2024-02-29T18:09:29.995] [INFO] maimai/fetch-internal-levels - Reading data from 14以上 at column 0,7,14,21,28,35 ...
[2024-02-29T18:09:31.479] [INFO] maimai/fetch-internal-levels - Reading data from 13+ at column 0,7,14,21 ...
[2024-02-29T18:09:33.624] [INFO] maimai/fetch-internal-levels - Reading data from 13 at column 0,7,14,21,28,35,42 ...
[2024-02-29T18:09:35.049] [INFO] maimai/fetch-internal-levels - Reading data from 12+ at column 0,6,12,19,26,33 ...
[2024-02-29T18:09:36.638] [INFO] maimai/fetch-internal-levels - Reading data from 12+ at column 39 ...
[2024-02-29T18:09:38.078] [INFO] maimai/fetch-internal-levels - Reading data from 12 at column 0,6,13,19,26,32 ...
[2024-02-29T18:09:39.376] [INFO] maimai/fetch-internal-levels - Reading data from 12 at column 38 ...
[2024-02-29T18:09:44.250] [INFO] maimai/fetch-internal-levels - Reading data from Tmai at column 0 ...
[2024-02-29T18:09:44.271] [INFO] maimai/fetch-internal-levels - OK, 1402 sheets fetched.
[2024-02-29T18:09:44.271] [INFO] maimai/fetch-internal-levels - Updating sheetInternalLevels ...
[parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/dialects/sqlite/query.js:236
const errForStack = new Error();
^
Error
at Database.<anonymous> ([parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/dialects/sqlite/query.js:236:27)
at [parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/dialects/sqlite/query.js:234:50
at new Promise (<anonymous>)
at Query.run ([parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/dialects/sqlite/query.js:234:12)
at [parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/sequelize.js:650:28
at processTicksAndRejections (node:internal/process/task_queues:95:5)
at async SQLiteQueryInterface.upsert ([parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/dialects/abstract/query-interface.js:853:12)
at async Function.upsert ([parent_directory]/arcade-songs-fetch/node_modules/sequelize/src/model.js:2606:20)
at async Promise.all (index 735)
at async run ([parent_directory]/arcade-songs-fetch/src/maimai/fetch-internal-levels.ts:369:3) {
name: 'SequelizeUniqueConstraintError',
errors: [],
parent: [Error: SQLITE_CONSTRAINT: NOT NULL constraint failed: SheetInternalLevels.type] {
errno: 19,
code: 'SQLITE_CONSTRAINT',
sql: 'INSERT INTO `SheetInternalLevels` (`songId`,`type`,`difficulty`,`internalLevel`) VALUES ($1,$2,$3,$4) ON CONFLICT (`songId`,`type`,`difficulty`) DO UPDATE SET `songId`=EXCLUDED.`songId`,`difficulty`=EXCLUDED.`difficulty`,`internalLevel`=EXCLUDED.`internalLevel`;'
},
original: [Error: SQLITE_CONSTRAINT: NOT NULL constraint failed: SheetInternalLevels.type] {
errno: 19,
code: 'SQLITE_CONSTRAINT',
sql: 'INSERT INTO `SheetInternalLevels` (`songId`,`type`,`difficulty`,`internalLevel`) VALUES ($1,$2,$3,$4) ON CONFLICT (`songId`,`type`,`difficulty`) DO UPDATE SET `songId`=EXCLUDED.`songId`,`difficulty`=EXCLUDED.`difficulty`,`internalLevel`=EXCLUDED.`internalLevel`;'
},
fields: [],
sql: 'INSERT INTO `SheetInternalLevels` (`songId`,`type`,`difficulty`,`internalLevel`) VALUES ($1,$2,$3,$4) ON CONFLICT (`songId`,`type`,`difficulty`) DO UPDATE SET `songId`=EXCLUDED.`songId`,`difficulty`=EXCLUDED.`difficulty`,`internalLevel`=EXCLUDED.`internalLevel`;'
}
Happens after today's update (Tsunagite, Chunithm Chiho and Utage update). There could be something wrong in the CC spreadsheet, I think.
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.