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

adding tasks breaks against task-2.4.0-beta3 #176

Closed
vlabakje opened this issue Jan 5, 2015 · 7 comments
Closed

adding tasks breaks against task-2.4.0-beta3 #176

vlabakje opened this issue Jan 5, 2015 · 7 comments

Comments

@vlabakje
Copy link

vlabakje commented Jan 5, 2015

Hey,

I'm testing the jira connection and stumbled upon this issue:
CRITICAL:command:oh noes
TRACE Traceback (most recent call last):
TRACE File "/usr/lib/python2.7/site-packages/bugwarrior-1.0.2-py2.7.egg/bugwarrior/command.py", line 49, in pull
TRACE synchronize(issue_generator, config)
TRACE File "/usr/lib/python2.7/site-packages/bugwarrior-1.0.2-py2.7.egg/bugwarrior/db.py", line 382, in synchronize
TRACE tw.task_add(**issue)
TRACE File "/usr/lib/python2.7/site-packages/taskw-0.8.6-py2.7.egg/taskw/warrior.py", line 664, in task_add
TRACE stderr,
TRACE KeyError: 'Error encountered while creating task;STDOUT: ; STDERR: '

I'm using task-2.4.0-beta3 and that seems to not like supplying a UUID to the task to be added. I've also made a comment in the ticket that caused this, here:
https://bug.tasktools.org/browse/TW-1420

@ralphbean
Copy link
Sponsor Collaborator

I'm using task-2.4.0-beta3

Ah, this is the problem. We're just not ready for task-2.4.0 yet but are working actively on getting there. Either use task-2.3.x for now or wait a few weeks until we have a fix for taskw and bugwarrior out. Thanks!

@ralphbean
Copy link
Sponsor Collaborator

FWIW, the latest blocker in porting stuff to task-2.4 is now a new bug in the cli tool: https://bug.tasktools.org/browse/TW-1498

@ralphbean
Copy link
Sponsor Collaborator

Can you test with a fresh install of the latest bugwarrior-1.1.0 and taskwarrior-2.4.1? Everything should be working now 🙏.

@mekanix
Copy link

mekanix commented Feb 25, 2015

I've installed from git and bugwarrior does the job of syncing but it errors on (un)locked file:

CRITICAL:command:oh noes
TRACE Traceback (most recent call last):
TRACE   File "/home/meka/.virtualenvs/v/local/lib/python2.7/site-packages/bugwarrior/command.py", line 64, in pull
TRACE     lockfile.release()
TRACE   File "/home/meka/.virtualenvs/v/local/lib/python2.7/site-packages/lockfile/pidlockfile.py", line 106, in release
TRACE     raise NotLocked("%s is not locked" % self.path)
TRACE NotLocked: /home/meka/.task/bugwarrior.lockfile is not locked

@ralphbean
Copy link
Sponsor Collaborator

That's... surprising. Can you remove that file and try again?

Also, what platform are you on? Linux? Mac?

@mekanix
Copy link

mekanix commented Feb 27, 2015

Sorry for disturbing, it was Mirakel sending gibberish. I think it's 2.3 vs 2.4 "thingie". In your comment you said you solved something similar. Can you point to pull request or the files or whatever you did to become taskwarrior 2.4 ready? I'd like to try to fix it for Mirakel, too. Thank you!

@ralphbean
Copy link
Sponsor Collaborator

@mekanix it was mostly here in ralphbean/taskw#68.

I'm going to close this since I think the original issue reported by @vlabakje was resolved.

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

3 participants