MarshalJSON for type timeutil.TimeStamp: The system cannot find the path specified [Windows] #150
Labels
No Label
dependencies
duplicate
help wanted
invalid
kind/bug
kind/feature
needs reproduction
question
security
wontfix
No Milestone
No Assignees
2 Participants
Notifications
Due Date
No due date set.
Dependencies
No dependencies set.
Reference: vikunja/vikunja#150
Loading…
Reference in New Issue
No description provided.
Delete Branch "%!s(<nil>)"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
vikunja-master-windows-4.0-amd64.exe
Error
2020-03-06T11:10:45.4329312+11:00: ERROR ▶ handler/ReadAllWeb 004 json: error calling MarshalJSON for type timeutil.TimeStamp: The system cannot find the path specified.
json: error calling MarshalJSON for type timeutil.TimeStamp: The system cannot find the path specified.
System
Windows 10
Nginx running frontend
Symptoms
Web interface error 500 on nearly all actions. Sometimes performs the action and still error.
eg.
What did you configure as time zone?
Not sure what format it should be. I since set it back to the default as per the sample file "GMT", but still has the same issue.
Windows Server 2016 and Windows 10 tested if that helps
It seems this is an issue in Go itself: https://github.com/golang/go/issues/21881
As a workaround until we have a better solution, you could try to install go on your machine (not a good workaround at all, I know). I'll try to workaround into Vikunja in the meantime.
I'll try to use https://github.com/leighmcculloch/go-tz
I've merged a possible fix in
4472020ee9
, please test to see if the error still persists. A release should be available in about 45min.(Unfortunatly, I can't really test this since I don't have a windows machine, sorry for that)
Thank you. I will test new release once available
A new one is available: https://dl.vikunja.io/api/master/
Confirmed issue no longer exists on Windows Server 2016. Didn't have time to recompile frontend for the Windows 10 machine.
On a side note, frontend; I guess the config.json data is purly for the compiler and not runtime.
Great to hear it was fixed.
The
config.json
is currently only compile time, yes. That's something which needs to be fixed, but I need to find a good way to do this yet.Closing this as resolved.