Where communities thrive


  • Join over 1.5M+ people
  • Join over 100K+ communities
  • Free without limits
  • Create your own community
People
Repo info
Activity
    matrixbot
    @matrixbot
    ryantm Oh, I see it and understand it now. Thank you!
    dnjkalnvfjdkln
    @dnjkalnvfjdkln
    Hello, Sorry to bother you. I am new to computers, and just isntalled beancount and fava. I recieved the following syntax error. Please if you could assist. I was not sure if this was the correct place to post.
    Traceback (most recent call last):
    File "/usr/local/bin/fava", line 7, in <module>
    from fava.cli import main
    File "/usr/local/lib/python3.5/dist-packages/fava/cli.py", line 89
    print(f"Running Fava on http://{host}:{port}")
    i assum it is a python error, but I have no programming background
    matrixbot
    @matrixbot
    ryantm dnjkalnvfjdkln (Gitter): Can you post what command you typed and the full error message, if that isn't the full error message?
    matrixbot
    @matrixbot
    xuhcc dnjkalnvfjdkln (Gitter): Looks like you need to install python 3.6 or later. Python 3.5 does not support f-strings afaik
    dnjkalnvfjdkln
    @dnjkalnvfjdkln
    fava and path to my file
    Adam Gibbins
    @adamgibbins
    That is as xuhcc said, you need python 3.6, you're running 3.5
    s/3.6/3.6 or newer/
    dnjkalnvfjdkln
    @dnjkalnvfjdkln
    nice thanks, ill try and install
    appreciate the help!
    dnjkalnvfjdkln
    @dnjkalnvfjdkln
    Hi again, sorry!
    I use MX Linux, installed Python 3.9
    in usr /local/ bin, when fava is run the program searches for python 3.5 same as above Traceback (most recent call last):
    File "/usr/local/bin/fava", line 7, in <module>
    from fava.cli import main
    File "/usr/local/lib/python3.5/dist-packages/fava/cli.py", line 89
    print(f"Running Fava on http://{host}:{port}")
    Adam Gibbins
    @adamgibbins
    prefix fava with the name of your 3.9 binary
    python39 /usr/bin/fava or whatever
    dnjkalnvfjdkln
    @dnjkalnvfjdkln

    Ran the following:

    python3.9 /usr/local/bin/fava

    Traceback (most recent call last):
    File "/usr/local/bin/fava", line 7, in <module>
    from fava.cli import main
    ModuleNotFoundError: No module named 'fava'

    Jakob Schnitzer
    @yagebu
    You'll need to install Fava for Python 3.9 - so uninstall it first, and then install it with pip3.9 so that it is installed for Python 3.9 (currently it's installed at /usr/local/lib/python3.5/dist-packages/fava, so 3.9 won't find it, hence the ModuleNotFoundError)
    dnjkalnvfjdkln
    @dnjkalnvfjdkln
    Completed!! Thank you
    I uninstalled 3.5 on synaptic package manager
    switched to 3.9, and was able to run FAVA
    Take Care
    dnjkalnvfjdkln
    @dnjkalnvfjdkln

    I apologize again for asking for help, I posted this in Beancount-Mode Github, not sure if this would be answered, Can you assist as you did for fava?

    I loaded the beancount.el file for emacs
    i receive the following issues:

    When I try beancount mode: Alt-x beancount-mode I get an error:
    (beancount-highlight-transaction-at-point): (void-function beancount-highlight-transaction-at-point)

    When I open emacs:
    Warning (initialization): An error occurred while loading `/home/family281/.emacs.d/init.el':
    Symbol's value as variable is void: completion-category-default

    putzwasser
    @putzwasser
    Hi,
    is there a tutorial on how to create custom reports with fava and bean-query?
    putzwasser
    @putzwasser
    Thanks, then that has to be enough :D
    parseaus
    @parseaus

    I have been trying to get extensions running in Fava but without success.

    Installed them with pip --user. And have put 2000-01-01 custom "fava-extension" "fava_investor" "{}"in the top om my beancount file.

    When starting Fava the modules fail to load. What am I missing?

    Running MacOS.
    Extensions I am trying to use are Fava-investor and Fava-Envelope

    Alex Johnstone
    @alexjj
    Aside from pythonanywhere are there any good free hosting options for fava?
    Eugeniu Plamadeala
    @Zburatorul
    There's no place like localhost :)
    This message was deleted

    I have been trying to get extensions running in Fava but without success.
    When starting Fava the modules fail to load. What am I missing?

    @parseaus , You gotta give us an error message or something.

    Dr Louis Kr├╝ger
    @llsjk_twitter
    How do one save the sort order permanently?
    putzwasser
    @putzwasser
    Not fava specific, but rahter beancount related: Can I create a lot specifing a total cost/price instead of a price per unit? https://beancount.github.io/docs/beancount_language_syntax.html#costs-and-prices says it is possible to use @@ for the price, but I'm wondering if that's possible for lots, too?
    Writing {@@ 315 EUR} in the lot part throws an error.
    Martin Blais
    @blais
    Try the total syntax,e.g. { # 315 EUR}
    The full syntax is { <per-unit> # <total> <currency>} and you can leave either the first part out
    There used to be {{...}} which still works afaik
    putzwasser
    @putzwasser
    Thanks! Couldn't find it in the docs, maybe it's worth adding it?
    grostim
    @grostim
    Hi everybody.
    I usually don't track the cost of my foreign currencies portfolios. In that case, how are accounted the increase losses in values ?
    putzwasser
    @putzwasser
    I tired the filter by date function, so query holdings/lots I acquired last year. I entered year-1 - year in the search bar, but still all lots are shown. What's my mistake here?
    Entering just 2020 will show everything up to 2020 and excludes all entries from 2021. Same goes for 2019 (20xx-2019, but not 2020/2021). I'd like it exactly the other way around this time :D how can I do that?
    parseaus
    @parseaus

    I have been trying to get extensions running in Fava but without success.
    When starting Fava the modules fail to load. What am I missing?

    @parseaus , You gotta give us an error message or something.

    The only error message I get is Importing module "fava_investor" failed..

    Martin Blais
    @blais
    @putzwasser Tell me which doc, I'll give you suggestion access for you to add it.
    @grostim They're not; you're just holding them. If you wanted to deal with that elegantly, the right way is to use the currency trading accounts method (will the default in v3, v2 has an incomplete plugin as proof of concept). With that method you'd have the accumulated realized profits in Equity which you could draw from. I'll write a doc once v3 has this feature built-in.
    @putzwasser I don't understand your date question.
    @parseaus Check your PYTHONPATH. Can you import that module on the commandline? e.g. python3 -m fava_investor
    Signing off
    image.png
    I mean this search/filter field:
    Accodring to the fava help this should only show the entries made in 2020 and 2021
    Jakob Schnitzer
    @yagebu

    I tired the filter by date function, so query holdings/lots I acquired last year. I entered year-1 - year in the search bar, but still all lots are shown. What's my mistake here?

    @putzwasser: The holdings report will show all commodities held in 2020 if you filter for 2020, not all commodities acquired in 2020. For the latter, you'll need to look at the journal or use the BQL

    putzwasser
    @putzwasser
    Thanks for the info