Giter Club home page Giter Club logo

Comments (8)

dczwardCZAR avatar dczwardCZAR commented on August 11, 2024

I am having the same sort of error/issue...

when dragging an unlinked token onto the scene, nothing happens, and the console sows this error...

#################################

foundry.js:753 TypeError: Error thrown in hooked function '' for hook 'preCreateToken'. Cannot set properties of undefined (setting 'attribute')
[Detected 1 package: token-mold]
at TokenMold._overwriteConfig (token-mold.js:364:29)
at TokenMold._setTokenData (token-mold.js:331:36)
at Object.fn (token-mold.js:288:28)
at #call (foundry.js:730:20)
at Hooks.call (foundry.js:712:38)
at #preCreateDocumentArray (foundry.js:13508:44)
at async ClientDatabaseBackend._createDocuments (foundry.js:13394:22)
onError @ foundry.js:753

#################################

  • DnD5e
  • FVTT V 10.305
  • Mod version latest
  • macOS

Test with Token Mold as the only enabled mod.

from token-mold.

Geekswordsman avatar Geekswordsman commented on August 11, 2024

re: @dczwardCZAR - I'm unable to reproduce this. Try clearing your cache (ctrl-f5) or uninstalling/reinstalling Token Mold. If this does not resolve it, I would create a new issue here for us to track as the issue is separate from this one.

re: @jopeek From the error, it looks like DFred's Droppables, but I'm not able to reproduce this when I enable that module. I recommend the same initial steps as above (cache clear and if that fails, reinstall of Token Mold). If it still does not work, then use the Find the Culprit module so we can narrow down what combination might be causing this.

from token-mold.

dczwardCZAR avatar dczwardCZAR commented on August 11, 2024

I just reproduced this. I cleared cache, uninstalled/reinstalled token mold. This happens in Chrome, Firefox. I used find the Culprit, with this result...

Screenshot 2023-07-09 at 2 44 05 PM

from token-mold.

jopeek avatar jopeek commented on August 11, 2024

from token-mold.

Geekswordsman avatar Geekswordsman commented on August 11, 2024

Ok; I think the issue is that keys changed in newer versions of the D&D 5e system - likely a key attribute that you were setting to one of the bars, and now it's no longer available.

Double check the Config override in your Token Mold settings and see if adjusting those fixes the issue.

from token-mold.

jopeek avatar jopeek commented on August 11, 2024

from token-mold.

dczwardCZAR avatar dczwardCZAR commented on August 11, 2024

Yes, I can confirm unchecking the 2nd bar setting fixed the issue for me as well.

from token-mold.

Kerdude avatar Kerdude commented on August 11, 2024

Seeing this as well in the Pathfinder 2e system (4.12.9), Foundry version 10.303. I don't have the 2nd bar config checked but turning off config entirely makes it work again for naming tokens.

image

from token-mold.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.