Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dice View not calculating dice rolls. #298

Open
3 of 7 tasks
JorMerr opened this issue Feb 25, 2024 · 0 comments
Open
3 of 7 tasks

Dice View not calculating dice rolls. #298

JorMerr opened this issue Feb 25, 2024 · 0 comments

Comments

@JorMerr
Copy link

JorMerr commented Feb 25, 2024

Check for existing bug reports before submitting.

  • I searched for existing Bug Reports and found no similar reports.

Expected Behavior

Click of d20 button populates Dice Formula field.
Formula following conventional syntax (1d20/1d4/2d6) and running will calculate dice roll.

Current behaviour

D20 button does not populate Dice Formula field. Other buttons populate intermittently.
Typing dice formula in Dice Formula field and running the formula does not calculate dice rolls, and returns pop-up message: Invalid Formula: Cannot read properties of undefined (reading 'detach').
Inspector also shows error for plugin:obsidian-dice-roller:16
Uncaught Error: invalid syntax at line 1 col 1:
dice: 1d20

Reproduction

  1. Launch Obisidian
  2. Open Dice Roller: Dice View
  3. Click 1d4 button
  4. Click run
  5. Unsuccessful run and pop-up showing Invalid Formula: Cannot read properties of undefined (reading 'detach').
  6. Repeat with other dice formula and syntax, Inspector shows Unexpected Error.

Which Operating Systems are you using?

  • Android
  • iPhone/iPad
  • Linux
  • macOS
  • Windows

Obsidian Version Check

1.5.8

Plugin Version

10.4.5

Confirmation

  • I have disabled all other plugins and the issue still persists.

Possible solution

No response

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant