Newbie - No application set to open .beancount file

62 views
Skip to first unread message

Jad

unread,
May 25, 2020, 6:21:19 AM5/25/20
to Beancount
Hello,

I've read through the documentation but I could have missed something.
When going for the tutorial, I generated a example.beancount file in my Terminal.

Nevertheless, I can't open example.beancount as the error message says "No application is set to open beancount file"

Anyone willing to help a noob here ?

Btw, I have no prior experiance with Python. Should I take a Python class first ?

Thanks,
Jad

Martin Michlmayr

unread,
May 25, 2020, 6:27:01 AM5/25/20
to bean...@googlegroups.com
* Jad <jad.be...@gmail.com> [2020-05-25 03:21]:
> I've read through the documentation but I could have missed
> something. When going for the tutorial, I generated a
> example.beancount file in my Terminal.
>
> Nevertheless, I can't open example.beancount as the error message
> says "No application is set to open beancount file"

A beancount file is just a plain text file.

It sounds like you're on Windows?

You can use any editor to edit beancount files. For some editors
(like Emacs and vim, but they are more popular on Linux and macOS),
there are plugins for beancount which do stuff like syntax
highlighting or tab completion for account names. I'm not sure if
this is available for a common editor on Windows. (Although Emacs and
vim probably work there.)

> Btw, I have no prior experiance with Python. Should I take a Python
> class first ?

You don't need to know Python to use beancount. If you want to
enhance beancount, for example by writing bank importers or plugins,
then you'd need Python.

--
Martin Michlmayr
https://www.cyrius.com/

Jad Benyahia

unread,
May 25, 2020, 6:47:52 AM5/25/20
to bean...@googlegroups.com
Hi Martin,

Thank you for your prompt answer.
I'm on MacOS :)
I'll try downloading Emacs then :)

Thank you!

--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/6zWttkjJAeo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/20200525102653.GN27668%40jirafa.cyrius.com.

tinot...@gmail.com

unread,
May 25, 2020, 7:02:43 AM5/25/20
to Beancount
Hi, 

If you are starting, I’d recommend you some other editor… I know that emacs is really good but for starting…

I would recommend you Visual Code https://code.visualstudio.com/. Is free and really good. 

Once installed you must look for an extension that helps you with the beancount files. There is one I’m using for a year that save lots of work: 


This extension is going to show you options from your Beancount file as you are writing. E.g.: If you start a line with 2, it’s going to propose you filling the complete date for today.
Or, if you start next line by.. Expenses: is going to propose all your accounts starting with Expenses. If you start a line with Food, is going to propose (if you have the accounts) Expenses:Food, Expenses:Weekend:Food and so on.

Hope helps.

Regards.



On Monday, May 25, 2020 at 12:47:52 PM UTC+2, Jad wrote:
Hi Martin,

Thank you for your prompt answer.
I'm on MacOS :)
I'll try downloading Emacs then :)

Thank you!

Le lun. 25 mai 2020 à 12:27, Martin Michlmayr <t...@cyrius.com> a écrit :
* Jad <jad.b...@gmail.com> [2020-05-25 03:21]:

> I've read through the documentation but I could have missed
> something.  When going for the tutorial, I generated a
> example.beancount file in my Terminal.
>
> Nevertheless, I can't open example.beancount as the error message
> says "No application is set to open beancount file"

A beancount file is just a plain text file.

It sounds like you're on Windows?

You can use any editor to edit beancount files.  For some editors
(like Emacs and vim, but they are more popular on Linux and macOS),
there are plugins for beancount which do stuff like syntax
highlighting or tab completion for account names.  I'm not sure if
this is available for a common editor on Windows.  (Although Emacs and
vim probably work there.)

> Btw, I have no prior experiance with Python. Should I take a Python
> class first ?

You don't need to know Python to use beancount.  If you want to
enhance beancount, for example by writing bank importers or plugins,
then you'd need Python.

--
Martin Michlmayr
https://www.cyrius.com/

--
You received this message because you are subscribed to a topic in the Google Groups "Beancount" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/beancount/6zWttkjJAeo/unsubscribe.
To unsubscribe from this group and all its topics, send an email to bean...@googlegroups.com.

Jad Benyahia

unread,
May 25, 2020, 7:03:43 AM5/25/20
to bean...@googlegroups.com
Thanks :) 
This is perfect

To unsubscribe from this group and all its topics, send an email to beancount+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/f2a9589f-e461-43b7-9759-82458a0156f6%40googlegroups.com.

Martin Michlmayr

unread,
May 25, 2020, 7:11:52 AM5/25/20
to bean...@googlegroups.com
I just found this:

https://awesome-beancount.com/#editor-support


* Jad Benyahia <jad.be...@gmail.com> [2020-05-25 12:47]:
> You received this message because you are subscribed to the Google Groups "Beancount" group.
> To unsubscribe from this group and stop receiving emails from it, send an email to beancount+...@googlegroups.com.
> To view this discussion on the web visit https://groups.google.com/d/msgid/beancount/CAFZ2AUtnOC%2Bmx4Bm8ei1YrqhUqzzXa6Pq1Ae5s4bXQ6zta4CCw%40mail.gmail.com.
Reply all
Reply to author
Forward
0 new messages