Bug #150

Season art fails to save, various errors logged

Added by Andrew Perkins 6 months ago. Updated 6 months ago.

Status:Closed Start:03/08/2010
Priority:Normal Due date:
Assigned to:Jason Schnitzler % Done:

100%

Category:-
Target version:1.0

Description

I have seen this for quite a while (since the option to save tv art became available) but I'm not sure if its not coded in yet or something my end.

In my TV database I select a show, scrape it, select all the required show / season art and hit OK.
I then get various errors and only the show and episode art is saved, the season specific <season>.jpg and <season>.artwork.jpg are not created.
I've tried deleting the ember database and the temp folder but it still happens.

This was up to 1591, I just tried 1593 and get the generic GDI+ error then tons of .net errors and have to force quit.
The errors with 1593 only appear if I do anything artwork related. I can open a show settings and hit OK without changing anything no errors.

errors (from 1591) are

Title: Error
Message: A generic error occurred in GDI+.
StackTrace: at System.Drawing.Image.Save(Stream stream, ImageCodecInfo encoder, EncoderParameters encoderParams)
at System.Drawing.Image.Save(MemoryStream stream)
at System.Drawing.Image.System.Runtime.Serialization.ISerializable.GetObjectData(SerializationInfo si, StreamingContext context)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.InitSerialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
at System.Runtime.Serialization.Formatters.Binary.WriteObjectInfo.Serialize(Object obj, ISurrogateSelector surrogateSelector, StreamingContext context, SerObjectInfoInit serObjectInfoInit, IFormatterConverter converter, ObjectWriter objectWriter)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Write(WriteObjectInfo objectInfo, NameInfo memberNameInfo, NameInfo typeNameInfo)
at System.Runtime.Serialization.Formatters.Binary.ObjectWriter.Serialize(Object graph, Header[] inHeaders, __BinaryWriter serWriter, Boolean fCheck)
at System.Runtime.Serialization.Formatters.Binary.BinaryFormatter.Serialize(Stream serializationStream, Object graph, Header[] headers, Boolean fCheck)
at EmberScraperModule.Scraper.TVImages.Clone()
Date/Time: 08/03/2010 10:27:58 ===========================================================================================

then quite a few of these.

Title: Error
Message: Parameter is not valid.
StackTrace: at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at EmberAPI.ImageUtils.ResizeImage(Image& _image, Int32 maxWidth, Int32 maxHeight, Boolean usePadding, Int32 PaddingARGB)
Date/Time: 08/03/2010 10:30:34 ===========================================================================================

History

Updated by Andrew Perkins 6 months ago

sorry should have said my environment.

This is on Win7 Ultmate 32bit
Compiling with MS Visual Basic 2008 express edition

Updated by Bence Nádas 6 months ago

  • Status changed from New to Assigned
  • Assigned to set to Jason Schnitzler
  • Target version set to 1.0

We are aware of that. Something is definitely whacky on show saving.
Although the errors should gone already. Could you please update and try?

@Jason, the edit dialog still comes back on saving several times.

Updated by Jason Schnitzler 6 months ago

  • Status changed from Assigned to Needs Verification
  • % Done changed from 0 to 100

Should be fixed.

Updated by Andrew Perkins 6 months ago

A bit one step forward, two steps backward at the moment.
I have updated to 1597 but still get errors when doing the final 'ok' to update TV series artwork.
The errors are lots of

Title: Error
Message: Parameter is not valid.
StackTrace: at System.Drawing.Bitmap..ctor(Int32 width, Int32 height, PixelFormat format)
at System.Drawing.Bitmap..ctor(Int32 width, Int32 height)
at EmberAPI.ImageUtils.ResizeImage(Image& _image, Int32 maxWidth, Int32 maxHeight, Boolean usePadding, Int32 PaddingARGB)

I'm also getting (new) weird stuff within the Edit Show dialog.
The main listing has the show, the series and the episodes listed but within 'Edit Show' I only see the show poster and show fanart options, the series options have gone so I cant select artwork for them. Selecting the Season and right-clicking for scrape doesnt do anything.

Can I double check I am building this correctly.
I have a release build directory structure including folders like Bin, Images, Langs, Log, Modules, Modules\Language etc.
I use the SVN to build various files (I build everything except EmberSetup, EmberSetupManager, Module.Nuno, Scraper.BenceExtras and Scraper.EmberExtras) [I dont build the two scrapers as I cant select processor type]

I then copy the files created in Ember Media Manager\bin\x86\release (including the modules folder) to my 'release' folder overwriting anything already there with the same name.
I then run Ember which loads with the SVN release number.

Is that everything I need to do ?

Updated by Andrew Perkins 6 months ago

Just updated to 1599, still the same issues.

Errors on OK and no way to select Season artwork in 'Edit Show'

Updated by Bence Nádas 6 months ago

  • Status changed from Needs Verification to Assigned
  • % Done changed from 100 to 0

Jason, This is still not working. But you should really have some sleep now!!!

Updated by Jason Schnitzler 6 months ago

  • Status changed from Assigned to Closed
  • % Done changed from 0 to 100

Also available in: Atom PDF