• Please note: In an effort to ensure that all of our users feel welcome on our forums, we’ve updated our forum rules. You can review the updated rules here: http://forums.wolflair.com/showthread.php?t=5528.

    If a fellow Community member is not following the forum rules, please report the post by clicking the Report button (the red yield sign on the left) located on every post. This will notify the moderators directly. If you have any questions about these new rules, please contact support@wolflair.com.

    - The Lone Wolf Development Team

How do I debug this?

wdmartin

Well-known member
I have a portfolio that throws up the following error when I start:

Errors were encountered when loading the saved portfolio! If you notice incorrect behaviors in your portfolio, please report it to the data file authors (you can contact them from the Help menu).

Critical information not found in data files: Source 'None'
Critical information not found in data files: Source 'None'

I've got the Pathfinder Pack installed, and also four small third-party sources that I wrote myself for assorted campaigns.

Everything in the portfolio is working fine. I'm a bit baffled. How do I get HL to cough up more info about what's going wrong here?
 
This is usually caused because at some time, you had created a source named "None", and saved this portfolio while that source existed, but now the source no longer exists. However, this saved portfolio still has a record of whether that source was turned on or off for this portfolio.


If you're instead seeing this all the time, not just on certain saved characters, then there's something else going on, and please give us more information.


If it is just some portfolios, then in the Develop menu, "Prepare Portfolio for Distribution", or "Prepare Portfolios in Folder for Distribution" if you know there's several. It will then prompt you for some settings - turn on "Strip Missing Sources". If you're preparing only the current portfolio, then save the portfolio when you're done.
 
Thank you! That was very helpful.

After trying your technique on a copy the portfolio in question, I decided to poke at it a little harder. I cracked open the .por file and poked around the contents until I found the culprit. Inside lead1.xml and lead2.xml from the hero lab folder inside the .por, I found this line:

Code:
<source source="pSoMFtTrNo" name="None" count="1"/>

When I removed it from both files and then repacked the .por file, it opened just fine.

I think at one point I must have opened the portfolio in a copy of Hero Lab that had Spheres of Might installed, based on the "SoM" in that source. And somehow that got enabled. Then when I opened the file on other copies of Hero Lab that didn't have Spheres of Might in them, they complained.

Considering that I have four different instances of Hero Lab thanks to secondary licenses, and keep that .por file in Dropbox so I can get to it from any of them, it's not surprising that something like this popped up. I was just baffled by the non-descriptive name "None", I guess.
 
Back
Top