Comments (8)
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.
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.
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](https://private-user-images.githubusercontent.com/91574640/252165871-a0fe4d88-0963-4f2c-9572-ddc4fa0b42b9.png?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MTc0OTExNTcsIm5iZiI6MTcxNzQ5MDg1NywicGF0aCI6Ii85MTU3NDY0MC8yNTIxNjU4NzEtYTBmZTRkODgtMDk2My00ZjJjLTk1NzItZGRjNGZhMGI0MmI5LnBuZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNDA2MDQlMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjQwNjA0VDA4NDczN1omWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTJjMjRmODVmYjFlODRmYmQ0Y2Q5ZWQ2YjUxOTRmZGQ2YmRhNjBhMjMzYjkzMDdiYzhmMDczNmU2NWEwNmNjYmQmWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0JmFjdG9yX2lkPTAma2V5X2lkPTAmcmVwb19pZD0wIn0.Jhc1YmmD_uKMgg_O9BQqrP7lVE2JKzCP7t5FOrcz13A)
from token-mold.
from token-mold.
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.
from token-mold.
Yes, I can confirm unchecking the 2nd bar setting fixed the issue for me as well.
from token-mold.
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.
from token-mold.
Related Issues (20)
- [BUG] Randomize HP doesn't work
- v11 Warning - Dependencies -> Relationships HOT 1
- [BUG] PF2e TypeError w/ Token Mold
- [BUG] In v11, override vision to enabled does not work
- [BUG] Throws an error with DAE HOT 1
- [BUG] Reapply setting gives error HOT 1
- [BUG] The module "token-mold" contains "dependencies" which is deprecated in favor of "relationships.requires" HOT 5
- [BUG] TypeError: Cannot set properties of undefined (setting 'attribute')
- [BUG] Token Mold Name Override Prevents Token Variant Art Randomiser / Popups from working HOT 2
- [FEATURE] token HP settings and variability
- [BUG] Savage Worlds, Stat Overlay, No Attributes HOT 4
- [FEATURE] Random money/items based on CR and Type
- Help interpreting a Token Mold console error
- [BUG] Token Bar overwrite does not work for Forbidden Lands system HOT 1
- [BUG] Compatibility issue with Simbul's Cover Calculator HOT 1
- [BUG] Cannot read properties of undefined (reading 'prof') HOT 4
- [BUG] configure dialog doesn't open for D&D 5e HOT 7
- [FEATURE] Option to set visibility (invisible)
- [BUG] Gear wheel is not bringing up Token Mold Icons HOT 12
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from token-mold.