Error by import


I have a problem with importing from discogs_20140201_releases.xml. I'm using DatabaseManagerCli.exe from version 1.4

D:\Da>DatabaseManagerCli.exe import-releases
Creating index on artists...
Importing data...

Unbehandelte Ausnahme: System.FormatException: Invalid or unsupported XML format.
bei DiscogsNet.Model.DataReader2.ReadRelease()
bei DiscogsNet.FileReading.ReleaseReader2.Read()
bei DiscogsNet.FileReading.ReleaseReader2.<Enumerate>d__1.MoveNext()
bei DatabaseManagerCli.Program.ImportReleases()
bei DatabaseManagerCli.Program.ExecuteCommand(String command)
bei DatabaseManagerCli.Program.Run(String[] args)
bei DatabaseManagerCli.Program.Main(String[] args)

Fehlermeldung Error: DatabaseManagerCLi funktioniert nicht mehr

What can I do?

file attachments


frenchfrog wrote Feb 19, 2014 at 11:28 PM

Do previous version works? discogs_20140101_releases.xml for example?

Is compiling from source solve the issue?

wrote Feb 21, 2014 at 5:35 PM

frenchfrog wrote Feb 21, 2014 at 5:35 PM

The issue is that the node "companies" in the release is not handled. (At least when compiling from source 78954.)

Attached is a temporary patch to skip the reading of companies.

CodePlexUser78 wrote May 27, 2014 at 1:53 PM

Thank you very much, frenchfrog!
Your patch - skipping companies - works great. I'm actually importing the 16GB releases from "discogs_20140501_releases.xml". It seems that runs fine, but for several ours .-)

wrote May 27, 2014 at 1:56 PM

swenger wrote Sep 23, 2014 at 2:45 PM


Can someone attach or send me the compiled version of this patched DatabaseManagerCli 1.4?
i tried implement this patch, compiled it, but it still doesn't seem to work (trying discogs dump discogs_20140803_releases.xml)