arcanistzed / pdf-sheet

A system agnostic tool to export your Foundry character sheet to a PDF!
https://arcanist.me
MIT License
14 stars 58 forks source link

[Bug]: PF2E = blank charter sheet though PDF has layout #131

Open bushibot opened 1 month ago

bushibot commented 1 month ago

Expected Behavior

Print character sheet with foundry game system data into pdf

Current Behavior

Prints a blank PDF without foundry data, though in my case PF2E layout all looks good.

Steps to Reproduce

  1. Open character sheet in game (I'm doing it as GM)
  2. click export to PDF at top of sheet
  3. Click PDF to pathfinder2e button
  4. uload pdf
  5. PDE sheet is generated but no character data is written in. Setting any PF2E map version results in errors foundry.js:72076 PDF Sheet | Invalid mapping JavaScript Object. See the README for more info. fetch @ foundry.js:72076 VM326489:3 Uncaught TypeError: Cannot read properties of undefined (reading 'value') [Detected 1 package: pdf-sheet(0.24.9)] at eval (eval at createForm (pdfsheet.js:379:4), :3:1044) at Pdfconfig.createForm (pdfsheet.js:379:77) at Pdfconfig.onFileUpload (pdfsheet.js:508:8) at reader.onload (pdfsheet.js:296:31)

Context

Foundry 12 build 331 so maybe busted? I actually did the full module disable, but no dice. I also tried use sing a couple different browsers and windows. no change. foundry.js:72076 PDF Sheet | Invalid mapping JavaScript Object. See the README for more info. fetch @ foundry.js:72076 VM326489:3 Uncaught TypeError: Cannot read properties of undefined (reading 'value') [Detected 1 package: pdf-sheet(0.24.9)] at eval (eval at createForm (pdfsheet.js:379:4), :3:1044) at Pdfconfig.createForm (pdfsheet.js:379:77) at Pdfconfig.onFileUpload (pdfsheet.js:508:8) at reader.onload (pdfsheet.js:296:31) Getting a PDF made seems really hard.

Version

0.24.9

Foundry VTT Version

12 331

Operating System

Linux (pop os)

Browser / App

Microsoft Edge

Game System

PF2E

Modules Disabled

bushibot commented 1 month ago

The officail pF2e remaster sheet also does not seem to work with the PF2E remaster profile. If I select the dialog just sits there and dose not process at all.

bushibot commented 1 month ago

switched over to actor export which worked great.