HydrogenAudio

CD-R and Audio Hardware => CUETools => Topic started by: dpr on 2021-12-29 11:47:05

Title: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: dpr on 2021-12-29 11:47:05
Using cuetools 2.19 (an experimental version https://github.com/gchudov/cuetools.net/pull/122 ), I get this error when trying to encode two albums to mp3 or flac. I tried CBR and VBR for the mp3 encodes. The source of the encoding are .wav images of the cds and a corresponding cue file.

They were created by EAC v1.6.  Cuetools 2.19 encodes all of my other files ripped with eac 1.5 and earlier. Using Cuetools 2.14, the same files encode with no problem.

Another problem is that a folder.jpg file is not used as embedded artwork in another album with the 2.19 version, but is included with the 2.16 version.


Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: korth on 2021-12-29 13:13:10
If this is happening with two particular images I'd like to see the CUE sheets so I can test if the error occurs using dummy audio.
Embedded artwork. 2.1.9 has an online cover search and the local cover search. I haven't had a chance to test scenarios yet to see what has priority and when popup windows are offered (no popups in batch mode).
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: dpr on 2021-12-29 18:33:58
How do I send you the cue sheets?

Regarding the artwork. I had already downloaded artwork and created a folder.jpg file. So the artwork lookup was not involved. It wasn't included in the encode with the 2.19 version, but was with 2.16.


Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: korth on 2021-12-29 18:57:34
See PM

Quote
So the artwork lookup was not involved
So you had Album Art Search disabled?
Settings > Advanced Settings > CTDB > Album art search > None
Local search is
Settings > Advanced Settings > Cover Art Files > folder.jpg;cover.jpg;...
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: dpr on 2021-12-30 09:56:12
See PM

Quote
So the artwork lookup was not involved
So you had Album Art Search disabled?
Settings > Advanced Settings > CTDB > Album art search > None
Local search is
Settings > Advanced Settings > Cover Art Files > folder.jpg;cover.jpg;...

Have sent a cue file.

'Album Art Search disabled' was not disabled. (Never knew about this). The artwork file is called 'Folder.jpg', not 'folder.jpg'.
Is the Cover Art Files list case sensitive?

I tried renaming the file and turning off Album Art Search. Still fails under 2.19 dev build
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: dpr on 2022-01-15 12:28:36
I downloaded 2.20 and tested it out on the specific rips of the CDs that I was having problems with.
They all encoded to flac and mp3 without any errors.  So, I think this can be closed off as an issue.
You may recall that the version of 2.19 was a special build as I had trouble getting the main release of 2.19 to run.
So I think have to assume it was somehow related...

moving on to 2.20...Thanks for the help.
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: c72578 on 2022-01-15 21:20:01
Hi dpr,
good to hear, that CUETools 2.2.0 is working for you.
It looks like the error was related to the affected .cue files being encoded in UTF-8 (without BOM).
Support for reading .cue files in UTF-8 encoding was added between 2.1.9 and 2.2.0:
https://github.com/gchudov/cuetools.net/commit/d6470d5f0cb42fc7fde2290275280feb6907875b
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: c72578 on 2022-01-16 20:25:35
@dpr could you please try to encode the rips of the CDs, where the exception occurred, using CUETools 2.2.0 with disabled "Verify using CTDB"?
See also:
https://github.com/gchudov/cuetools.net/issues/148#issuecomment-1013924967
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: dpr on 2022-01-17 20:32:27
@dpr could you please try to encode the rips of the CDs, where the exception occurred, using CUETools 2.2.0 with disabled "Verify using CTDB"?
See also:
https://github.com/gchudov/cuetools.net/issues/148#issuecomment-1013924967

Hi
If I disable "Verify using CTDB", i get the error. This is in 2.20 and the rip created with EAC 1.6.
I also get the error on a different rip created with EAC 1.5.

dpr
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: c72578 on 2022-01-18 06:30:54
Hi dpr,
thanks for checking and confirming, where the issue is coming from.
Wolfgang
Title: Re: 2.19 - Object reference not set to an instance of an object.. - EAC 1.6 related?
Post by: dpr on 2022-01-21 21:33:08
Wolfgang, Thanks for all your work on cuetools!