-
Notifications
You must be signed in to change notification settings - Fork 96
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
TimeZone error #110
Comments
My setup is BashUbuntu for windows 10, with taskwarrior 2.5.1 built from source. Some dependencies were missing so I installed them with apt install. Maybe I built it with the wrong dependencies ? The "task" CLI tool seems to work OK |
I would guess that the problem is that the underlying tzlocal library: https://github.com/regebro/tzlocal/ cannot determine your local timezone. While we could provide some fix (i.e. configuration option specifying the timezone explicitly), could you please raise an issue there? |
According to the sources of tzlocal, it should be sufficient to corretly setup a env variable for |
Hi, sorry for not answering earlier. |
Bad news, this does not solve the issue for me. I've set the LZ variable to /etc/localtime according to (http://www.gnu.org/software/libc/manual/html_node/TZ-Variable.html), but I have the same exact issue.
|
The underlying tzlocal library uses TZ, not LZ: https://github.com/regebro/tzlocal/blob/master/tzlocal/unix.py#L19 if I understand correctly, the following should work:
|
Oups, my bad! But it didn't fix the issue:
|
Try setting TZ to a "continent/city" timezone string, i.e. try Europe/Prague I used, not /etc/localtime filepath. Albeit using file is correct per docs you link, it makes tzlocal create a 'local' zone which is the root of the problem (local zones cannot be copied for some reason, I created a bug for this in tzlocal some time ago). |
It works! Thanks for taking the time to answer all my requests, I can't
wait to use your system =)
…---
Matthieu TALBOT
neogaldr@gmail.com
+33 629 22 15 70
fr.linkedin.com/in/matthieutalbot
http://www.soundcloud.com/Marty-Lake
http://lifehacker.com/5028808/how-eom-makes-your-email-more-efficient
On 4 January 2017 at 18:42, Tomas Babej ***@***.***> wrote:
Try setting TZ to a "continent/city" timezone string, i.e. try
Europe/Prague I used, not /etc/localtime filepath. Albeit using file is
correct per docs you link, it makes tzlocal create a 'local' zone which is
the root of the problem (local zones cannot be copied for some reason, I
created a bug for this in tzlocal some time ago).
—
You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
<#110 (comment)>,
or mute the thread
<https://github.com/notifications/unsubscribe-auth/ABMGShw6bNrV39KARjty1ANttuc4Txenks5rO9oTgaJpZM4LT1UC>
.
|
Just a note: I also got this bug. You might want to mention the fix/workaround on the README for others to have a less frustrating start using taskwiki. |
@Nudin : true, I've opened a PR for this =) |
Hi,
I tried to install everything and create a few tasks, but I run into an error when I use a filterview that should output at least one task.
What's the best way to provide you more informations to diagnostize this issue ?
Best,
the stack trace of python error
The text was updated successfully, but these errors were encountered: