tag:infinitekind.tenderapp.com,2009-01-14:/discussions/problems/51420-mac-mojave-md-2019-does-not-load-file-md-2017-still-okInfinite Kind: Discussion 2019-06-29T03:10:26Ztag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-08T15:46:52Z2019-02-08T15:46:52ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I am not support staff, just a user.</p>
<p>Make sure you have a 2017 backup.</p>
<p>The main problem shown up by the 2019 errlog.txt is</p>
<p>Exception in thread "main" java.lafng.StackOverflowError</p>
<p>I am not sure the following will help but it appears you have a number of out of date extensions that need removing. As you can’t get the extension – extension manager this would have to be done manually. Delete the folder “fmodules” and restart Moneydance.</p>
<p>If you still get Exception in thread "main" java.lafng.StackOverflowError then I will post a link to this thread on Sean’s slack site, the software developer.</p>
<p>Post a new errlog.txt file.</p>
<p>Hope this helps</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-09T03:34:49Z2019-02-09T03:34:49ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Thanks, since I can access MD 2017, I will remove all extensions first (already removed Rhumba as it had a clear error in the first log)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-09T07:54:57Z2019-02-09T07:54:57ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I am not support staff, just a user.</p>
<p>2017 uses Java 1.8.0_162 whereas 2019 uses Java 11.0.1<br>
Things change.<br>
Thus, not all extensions will work on both 2017 and 2019.<br>
Quote Loader, including rhumba, is one of these, there are two versions, one for 2017 and 2019.<br>
I would not recommend having 2017 and 2019 installed in the same account at the same time, this could create problems, different accounts yes. If you are using the same account uninstall one before installing the other.</p>
<p>Hope this helps.</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-10T11:31:14Z2019-02-10T11:31:14ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi,</p>
<p>even with all extensions removed it fails. with the attached log.</p>
<p>Suggestions to solve the problem are welcome.</p>
<p>I am wondering whether it is because of my long list of currencies, including one "obsolete" one (French Franc) that I cannot delete for it is "Used" (I have no more account in French Franc, nor do I see any category in FF...)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-10T12:00:00Z2019-02-10T12:00:00ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I am not support staff, just a user.</p>
<p>Your errlog.txt still has a</p>
<p>Exception in thread "main" java.lang.StackOverflowError</p>
<p>I think Sean the Moneydance software developer believed he had fix this one. Apparently not.<br>
I will post a link to this thread on his slack site and hopefully next week he will have time to take look.</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-10T14:24:38Z2019-02-10T14:24:38ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Thanks!<br>
Ping me if there is anything I can test</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-11T15:05:21Z2019-02-11T15:05:21ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Further info</p>
<p>I tried to re-recreate the file under MD 2019.1 from another account using DropBox Sync.</p>
<p>The error log is slightly different (attached) at the [long] end the Sync process closes, and MD 2019 goes bac to the Start Screen to choose file creation method (New, Import, ...)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-11T16:43:45Z2019-02-11T16:43:45ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I am not support staff, just a user.</p>
<p>Hi not really show what you are trying to do.</p>
<p>The errlog.txt shows you are running 2017.10(1706)<br>
You have a number of out of date/no longer supported extensions installed.<br>
Quote Loader is running with old builds. Note Quote Loader user totals different build between 2017 and 2019. If you try to run Quote Loader with the wrong set of build installed it could create problem.<br>
Its good practice to update extensions to the latest builds or if they are no longer supported remove them.<br>
You are switching back and forward between 2017 and 2019. I hope if they are under the same account you are uninstalling one before installing the other. I would also be concerned about how backward compatible data sets are. 2019 handles non-base currencies in a totally different way for example. Take care.</p>
<p>Unfortunately, no response from Sean or Support yet.</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-13T05:01:23Z2019-02-13T05:01:23ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi Derek,</p>
<p>Oops I uploaded the wrong file..</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-13T13:15:43Z2019-02-13T13:15:43ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>This is the correct file when starting from Dropbox sync from another user</p>
<p>There are a <em>lot</em> or errors in that, including this:</p>
<p>Rate/price consistency error: Too many indirections (5) in relative currencies for French Franc, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for Lyxor S&P 500 EUR Daily Hedged, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for IMAE.AS (EUR) (EU-LCB), possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for VSS (USD) [I-SCB], possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for MOS, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for AAPL, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for BSV (USD) [US-STBOND], possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for VPL (USD) (PAC-LCB), possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for IEAG.L (EUR) [EU-5Y-Bond], possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for JKD (USD) [US-LCB], possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for VBR (USD) [US-SCV], possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for BDX, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for Vanguard S&P 500 UCITS ETF, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for STM, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for GILD, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for IEMA.L/SEMA.L (USD) [EM-LCB], possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for IBCD, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for MSE, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for SP5H, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for TSYE.PA, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for IBCX, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for IEGA, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for VUSA.AS, possibly a loop.<br>
Rate/price consistency error: Too many indirections (5) in relative currencies for STM.EU, possibly a loop.</p>
<p>which seems to be on currencies/stocks I dot not own any quantity of anymore</p>
<p>Also : why these outdated extensions? I hare removed all extensions</p>
<p>Is in sandbox: true; restricted file access: false<br>
outdated extension: invextension outdated extension: mdcsvimporter outdated extension: myposition outdated extension: priceui outdated extension: ratios outdated extension: txtimport outdated extension: yahooqt</p>
<p>....</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-13T15:08:10Z2019-02-13T15:08:10ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I am not support staff, just a user.</p>
<p>With Moneydance shut down renaming the config.dict file to say config.dict_old will probable solve the extension message issue. Moneydance will reset all preferences to default, which means if you have set any preferences they will to be set again. You will also need to re-enter your key. This can sometimes fix other issue. Worth a try. You can always reinstate your original config.dict.</p>
<p>However, I still think Sean or Support need to take a look.</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-14T14:40:32Z2019-02-14T14:40:32ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi derekkent23,</p>
<p>conflict.dict should not have an influence: this was from a new account, creating from dropbox sync service.</p>
<p>(and confirmed, of course)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-14T16:25:11Z2019-02-14T16:25:11ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I am not support staff, just a user.</p>
<p>config.dict is common to all data sets, no matter how created..<br>
When you upgraded from 2017 or earlier versions to 2019 the old config.dict would simply be used by 2019. The only way to get Moneydance to recreated it is to as I say rename it. You could delete it, but renaming allows you to reinstate it if you want. .</p>
<p>Hope this helps</p></div>derekkent23tag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-14T23:19:06Z2019-02-14T23:55:45ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Intereseting, thanks.<br>
I deleted it locally in the 2019 account, I then tried to recreate the 2019 my account from dropbox and it still failed.<br>
Should I delete config.dict in the account that still works with 2017 instead?</p>
<p>In any case, it makes no difference.<br>
Is it the heap size too small issue?</p>
<p>Starting Moneydance 2019.1 (1855) at Fri Feb 15 07:40:57 SGT 2019<br>
Settings Folder: /Users/charles/Library/Containers/com.infinitekind.MoneydanceOSX/Data/Library/Application Support/Moneydance<br>
OS: Mac OS X 10.14.2 x86_64<br>
Java: 11.0.1 (Oracle Corporation)<br>
Is in sandbox: true; restricted file access: false<br>
opening last file: null<br>
Opening account book: MyAccount<br>
loading dataset: /Users/charles/Library/Containers/com.infinitekind.MoneydanceOSX/Data/Documents/MyAccount.moneydance<br>
loading with 128 bit encryption key<br>
reading trunk data tiksync/trunk<br>
trunk data loaded (1.078 seconds), checking for incremental updates<br>
loading un-synced txn files...<br>
loading synced txn files...<br>
Exception in thread "Thread-0" java.lang.StackOverflowError</p>
<p>...</p>
<p>[endless loops of] at com.infinitekind.moneydance.model.CurrencyType.getRelativeRate(CurrencyType.java:450) at com.infinitekind.moneydance.model.CurrencySnapshot.resetRelativeRateFromBaseRate(CurrencySnapshot.java:84) at com.infinitekind.moneydance.model.CurrencySnapshot.performPostLoadVerification(CurrencySnapshot.java:90) at com.infinitekind.moneydance.model.CurrencySnapshot.getRate(CurrencySnapshot.java:196)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-15T00:41:44Z2019-02-15T00:41:44ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I'm a fellow user.</p>
<p>I do not believe your error relates to heap size, the error for that normally has quite a different footprint, the error that relates to heap size is usually:</p>
<p>java.lang.OutOfMemoryError: Java heap space</p></div>dwgtag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-17T03:20:19Z2019-02-17T03:20:19ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Thanks dwg, I so so wish it were a heap issue :)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-17T03:59:37Z2019-02-17T03:59:37ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>I suspect the problem might be due to some of the compression and other activities MD 2019 is doing at start up to reduce the data set size.</p>
<p>I've not seen this suggested any where so would not be surprised if it does absolutely nothing but you could try setting the following option in Moneydance.voptions file</p>
<p>-Xss 2048m</p>
<p>this is supposed to increase the stack size, it is not something I would necessarily leave set for any length of time but it may help on that initial change from MD2017 to MD2019 who knows,</p></div>dwgtag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-19T12:30:12Z2019-02-19T12:30:12ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi dwg,</p>
<p>I would not mind to try but this file does not exist (on my mac)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-21T20:14:18Z2019-02-21T20:14:18ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>That stacktrace looks like a nasty infinite loop so I think increasing the stack will just prolonging the processing a little bit longer but you will likely see the same error.</p>
<p>On the Mac, the argument list to the JVM is embedded in the Info.plist (You can see it as</p>
<ul>
<li>Quit out of Moneydance if it is running.</li>
<li>Find your copy of Moneydance (usually) under Applications</li>
<li>Pop up menu "Show Package Contents"</li>
<li>Go to "Contents" directory</li>
<li>Look for file 'Info.plist".</li>
<li>Open it.</li>
<li>Look for string "JVMOptions" (toward the end)</li>
</ul>
<p>In theory, you can append another argument string to that array<br>
but likely will cause problem starting because that will cause the app's signature to be invalid.</p></div>hleofxquotestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-21T20:17:47Z2019-02-21T20:18:06ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><blockquote>
<p>Rate/price consistency error: Too many indirections (5) in relative currencies for STM.EU, possibly a loop.</p>
</blockquote>
<p>Seems to be a good set of clues.</p>
<blockquote>
<p>which seems to be on currencies/stocks I dot not own any quantity of anymore</p>
</blockquote>
<p>If those can be deleted, you can try that and see if that will help.</p>
<p>Please work on copy of file so you can revert.</p></div>hleofxquotestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-25T00:23:44Z2019-02-25T00:23:44ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi,</p>
<p>MD tells me "Cannot delete currency that is in use" (of course)<br>
and I cannot realistically unwind all these transactions (8 years of history of securities transactions in various currencies).</p>
<p>(and indeed I couldn't start MoneyDance with the Stack increased).</p>
<p>I guess I now have to wait for Sean to contact me and ask for an anonymized backup file...</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-02-26T13:36:13Z2019-02-26T13:36:13ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Issue is same on Windows (yeah, Java works...)</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-03-25T00:01:46Z2019-03-25T00:01:46ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>No update?</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-03-27T15:57:57Z2019-03-27T15:57:57ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi Charles,<br>
Sorry for the lack of input on this. Would it be possible to do a screen sharing session or (even better) get a copy of one of your backup files? If the latter, here is a dropbox file sharing request: <a href="https://www.dropbox.com/request/MWl0JDdufTqlKiJUQtqz">https://www.dropbox.com/request/MWl0JDdufTqlKiJUQtqz</a></p>
<p>I thought that more recent previews had fixed any possibility of this stack overflow error, but a data file that shows the problem would let me get to the bottom of it ASAP. There isn't any way to fully anonymise a data file, but I promise to fully destroy all traces of the file on my end either when you request it or when the problem is resolved, whichever comes first.</p>
<p>Thanks,<br>
Sean</p>
<p>--Sean Reilly Developer, The Infinite Kind<br>
<a href="https://infinitekind.com">https://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-03-28T00:03:00Z2019-03-28T00:03:00ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi Sean,</p>
<p>I have just uploaded a anonymized-ish file to your dropbox</p>
<p>shasum -a 256 MyAccount-20190328-0756.moneydancearchive<br>
c6fd162f02dd7feb430961825d530a0274fb223e60ec4a50905bb30502c263a7 MyAccount-20190328-0756.moneydancearchive</p>
<p>Thank you for your attention, I have removed all extensions until this is resolved, and it is a bit hard without my usual workflow.</p>
<p>Charles</p></div>Charlestag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-03-28T16:36:43Z2019-03-28T16:36:43ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Hi Charles,<br>
Thanks so much for sending the sample data file. I've found the problem and fixed it for the next preview build (1862) which I hope to make available later tonight or tomorrow.</p>
<p>There is a manual workaround if you like, which is to remove the relative currency cycle which currently exists between EUR and USD. I'd recommend editing one or the other of those currencies and changing their relative currency to something other than each other. To make sure to avoid currency cycles you can set one or both of their relative currencies to the base currency. If not, then the relative currency for currency X just has to be something which won't refer back to currency X, even indirectly. You should be able to do that in MD2017 and then open the file in the current 2019, or you could wait for the preview build to be available.</p>
<p>Thanks!<br>
Sean</p>
<p>--Sean Reilly Developer, The Infinite Kind<br>
<a href="https://infinitekind.com">https://infinitekind.com</a></p></div>Sean Reillytag:infinitekind.tenderapp.com,2009-01-14:Comment/469362312019-03-30T03:06:55Z2019-03-30T03:06:55ZMD 2019 : stack overflow on infinite recurrent currency rates loop<div><p>Thank you so much Sean!</p>
<p>In the "Tools > Currency". for bot Euro and USD I chose to display the history vs SGD instead.<br>
Then I exported a new back up file, which restored in a blank new MD Account</p>
<p>and it worked !</p>
<p>Now going to setup MD 2019 properly will all the extensions I require</p>
<p>Charles</p></div>Charles