Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Data too long for log filename #56

Closed
timhowgego opened this issue Jan 26, 2021 · 1 comment
Closed

Data too long for log filename #56

timhowgego opened this issue Jan 26, 2021 · 1 comment

Comments

@timhowgego
Copy link

Fatal error when running --timetable with a bespoke filename that is greater than 12 characters long. Suggest truncating the supplied filename to match the table definition.

...
Finished processing ttisf893.mca
Error: Data too long for column 'filename' at row 1
at PromisePool.query (...mysql2\promise.js:340:22)
at ImportFeedCommand.updateLastFile (...dtd2mysql\dist\src\cli\ImportFeedCommand.js:105:24)
at ImportFeedCommand.doImport (...dtd2mysql\dist\src\cli\ImportFeedCommand.js:67:20)
at processTicksAndRejections (internal/process/task_queues.js:93:5)
at async ImportFeedCommand.run (...dtd2mysql\dist\src\cli\ImportFeedCommand.js:38:13) {
code: 'ER_DATA_TOO_LONG',
errno: 1406,
sqlState: '22001',
sqlMessage: "Data too long for column 'filename' at row 1"
}

@linusnorton
Copy link
Collaborator

I have just released 6.3.26 which should fix this but you will need to drop you log table so it gets created again. Let me know if you have any issues

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants