Hello everyone.

So, I'm trying to load some billing data from Google Cloud into GNUCash. I
had made a script to get the data and parse it into a CSV. based on the
documentation (
https://code.gnucash.org/docs/C/gnucash-guide/import-invoices.html) I have
formatted it like this:

GCP-202308,2023-08-31,GOOGLE,ea,E2 Instance Ram running in
Americas,Expenses:Cloud Services:Compute Engine,17.001666667,0.048897736
GCP-202308,2023-08-31,GOOGLE,ea,E2 Instance Ram running with free tier
discount,Expenses:Cloud Services:Compute Engine,12.568611111,-0.048899277
GCP-202308,2023-08-31,GOOGLE,ea,E2 Instance Core running free tier
discount,Expenses:Cloud Services:Compute Engine,13,-0.091205385
GCP-202308,2023-08-31,GOOGLE,ea,Network Internet Egress from Americas to
Australia,Expenses:Cloud Services:Compute Engine,0.000028376,2.960248097
GCP-202308,2023-08-31,GOOGLE,ea,Rounding Error,Expenses:Cloud
Services:Invoice,4,0.000258
GCP-202308,2023-08-31,GOOGLE,ea,Network Inter Zone Egress,Expenses:Cloud
Services:Compute Engine,0.000040337,0.148746808
GCP-202308,2023-08-31,GOOGLE,ea,Network Egress via Carrier Peering Network
- Americas Based,Expenses:Cloud Services:Compute
Engine,0.000060274,0.497727046
GCP-202308,2023-08-31,GOOGLE,ea,E2 Instance Core running in
Americas,Expenses:Cloud Services:Compute Engine,4.250555556,0.364815371
GCP-202308,2023-08-31,GOOGLE,ea,Network Inter Region Egress from Americas
to Jakarta,Expenses:Cloud Services:Compute Engine,0.000021752,2.482530342
GCP-202309,2023-09-30,GOOGLE,ea,Rounding Error,Expenses:Cloud
Services:Invoice,4,-0.00047925

and I use this REGEX to select the fields:

^(?<id>[^,]*),(?<date_opened>[^,]*),(?<owner_id>[^,]*),(?<action>[^,]*),(?<desc>[^,]*),(?<account>[^,]*),(?<quantity>[^,]*),(?<price>[^,]*)$

So I have my CSV, open the import window, load the file, set the regex
expression and the sample data is displayed. So far, so good.

Anyway, if I click on "continue" to make the importation, after a couple
seconds the system crashes and I get a "Segmentation fault" message on the
terminal, and no detailed information if runned with the "debug" flag...
so... I'm stuck and I need help to import this data.

What could be done? Where is the problem?

P.S. I upgraded to 5.5 last night, just to be up to date and the problem is
there.

Thanks in advance
-- 
Emir Herrera
_______________________________________________
gnucash-user mailing list
gnucash-user@gnucash.org
To update your subscription preferences or to unsubscribe:
https://lists.gnucash.org/mailman/listinfo/gnucash-user
-----
Please remember to CC this list on all your replies.
You can do this by using Reply-To-List or Reply-All.

Reply via email to