Skip to content
This repository has been archived by the owner on Jan 26, 2021. It is now read-only.

ValueError(f"Unexpected type of activity: {activity}") #106

Open
leeprevost opened this issue Mar 14, 2020 · 1 comment
Open

ValueError(f"Unexpected type of activity: {activity}") #106

leeprevost opened this issue Mar 14, 2020 · 1 comment

Comments

@leeprevost
Copy link

I get this error when attempting to run bankroll (even simple --help) after install in a fresh conda virtual environment (python 3.6).

$ bankroll --help
Traceback (most recent call last):
File "c:\users\lee\anaconda3\envs\foliolyze\lib\runpy.py", line 193, in run_module_as_main
"main", mod_spec)
File "c:\users\lee\anaconda3\envs\foliolyze\lib\runpy.py", line 85, in run_code
exec(code, run_globals)
File "C:\Users\lee\Anaconda3\envs\foliolyze\Scripts\bankroll.exe_main
.py", line 5, in
File "c:\users\lee\anaconda3\envs\foliolyze\lib\site-packages\bankroll\interface_init
.py", line 1, in
from bankroll.analysis import *
File "c:\users\lee\anaconda3\envs\foliolyze\lib\site-packages\bankroll\analysis_init_.py", line 1, in
from .analysis import (
File "c:\users\lee\anaconda3\envs\foliolyze\lib\site-packages\bankroll\analysis\analysis.py", line 88
raise ValueError(f"Unexpected type of activity: {activity}")

@jspahrsummers
Copy link
Member

I'm afraid I don't see how that call stack is possible (bankroll doesn't generally have module-level code, which is what seems to be implicated here).

Can you please include the error message after string interpolation, in case that sheds any light on the issue?

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

No branches or pull requests

2 participants