Comments (3)
from dungeon-sheets.
I can't seem to reproduce this behavior. Mind checking a couple of things for me?
-
It looks like you're pulling from bacook17's fork. Mind pulling from my repo and checking again?
-
Running
makesheets
from inside the examples directory shouldn't be possible without first installing the package somehow. Make sure to runpip install -e dungeon-sheets/
after thegit clone ...
command.
Let me know if either of those fixes the issue. If not, I'll have to take a closer look.
from dungeon-sheets.
Huh, I didn't realise I wasn't pulling from your repo—sorry about that! The reason I was pulling from bacook17's clone was because the link in the README (line 66) to the examples directory leads to their clone. Trying this with your repo, here is what I get:
$ git clone https://github.com/canismarko/dungeon-sheets/
Cloning into 'dungeon-sheets'...
remote: Enumerating objects: 133, done.
remote: Counting objects: 100% (133/133), done.
remote: Compressing objects: 100% (93/93), done.
remote: Total 1959 (delta 83), reused 74 (delta 40), pack-reused 1826
Receiving objects: 100% (1959/1959), 13.52 MiB | 4.53 MiB/s, done.
Resolving deltas: 100% (1465/1465), done.
$ cd dungeon-sheets/examples/
$ makesheets
Processing rogue2...done
Processing barbarian1...done
Processing fighter2...done
Processing warlock1...done
Processing wizard2...done
Processing sorceror1...done
Processing paladin1...done
Processing ranger2...done
Processing monk1...done
Processing ranger3...done
Processing druid1...done
Processing multiclass1...done
Processing cleric2...done
Processing bard1...done
Processing monk2...done
Processing druid2...done
Processing multiclass2...done
Processing cleric1...done
Processing bard2...done
Processing sorceror2...done
Processing wizard1...done
Processing paladin2...done
Processing ranger1...done
Processing druid3...done
Processing warlock2...done
Processing rogue1...done
Processing barbarian2...done
Processing artificer1...failed
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/character.py", line 187, in add_class
cls = getattr(classes, cls)
AttributeError: module 'dungeonsheets.classes' has no attribute 'Artificer'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/Library/Frameworks/Python.framework/Versions/3.7/bin/makesheets", line 8, in <module>
sys.exit(main())
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/make_sheets.py", line 554, in main
make_sheet(character_file=filename, flatten=(not args.editable), debug=args.debug)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/make_sheets.py", line 453, in make_sheet
character = _char.Character.load(character_file)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/character.py", line 722, in load
char = Character(**char_props)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/character.py", line 154, in __init__
feature_choices=attrs.get('feature_choices', []))
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/character.py", line 220, in add_classes
**params)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/dungeonsheets/character.py", line 190, in add_class
'class was not recognized from classes.py: {:s}'.format(cls))
AttributeError: class was not recognized from classes.py: Artificer
I have already run pip install dungeonsheets
as per the instructions for the character sheet setup, but running your suggested pip install
command seems to work:
$ pip install -e dungeon-sheets/
Obtaining file:///Users/jakeireland/git-workspace/dungeon-sheets
Requirement already satisfied: fdfgen in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from dungeonsheets==0.10.1) (0.16.1)
Requirement already satisfied: npyscreen in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from dungeonsheets==0.10.1) (4.10.5)
Requirement already satisfied: jinja2 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from dungeonsheets==0.10.1) (2.11.2)
Requirement already satisfied: pdfrw in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from dungeonsheets==0.10.1) (0.4)
Requirement already satisfied: MarkupSafe>=0.23 in /Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages (from jinja2->dungeonsheets==0.10.1) (1.1.1)
Installing collected packages: dungeonsheets
Attempting uninstall: dungeonsheets
Found existing installation: dungeonsheets 0.10.1
Uninstalling dungeonsheets-0.10.1:
Successfully uninstalled dungeonsheets-0.10.1
Running setup.py develop for dungeonsheets
Successfully installed dungeonsheets
$ cd dungeon-sheets/examples/
$ makesheets
Processing rogue2...
Processing fighter2...
Processing wizard2...
Processing paladin1...
rogue2 done
Processing barbarian1...
wizard2 done
Processing sorceror1...
fighter2 done
Processing warlock1...
barbarian1 done
Processing monk1...
paladin1 done
Processing ranger2...
monk1 done
Processing ranger3...
sorceror1 done
Processing druid1...
ranger2 done
Processing cleric2...
warlock1 done
Processing monk2...
ranger3 done
Processing multiclass2...
monk2 done
Processing druid2...
cleric2 done
Processing bard1...
multiclass2 done
Processing cleric1...
druid1 done
Processing multiclass1...
druid2 done
Processing bard2...
cleric1 done
Processing wizard1...
bard1 done
Processing ranger1...
multiclass1 done
Processing warlock2...
bard2 done
Processing sorceror2...
ranger1 done
Processing druid3...
wizard1 done
Processing paladin2...
warlock2 done
Processing rogue1...
rogue1 done
Processing barbarian2...
sorceror2 done
Processing fighter1...
paladin2 done
barbarian2 done
Processing artificer1...
druid3 done
fighter1 done
artificer1 done
Thank you so much for your help on this. Do you know why pip install dungeonsheets
does not work?
from dungeon-sheets.
Related Issues (20)
- Magic Itens don't add Saving Throws bonuses HOT 3
- Clean up portrait handling
- Clean up the licensing
- More flexible interface for magic item bonuses
- Restore automated tests HOT 1
- Putting a homebrew weapon in magic_items is not resolvable by the content resolver HOT 2
- Weapons used by monsters are not listed in their weapons list HOT 2
- NameError in `content_registry.ContentRegistry` HOT 3
- GM Notes failing with `fancy_decorations=True` HOT 3
- can't add class HOT 6
- Enhancement proposal: companions and summonable creatures HOT 5
- allow multiclassing of magic weapons HOT 1
- Specifying Bloodhunter's Patron HOT 4
- Lucky HOT 2
- Rogue: Arcane Trickster Spell Slot count is always 0
- Portrait slightly off-center in MSavage latex template HOT 15
- Revivify doesn't show special_material
- latex output HOT 31
- Compatibility with foundry VTT export HOT 1
- Homebrew: Cannot specify a weapon subclass HOT 2
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 dungeon-sheets.