Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'NoneType' object has no attribute 'find' #28

Closed
bombica opened this issue Jan 17, 2024 · 13 comments
Closed

AttributeError: 'NoneType' object has no attribute 'find' #28

bombica opened this issue Jan 17, 2024 · 13 comments

Comments

@bombica
Copy link

bombica commented Jan 17, 2024

Pri konverziji podatkov za leto 2022 se zgodi napaka. Priprava podatkov za leto 2021 in 2023 lepo deluje.
Klic:
./etoro-edavki -y 2022 etoroAccountStatement-2022.xlsx
Napaka:

| eToro->eDavki | verzija 1.6.0

Traceback (most recent call last):
File ".../Library/Python/3.9/bin/./etoro-edavki", line 8, in
sys.exit(main())
File ".../Library/Python/3.9/lib/python/site-packages/etoro_edavki.py", line 334, in main
positionSymbols = get_position_symbols(transactionList)
File ".../Library/Python/3.9/lib/python/site-packages/etoro_edavki.py", line 172, in get_position_symbols
if xlsTransaction.position_id is None or xlsTransaction.details.find("/") < 0:
AttributeError: 'NoneType' object has no attribute 'find'

@masbug
Copy link
Owner

masbug commented Jan 17, 2024

Poskusite izvozit za daljše obdobje. Program izhodne podatke vedno pripravi za izbrano leto.

@bombica
Copy link
Author

bombica commented Jan 17, 2024 via email

@masbug
Copy link
Owner

masbug commented Jan 18, 2024

Zgleda, da je nek problem v "Account Activity" tabeli, stolpec "Details". Potrebujem export te tabele. Zanimajo me pa Date, Type in Details stolpci.

Repository owner deleted a comment from bombica Jan 18, 2024
@masbug
Copy link
Owner

masbug commented Jan 18, 2024

Ok, vidim problem. 2 polja imata čisto prazen "Details"
image
Quick fix je, da samo vpišete karkoli v ti dve polji. Bom pa še skomital popravek.

@masbug masbug closed this as completed Jan 18, 2024
masbug added a commit that referenced this issue Jan 18, 2024
@bombica
Copy link
Author

bombica commented Jan 18, 2024

Enkratno :)
Moja Company_info datoteka ima že 334 zapisov.
Kako jo lahko delim z ostalimi?

@masbug
Copy link
Owner

masbug commented Jan 18, 2024

Lahko kar sem, pa bom dodal v skupno.

@bombica
Copy link
Author

bombica commented Jan 19, 2024

Company_info.xlsx

@bombica
Copy link
Author

bombica commented Jan 19, 2024

Pa še informacije glede specificiranja mednarodnih pogodb preprečevanje dvojnega obdavčenja v eDavkih.
Na FURSu so mi dali pojasnilo, da tega podatka ni potrebno izpolniti.

masbug added a commit that referenced this issue Jan 20, 2024
@masbug
Copy link
Owner

masbug commented Jan 20, 2024

Hvala!

@Vladi007
Copy link

Vladi007 commented Feb 5, 2024

Kaj pa priložite kot dokazilo o plačilu tujega davka?

@masbug
Copy link
Owner

masbug commented Feb 6, 2024

Jaz priložim kar etoro statement.

@bombica
Copy link
Author

bombica commented Feb 6, 2024

Jaz priložim kar etoro statement.

Tudi jaz :)

@Vladi007
Copy link

Vladi007 commented Feb 6, 2024

ok, hvala za info!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants