Hello,
When running marteditor on a Postgres 9 database a gzip error occurs
when attempting to save or export:
Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: Could
not lazyload datasetconfig Caught IOException during fetch of requested
DatasetConfig: Not in GZIP format
at
org.ensembl.mart.lib.config.DatasetConfig.lazyLoad(DatasetConfig.java:1844)
at
org.ensembl.mart.lib.config.DatasetConfig.getImportables(DatasetConfig.java:1009)
at
org.ensembl.mart.lib.config.DatabaseDatasetConfigUtils.updateConfigToTemplate(DatabaseDatasetConfigUtils.java:2342)
...
This is because the bytea column type has changed its format to 'hex'.
This means that all data returned from bytea fields is in an unexpected
format, causing an error when DatabaseDatasetConfigUtils tries to gunzip
the xml data.
The solution is to run:
ALTER DATABASE database_name SET bytea_output TO 'escape';
on the postgres 9 database.
Regards,
Alex
--
The Wellcome Trust Sanger Institute is operated by Genome Research
Limited, a charity registered in England with number 1021457 and a
company registered in England with number 2742969, whose registered
office is 215 Euston Road, London, NW1 2BE.
_______________________________________________
Users mailing list
[email protected]
https://lists.biomart.org/mailman/listinfo/users