lfos / calcurse

A text-based calendar and scheduling application
https://calcurse.org
BSD 2-Clause "Simplified" License
991 stars 94 forks source link

Calcurse in termux #421

Open estlaurent opened 2 years ago

estlaurent commented 2 years ago

I am trying to use Calcurse in Termux on an android phone with Syncthing to sync the files.

Desktop - Ubuntu 20.04.4 Termux Calcurse 4.7.1

I have set an alias in my basrc on the computer like this: alias calc='calcurse -D /home/eric/Documents/sync-to-phone/.calcurse'

and on the phone I have: alias calc='calcurse -D /data/data/com.termux/files/home/storage/shared/Documents/sync-to-phone/.calcurse

When trying to launch calcurse on the phone I get the following message:

INTERNAL ERROR Please report the following bug: /home/builder/.termux-build/calcurse/src/src/

Does anyone have an idea of what could be done here? Thanks in advance!

lfos commented 2 years ago

Hi, thank you for reporting the bug.

Which version of calcurse is running on the phone? Do you get the same error when running on your phone without any parameters? If you don't get the error when running without parameters, could you please try to reduce the config to a minimal config that can be used to reproduce the error?

estlaurent commented 2 years ago

Hi,

The Calcurse version on the phone is also 4.7.1 It works perfectly well when running it without any parameters. In that case, the files are at: ~/.local/share/calcurse/

However opening with another calendar doesn't work: calcurse -c ~/storage/shared/Documents/sync-to-phone/.calcurse causes it to hang (I get a blank screen)

calcurse -D ~/storage/shared/Documents/sync-to-phone/.calcurse brings up the internal error message mentioned above.

My config file is minimal (the only change is the color)

Hope this helps, please let me know if there is anymore information I could provide.

Thank you!

lfos commented 2 years ago

Thanks, Eric! Can you please confirm the same error is shown if calcurse is started without any arguments + color is then changed via the configuration menu (to the same color scheme that's configured in ~/storage/shared/Documents/sync-to-phone/.calcurse)?

estlaurent commented 2 years ago

Yes, the same error happens.

I started without any arguments and then changed the color to the same settings as what is configured in ~/storage/shared/Documents/sync-to-phone/.calcurse.

I then tried again: calcurse -D ~/storage/shared/Documents/sync-to-phone/.calcurse

and got the same error: INTERNAL ERROR Please report the following bug: /home/builder/.termux-build/calcurse/src/src/

lfos commented 2 years ago

Thanks for confirming! Is there any chance you can extract the full error message (the messages you've copy-pasted so far seem to be cropped after [...]src/src/).

estlaurent commented 2 years ago

Hi Lukas, that is the whole message. I've clicked inside the message field, selected everything and pasted that elsewhere, to no avail. There was no additional text after src/src/

Screenshot_20220426-050819_Termux