GithubHelp home page GithubHelp logo

rtccli's People

Contributors

brenoleitao avatar er-1 avatar frediz avatar

Watchers

 avatar  avatar  avatar

Forkers

leitao er-1

rtccli's Issues

Error with -q option

Since few days I got this:

$ ./rtctask.py
Traceback (most recent call last):
File "./rtctask.py", line 402, in
if name == "main": main()
File "./rtctask.py", line 393, in main
workitem_fromquery(client, query)
File "./rtctask.py", line 219, in workitem_fromquery
maxlen = max([len(w['dc:title']) for w in workitems])
TypeError: string indices must be integers

Got the same if I set another query with -q.

Modified date

I'd like to have the "Modified Date" field in the output of rtctask.py -i ID

Parenting

It'd be useful to have an option (--parent for example) to attach a task to another.
FYI, the task 65244 is the child of the task 59407.

Set my own colors

Hi,
Is there a way to set my favorite colors instead of the ones set by default? by using the rc file may be?

Improve error messages

I got this:
$ ./rtctask.py -e 65881
Traceback (most recent call last):
File "./rtctask.py", line 376, in
if name == "main": main()
File "./rtctask.py", line 343, in main
task_edit(client, s)
File "./rtctask.py", line 268, in task_edit
subprocess.call([editor, temp.name])
File "/usr/lib/python2.7/subprocess.py", line 522, in call
return Popen(_popenargs, *_kwargs).wait()
File "/usr/lib/python2.7/subprocess.py", line 710, in init
errread, errwrite)
File "/usr/lib/python2.7/subprocess.py", line 1335, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory

I believe it's because EDITOR isn't set and vim isn't installed. It's not obvious to find from the error output.
That'd be cool to have human compatible error message ;)

Error when reopening a task

The task 65242 had the status "Done".
When reopening the task I got this:
$ ./rtctask.py --reopen 65242
Traceback (most recent call last):
File "./rtctask.py", line 402, in
if name == "main": main()
File "./rtctask.py", line 378, in main
r = Workitem(client, s).reopen()
File "./rtctask.py", line 164, in reopen
if r['rtc_cm:state'] == Task.INVALID:
NameError: global name 'Task' is not defined

I got a similiar error when moving a task from "New" to "In progress":
$ ./rtctask.py --startworking 65881
Traceback (most recent call last):
File "./rtctask.py", line 402, in
if name == "main": main()
File "./rtctask.py", line 372, in main
Workitem(client, s).startWorking()
File "./rtctask.py", line 154, in startWorking
r['rtc_cm:state'] = Task.INPROGRESS
NameError: global name 'Task' is not defined

Sort tasks

Hi,
I'd be cool to sort the output of rtctask.py -i ID by task id and/or task status.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.