jonsterling / Tasky

A Taskwarrior client. This was created to fill my own need: feel free to modify it! If it looks really ugly, you probably have your terminal configured wrong.
31 stars 3 forks source link

Tasky Crashy #1

Open linuxcaffe opened 11 years ago

linuxcaffe commented 11 years ago

just installed it to give it a whirl.. cute! in a work-in-progress way.. I moved the *.py binaries into my ~/bin/ ran it, got some nice lookin list actions, tried to change the filter and BOOM!

see shrapnel at https://gist.github.com/linuxcaffe/5068616

jonsterling commented 11 years ago

Yikes! I've not seen this one before... When it crashed, had you yet begun to type in the filter?

linuxcaffe commented 11 years ago

Yes, the crash is after hitting On Mar 3, 2013 11:08 AM, "Jonathan Sterling" notifications@github.com wrote:

Yikes! I've not seen this one before... When it crashed, had you yet begun to type in the filter?

— Reply to this email directly or view it on GitHubhttps://github.com/jonsterling/Tasky/issues/1#issuecomment-14349052 .

jonsterling commented 11 years ago

Hmm... I'm having trouble reproducing that. If it happens again, let me know what you'd typed as the filter and I'll have a look.

Thanks!

linuxcaffe commented 11 years ago

Happens with any attempted filter change. Filters as arguments work fine. On Mar 3, 2013 11:14 AM, "Jonathan Sterling" notifications@github.com wrote:

Hmm... I'm having trouble reproducing that. If it happens again, let me know what you'd typed as the filter and I'll have a look.

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/jonsterling/Tasky/issues/1#issuecomment-14349168 .

linuxcaffe commented 11 years ago

I'm away from the machine, but I'll be more detailed asap. Any debugging suggestions? On Mar 3, 2013 11:16 AM, "David J Patrick" davamundo@gmail.com wrote:

Happens with any attempted filter change. Filters as arguments work fine. On Mar 3, 2013 11:14 AM, "Jonathan Sterling" notifications@github.com wrote:

Hmm... I'm having trouble reproducing that. If it happens again, let me know what you'd typed as the filter and I'll have a look.

Thanks!

— Reply to this email directly or view it on GitHubhttps://github.com/jonsterling/Tasky/issues/1#issuecomment-14349168 .

jonsterling commented 11 years ago

Thanks! The first place I'd check is to see whether it has something to do with differences in Python versions (I'm running 2.7.2 at the moment). I did hear tell that there were some changes in the way that unicode is handled in Python, but I don't quite recall of what sort they were.

On 03/03 @ 08, David J Patrick wrote:

I'm away from the machine, but I'll be more detailed asap. Any debugging suggestions? On Mar 3, 2013 11:16 AM, "David J Patrick" davamundo@gmail.com wrote:

Happens with any attempted filter change. Filters as arguments work fine. On Mar 3, 2013 11:14 AM, "Jonathan Sterling" notifications@github.com wrote:

Hmm... I'm having trouble reproducing that. If it happens again, let me know what you'd typed as the filter and I'll have a look.

Thanks!

— Reply to this email directly or view it on GitHubhttps:// github.com/jonsterling/Tasky/issues/1#issuecomment-14349168 .

— Reply to this email directly or view it on GitHub.*

linuxcaffe commented 11 years ago

still crashy for me! after a fresh git clone and moved it to ~/bin/, tried the "ln -s" and that (correctly) made no difference. Here's the inevitable result of hitting < enter >;

djp@tigger:~/tmp/Tasky$ tasky.py 
Traceback (most recent call last):
  File "/home/djp/bin/tasky.py", line 158, in 
    Tasky()
  File "/home/djp/bin/tasky.py", line 48, in __init__
    loop.run()
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 274, in run
    self.screen.run_wrapper(self._run)
  File "/usr/lib/python2.7/dist-packages/urwid/raw_display.py", line 237, in run_wrapper
    return fn()
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 307, in _run
    self.event_loop.run()
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 682, in run
    self._loop()
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 720, in _loop
    self._watch_files[fd]()
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 358, in _update
    self.process_input(keys)
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 453, in process_input
    something_handled |= bool(self.unhandled_input(k))
  File "/usr/lib/python2.7/dist-packages/urwid/main_loop.py", line 488, in unhandled_input
    return self._unhandled_input(input)
  File "/home/djp/bin/tasky.py", line 79, in keystroke
    ' ': (self.warrior.toggle_active, True)
AttributeError: TaskWarrior instance has no attribute 'toggle_active'
djp@tigger:~/tmp/Tasky$ 

that's with task 2.2.0 built for linux

at least the stack of error messages is down by half of earlier attempts :) and Python 2.7.3