chilli-axe / mpc-autofill

Print automation software (leveraging MakePlayingCards) for your tabletop gaming community
https://mpcautofill.github.io
GNU General Public License v3.0
219 stars 97 forks source link

An uncaught exception occurred: unhashable type: 'AutofillDriver' #236

Closed h3rb1n4t0r closed 6 months ago

h3rb1n4t0r commented 6 months ago

System

Affected Components

Not 100% sure if my selection is correct.

Description

Issue

The Image Upload Batch starts, but yields the following interruption for some cards during the process:

An uncaught exception occurred:
unhashable type: 'AutofillDriver'

? How should the tool proceed? 
  Retry this action
❯ Skip this action
  Terminate

Retrying fails. Skipping skips upload of the respective card.

Expected Behaviour

Upload works in full and without manual intervention.

Steps to Reproduce

Problem is reproducable with two different XML sets of around 110 entries originally stemming from Archidekt, copied over to MPC-fill without unnecessary information (things that follow the card name in syntax format 3) and exported as XML.

Archive.zip

Additional aspects

Although I do not suspect root causes within the following, I will disclose for full transparency: Running KDE on X11 Plasma with Bismuth as Tiling Window Manager with files and executable being stored on a SMB share mounted with rclone.

ndepaola commented 6 months ago

thanks for letting me know about this - i'll investigate and keep this thread updated with my progress

in the meantime, i think the best way forward for you is using the second-most recent release

h3rb1n4t0r commented 6 months ago

Much appreciated! Prior version works smoothly so far. I noticed that it names the project in format "Name - YYYY-MM-DD" as opposed to the newest version, where it was "Projekt-/randomstring/"

ndepaola commented 6 months ago

thanks for the bug report, i'll put out a hotfix release shortly

the issue you noticed is related - it was an issue with the code that formulates the project name string (Project-/randomstring/ is the MPC/Printerstudio default)