eprbell / dali-rp2

DaLI (Data Loader Interface) is a data loader and input generator for RP2 (https://pypi.org/project/rp2), the privacy-focused, free, open-source cryptocurrency tax calculator: DaLI removes the need to manually prepare RP2 input files. Just like RP2, DaLI is also free, open-source and it prioritizes user privacy.
https://pypi.org/project/dali-rp2/
Apache License 2.0
66 stars 42 forks source link

dali-rp2 sliently exits, no errors, no output #263

Open Maitaikawika opened 22 hours ago

Maitaikawika commented 22 hours ago

Here's what happens when I try to run dali-rp2:

dherring@Davids-Mac-Pro dali_rp2 % dalius -s -o output -p 2003 config.ini INFO: Country: us INFO: Initialized input plugin 'dali.plugin.input.csv.manual' INFO: No pair converter plugins found in configuration file: using default pair converters. INFO: Reading crypto data using plugin 'dali.plugin.input.csv.manual' INFO: Building manifest to optimize price calculation with the pair converters. INFO: Resolving transactions 0% | | Elapsed Time: 0:00:01 ETA: 11:14:05 dherring@Davids-Mac-Pro dali_rp2 %

It just instantly exists. No log information written beyond what I just posted above. output folder created if not exist, but no output written.

Here is my config.ini file:

Global configuration

Data loaders

[dali.plugin.input.csv.manual] in_csv_file = in_csv_file.csv out_csv_file = out_csv_file.csv intra_csv_file = intra_csv_file.csv

The "in" and "out" files have around 9000 records in each, plus or minus.

My exchanges are binance.us and kracken. I'm using manual because as I read the documentation, there are not data loaders available for them yet.

I have confirmed this same behavior when trying the test files you provide at github. Identical silent failure.

I have also confirmed this same behavior on both Ubuntu Linux (Linux Mint 21.3) with python 3.10.12 and MacOS Monterey 12.7.5 with python version 3.13.0. dali_us version 0.6.11 installed with pip as per your instructions.

Please advise if further information required.

macanudo527 commented 9 hours ago

Yeah, sorry, this is an issue with the Historic Crypto pair converter plugin, that should be resolved with #262 . If you are technically minded, you can download that branch and try it out. Otherwise, we should get it pushed through soonish, maybe within a week?

You could try the CCXT pair plugin which should work. It will use Kraken prices by default. However, it will need to download a 4gig CSV file to do that. It is more robust and offers more options though.

Maitaikawika commented 5 hours ago

It would appear that the 4gb file this plugin needs is no longer available, either via the plugin or manual download. At least that's the story I'm getting today. My taxes are due Tuesday, so at this point I'll have to find some other way to process my data. Not sure I can grab the branch associated with #262 but I might try it and see how far I get.