|
Senior Member
Join Date: May 2013
Posts: 1,458
|
I'm working on a script that imports spells from the csv file at pathfindercommunity.net. It contains about 2700 spells. The last selectable one is maybe #1348 on the list (which happens to be "Pup Shape"). There are other spells listed beyond that, but I cannot select them.
And when I scroll, once Pup Shape gets to the top of the viewable window, the names stop scrolling. The vertical slide bar continues scrolling, but the spell names do not. The import process does not report any errors. I have no idea if I'm doing something wrong, if I'm hitting a bug, or if there's an internal limit of some sort. I'm putting all the spells in a container, if that makes any difference. |
#1 |
Senior Member
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623
|
This should be registered as a bug, although I've already registered this particular problem.
|
#2 |
Member
Join Date: Oct 2013
Posts: 87
|
I filed a bug (#57622) for that problem 2 years ago. I was told it appeared to be a limitation of the display library, and they'd look into workarounds. That was the least I heard, and the case is still open.
It's a display limitation, so if you can collapse sections higher up, you'll be able to scroll down further in the list. -Ian |
#3 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Quote:
|
|
#4 |
Senior Member
Join Date: Oct 2016
Posts: 621
|
|
#5 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
|
#6 |
Senior Member
Join Date: Dec 2013
Posts: 798
|
Like he wrote in the 1st post: he reads the csv and creates an RW XML for import
probably it is being made especially for this task I wont be of much use, however I agree, it could be great to create all kinds of lists / topics / things via csv and import them. Let's see what EightBlitz says Join the (unofficial) Realm-Works IRC Chat: #realm-works on the Rizon Network (https://wiki.rizon.net/index.php?title=Servers) -> Browser Client: https://kiwiirc.com/client/irc.rizon.net |
#7 |
Senior Member
Join Date: May 2013
Posts: 1,458
|
Quote:
1. There is currently a bug with RealmWorks where tag values assigned to snippets are instead assigned to topics. I'm told by Farling that this is a known bug which LWD says it's working on. 2. The CSV file I'm working is from pathfindercommunity.net, but I've had to clean it up a bit. 3. There's the issue with the view size limitation. I have yet to modify the code for the suggested workaround. 4. The CSV file has a column for a plain-text description and one for an HTML-formatted description. The formatted description is obviously preferable, but is giving me issues. At least one spell (#134 of ~2700) is giving me an error on import. I say at least one, because it stops there and doesn't go beyond. 5. I've had to modify the tags in the Pathfinder structure to add spell descriptors, schools and subschools. So if I distribute the code, I'd have to distribute it with my Pathfinder structure and my sanitized version of the CSV file, otherwise errors. Once I get a clean, flawless import, I'll be willing to share. Right now, my copy of RW is supposedly deleting the imported spells so I can have a clean realm to start testing things again. Except for the import error, all these things have workarounds. For example, I can clone the Spell category, and in the clone, replace the tag snippets with labeled text snippets. Or stick information in the annotation fields instead of assigning tags. But that one import error, I gotta find out what's going on there, and right now, I'm clueless. I've submitted a support request. |
|
#8 |
Member
Join Date: Jan 2015
Posts: 96
|
Awesome looking forward to seeing the final result.
|
#9 |
Senior Member
Join Date: Mar 2013
Location: Greater London, UK
Posts: 2,623
|
Quote:
I've got all the 4 CSV loading quite happily except for the tags issue. I decided to use the basic text instead of the HTML-ised text. I don't know if the HTML-ised text is from the raw PRD or someone has added from another source. My solution uses XSLT scripts rather than PowerShell scripts. |
|
#10 |
|
|