Skip to content
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

Error: '-1' during sync #181

Open
TunnelThruTime opened this issue Mar 1, 2024 · 1 comment
Open

Error: '-1' during sync #181

TunnelThruTime opened this issue Mar 1, 2024 · 1 comment

Comments

@TunnelThruTime
Copy link

Hello,

I've been quite happy to find and get this app working, however it failed to sync today with
askwarriorMessage [headers={client=taskd 1.1.0, code=500, status=ERROR: '-1' is not a valid date in the 'm/d/Y' format.}, payload=Optional.empty].
It did this after I added some features to my database, such as a new uda, and
a new report I found onine which I updated the taskrc with.

# Custom UDA config 

uda.effort.type=string
uda.effort.label=Effort
uda.effort.values=s,m,l,xl,xxl
urgency.uda.effort.s.coefficient=1.5
urgency.uda.effort.m.coefficient=1.1
urgency.uda.effort.l.coefficient=1.0
urgency.uda.effort.xl.coefficient=-1.0
urgency.uda.effort.xxl.coefficient=-1.4

# Custom Reports config


report.next.labels=ID,Active,Age,Deps,P,E,Project,Tag,Recur,S,Due,Until,Description,Urg
report.next.columns=id,start.age,entry.age,depends,priority,effort,project,tags,recur,scheduled.countdown,due.relative,until.remaining,description,urgency

I find it hard to see how this could have caused a problem but other than using the wait:someday
modification command on some of the tasks I didn't do anything and all the other syncing attempts where successful.
I removed the someday dates, first by changing them, and then by deleting the someday tasks.
Neither worked in resolving the issue.

Could the dates remain in the data and still cause a syncing issue.
I'm using task version, 2.6.2, and thinking it would fix itself on upgrade
attempted and was told Warning: task 2.6.2_1 already installed. So i'm up to date

@felixschurk
Copy link

You might want to check to also delete the backlog.data locally.

In order then to resolve it, you would need to overwrite the data on the server with task sync init.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants