gnucash-android icon indicating copy to clipboard operation
gnucash-android copied to clipboard

Account import fails with no explanation

Open strainu opened this issue 13 years ago • 11 comments

I tried to import a large account structure from my desktop gnucash. The program imported a couple of entries, then failed with no explanation. The accounts already imported functioned poperly.

I would love to provide more data, but i'm not sure how (providing the structure is not an option).

The error message should give information about tbe line/entry that failed and the error encountered.

strainu avatar Jun 22 '13 21:06 strainu

Hi, What version of the app are you using? 1.2.0 or 1.2.1. Please if you have 1.2.0, pleas update and try again and let me know.

On 22.06.2013, at 23:51, Andrei Cipu [email protected] wrote:

I tried to import a large account structure from my desktop gnucash. The program imported a couple of entries, then failed with no explanation. The accounts already imported functioned poperly.

I would love to provide more data, but i'm not sure how (providing the structure is not an option).

The error message should give information about tbe line/entry that failed and the error encountered.

— Reply to this email directly or view it on GitHubhttps://github.com/codinguser/gnucash-android/issues/97 .

codinguser avatar Jun 23 '13 06:06 codinguser

Latest -1.2.1. I had just installed it last night on a lg nexus 4, android 4.2.2

strainu avatar Jun 23 '13 06:06 strainu

Fixed in 4dc8cf92cc2979826a72e6aaeeafe7ef435f49a3 Version 1.2.2 includes this changes and will be available soon from the Play store

codinguser avatar Jun 23 '13 21:06 codinguser

Still reproducing with 1.2.2. Assuming the accounts are loaded in order, this is the one that fails:

<gnc:account version="2.0.0">
  <act:name>Actiuni Disponibile</act:name>
  <act:id type="guid">cd5e4f74387c32e5ba01f91ce844c06a</act:id>
  <act:type>STOCK</act:type>
  <act:commodity>
    <cmdty:space>NASDAQ</cmdty:space>
    <cmdty:id>XXXX</cmdty:id>
  </act:commodity>
  <act:commodity-scu>10000</act:commodity-scu>
  <act:parent type="guid">cb892499965b49649a8042f72f9a9b35</act:parent>
</gnc:account>

XXXX - I changed the ID, but it exists in the file. Its entry reads:

<gnc:commodity version="2.0.0">
  <cmdty:space>NASDAQ</cmdty:space>
  <cmdty:id>XXXX</cmdty:id>
  <cmdty:name>An imaginary company</cmdty:name>
  <cmdty:fraction>10000</cmdty:fraction>
  <cmdty:get_quotes/>
  <cmdty:quote_source>yahoo</cmdty:quote_source>
  <cmdty:quote_tz/>
</gnc:commodity>

strainu avatar Jun 25 '13 14:06 strainu

Has the same problem with 1.2.2. Only able to import when I manually deleted all account not using real money, such as the ones with manually created currencies in "INET_VIRTUAL" space.

fefe982 avatar Jun 29 '13 09:06 fefe982

Also failing EQUITY-type accounts

strainu avatar Jul 07 '13 22:07 strainu

thanks for the feedback

codinguser avatar Aug 01 '13 20:08 codinguser

FWIW, same problem here with 1.2.2. Running Android 4.1.1. Fairly large account tree: I was importing 1MB XML file--been a gnucash user forever!

Mezzaluna avatar Aug 04 '13 00:08 Mezzaluna

This issue should be fixed in version 1.2.3. Please confirm.

codinguser avatar Aug 30 '13 09:08 codinguser

yes, was able to import the acct list successfully--generated no errors.

however, the exported transactions don't seem to have the account information when the exported OFX file is read back into GNUcash. I get asked to map the account "manually"

On Fri, Aug 30, 2013 at 5:30 AM, Ngewi Fet [email protected] wrote:

This issue should be fixed in version 1.2.3. Please confirm.

— Reply to this email directly or view it on GitHubhttps://github.com/codinguser/gnucash-android/issues/97#issuecomment-23550144 .

Mezzaluna avatar Sep 02 '13 23:09 Mezzaluna

QIF export format is now supported and enables easier mapping to accounts in desktop GnuCash

codinguser avatar Jan 24 '14 10:01 codinguser