-
Notifications
You must be signed in to change notification settings - Fork 209
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
The expression could not be evaluated (task-2.4.0-1) #181
Comments
Changing (tracurl.not:"") to (tracurl.any) also works for that particular filter. In db.py:
Seems to work. |
Cool - I ran into the same thing but couldn't find a workaround.. I ended up filing a bug on taskwarrior here -> https://bug.tasktools.org/browse/TW-1498 Can you submit that as a pull request? |
Ah, yeah. That's the problem (now that I think about it). Your workaround works for trac because the primary UDA trac uses is Other backends use numeric UDAs, and as mentioned in TW-1498, those are still broken in task-2.4.0. |
A pull request on here or the one for taskwarrior? The taskwarrior change I assume was purposeful for whatever rework went into 2.4.0. Just confused by the order of your comments I suppose. I only use trac, so I didn't dig deep enough to find out, but would changing that filter string in bugwarrior affect anything with a numeric UDA? |
Sorry to not be clear.
|
OK. task-2.4.1 is out and with it, bugwarrior-1.1.0. This should all be working now. |
After upgrading taskwarrior to 2.4.0-1, I receive the following when running bugwarrior-pull:
Downgrading to task-2.3.0-4 seemed to fix this. I've played around with taskwarrior, and it seems to be related to this change in e9bdb67:
taskwarrior/task@e9bdb67#diff-5dd069e991ecb94bdf07ac7e0f499470R877
Changing that line back makes bugwarrior work just fine. I'm wasn't sure if it was a problem with taskwarrior, or if bugwarrior needs to be adapted to this change; I don't know enough about the filter syntax to make that call. Looking at that change though, it seems it makes it impossible to check for an empty value, as a ("") is going to be quoted again, and it it doesn't seem to accept something like "(tracurl.not:)".
The text was updated successfully, but these errors were encountered: