Replying to old email.. Using the --load option tells gnucash to "load this as a scheme file" so what you're really doing is passing gnucash an XML file but telling it to load it as a scheme file. This is obviously failing.
If you want to get gnucash to load a specific data file at runtime off the command-line, you want: gnucash /data/Finances/TestDatafile -derek Tim Wunder <[EMAIL PROTECTED]> writes: > Hi, > When I execute > /opt/gnucash-head/bin/gnucash --load /data/Finances/TestDatafile > I get this error: > > Backtrace: > 0* [primitive-load "/data/Finances/TestDatafile"] > 1* <?xml > > ERROR: In expression <?xml: > ERROR: Unbound variable: <?xml > [EMAIL PROTECTED] dad]$ /opt/gnucash-head/bin/gnucash --load > /data/Finances/TestDatafile > > FWIW: > $ grep "?xml" /data/Finances/TestDatafile > <?xml version="1.0"?> > > > I can, however, open the file after starting gnucash with --nofile and opeing > the file from within gnucash, but I have these warnings: > > ** WARNING **: Warning: xaccTransFindOldCommonCurr...(): unable to find a > common currency, and that is strange. > > ** WARNING **: Warning: xaccTransScrubCurrency: no common transaction currency > found for trans="CarmaxAutoFinance" > > ** WARNING **: Warning: xaccTransScrubCurrency: split="Repayment - Principal > Portion" account="97fe9dd0d23ad5c20474f25be34e3787" commodity="template" > > ** WARNING **: Warning: xaccTransScrubCurrency: split="Repayment - Interest > Portion" account="97fe9dd0d23ad5c20474f25be34e3787" commodity="template" > > ** WARNING **: Warning: xaccTransScrubCurrency: split="CarmaxAutoFinance" > account="97fe9dd0d23ad5c20474f25be34e3787" commodity="template" > > <SX's load> > > ** CRITICAL **: Error: xaccAccountCommitEdit: unbalanced call - resetting (was > -1) > > ** CRITICAL **: file qofquery.c: line 707 (qof_query_run): assertion > `q->books' failed. > > ** CRITICAL **: file qofquery.c: line 707 (qof_query_run): assertion > `q->books' failed. > > Other interesting stuff. At first opening the file, I had an Imbalance account > with 3 or 4 transactions. I didn't save the file, but when I re-opened it, I > had a Orphan Account with a single transaction, which was different than the > once that were in the Imbalance-USD account and I didn't have the > Imbalance-USD account. > > The test datafile is a copy of my main 1.8.7 datafile. > What can I provide that would give better insight as to what's going on (short > of the datafile, that is). > > Regards, > Tim > > -- > RedHat 8.0 Kernel 2.4.20-20.8, KDE 3.1.3, Xfree86 4.2.1 > 10:10am up 12:02, 2 users, load average: 0.17, 0.14, 0.15 > It's what you learn after you know it all that counts > > _______________________________________________ > gnucash-devel mailing list > [EMAIL PROTECTED] > http://www.gnucash.org/cgi-bin/mailman/listinfo/gnucash-devel -- Derek Atkins, SB '93 MIT EE, SM '95 MIT Media Laboratory Member, MIT Student Information Processing Board (SIPB) URL: http://web.mit.edu/warlord/ PP-ASEL-IA N1NWH [EMAIL PROTECTED] PGP key available _______________________________________________ gnucash-devel mailing list [EMAIL PROTECTED] https://lists.gnucash.org/mailman/listinfo/gnucash-devel
