Bug#898843: Error with producer 'SQL::Translator::Producer::JSON': Can't locate object method "imap_url" via package "JSON"
Andrius Merkys
andrius.merkys at gmail.com
Wed May 16 14:43:58 BST 2018
Package: libsql-translator-perl
libsql-translator-perl fails to convert valid MySQL CREATE TABLE statement to JSON with quite a strange error:
andrius at amalas:$ cat sql/tables/numbers.sql
DROP TABLE IF EXISTS `numbers`;
CREATE TABLE `numbers` (
`id` int(11) NOT NULL AUTO_INCREMENT COMMENT 'unique table key',
`range` varchar(12) DEFAULT NULL COMMENT '',
`user` varchar(255) DEFAULT NULL COMMENT 'name of the user associated with the range',
PRIMARY KEY (`id`)
) CHARSET=utf8
COMMENT='stores SOLSA sample ID ranges associated with specific users';
andrius at amalas:$ sqlt --from MySQL --to JSON sql/tables/numbers.sql
Error: translate: Error with producer 'SQL::Translator::Producer::JSON': Can't locate object method "db_user" via package "JSON" at /usr/share/perl5/JSON.pm line 166.
Observed with the following versions on unstable:
libsql-translator-perl 0.11024-1
libjson-perl 2.97001-1
--
Andrius Merkys
Vilnius University Institute of Biotechnology, SaulÄ—tekio al. 7, room V325
LT-10257 Vilnius, Lithuania
More information about the pkg-perl-maintainers
mailing list