wonderunit / storyboarder

✏️ Storyboarder makes it easy to visualize a story as fast you can draw stick figures.
https://wonderunit.com/storyboarder
3.25k stars 303 forks source link

.fountain import: Bug with scenes with uuids #2411

Open leonceaklin opened 1 year ago

leonceaklin commented 1 year ago

The bug Storyboarder has e bug that makes it impossible to use it with a .fountain file where scenes have uuids with dashes.

According to the fountain spec. Scenes can have numberings that can also contain dashes. At the moment, Storyboarder fails to deal with these uuids. It doesn’t let you change scenes in the storyboard and tries to create new folders every time you reopen the project.

Example screenplay:

INT. DRISKILL HOTEL SEMINAR ROOM - DAY #805852b7-0976-41a7-b3cb-7bc72c092512#
JOE catches his breath as he leans against the podium at the front of the Room

JOE
(rapidly speaking)
Are we in time?

CUT TO:

APRIL
How could they start without us? We're the main attraction.

EXT. TEXAS CAPITOL BUILDING - DAY #878e8232-8746-4ea5-9dcc-aa837c0dfd61#
JOE looks startled as he stands with April before the seat of Texas politics.

APRIL
How d'you do that?

APRIL
There was a cut.

To Reproduce Steps to reproduce the behavior:

  1. Create a .fountain file that contains my example screenplay
  2. Create a storyboard based on the file
  3. Close Storyboarder and reopen the storyboard
  4. See error

Expected behavior Storyboarder opens the project successfully

Screenshots

Screenshot 2023-01-24 at 10 39 43

Desktop (please complete the following information):

Additional context Everythig seems to work fine when the uuids don't contain any dashes.

leonceaklin commented 1 year ago

I made a PR to fix this