Crashes all the time

Bug #1532492 reported by forteller
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Take a Break
Undecided
Jacob Vlijm

Bug Description

I'm back with a really vague bug report. I love TaB, but unfortunately it crashes all the time. Maybe mostly right after a break, but it also just crashes without any warning a lot too. So during a whole day I might end up only taking one break or two, because it crashes and doesn't restart when I click Restart on the Apport window telling me it has crashed.

Not sure what more I can tell you to help you debug this. Let me know if there's anything I can do. :)

Ubuntu Gnome 15.10 64 bit, updated to Gnome 3.18 with the Gnome Staging PPA.

Revision history for this message
Jacob Vlijm (vlijm) wrote :

Hi forteller, Thanks again!

Could you do me a favour? Could you start TaB, then open a terminal window, run:

ps -u yourusername ww?

You will find a line, looking like:

python3 /opt/takeabreak/takeabreak/takeabreak_run show_tooltips:True from_unidle:True autostart:True sleeptime:1 awaketime:50

...but differen, depending on your options. Then stop TaB (from GUI) and start Tab again, but now from the command line, using the exact command you just lokked up. Please keep it running until it crashes. Then could you post back what the error message (in the terminal) sais?

Thanks in advance!!

Changed in takeabreak:
assignee: nobody → Jacob Vlijm (vlijm)
Revision history for this message
Jacob Vlijm (vlijm) wrote :

btw ps -u yourusername ww without the question mark :)

Revision history for this message
forteller (forteller) wrote :

Yeah, I'd love to do all of that! But first you need to tell me how to start TaB from cli. When I try to just type takeabreak I'm tolkd "takeabreak: command not found"

So what is the name of the program I can use to run it from terminal?

Also: Should I then run ps -u yourusername ww from another terminal window? (I'm guessing I can't run anything new from the same terminal window after I've started the program until I quit it or it crashes.

Anyway: Here's the output after starting TaB from GUI:

7199 tty2 Sl+ 0:00 python3 /opt/takeabreak/takeabreak/takeabreak
7214 tty2 S+ 0:00 python3 /opt/takeabreak/takeabreak/takeabreak_run show_tooltips:True autostart:True from_unidle:True sleeptime:5 mode:message notify_msg:False

Revision history for this message
Bob Merhebi (bobmerhebi) wrote :

This is what I get when running it from the terminal:

~ python3 /opt/takeabreak/takeabreak/takeabreak
Traceback (most recent call last):
  File "/opt/takeabreak/takeabreak/takeabreak", line 2, in <module>
    from gi.repository import Gtk, Pango
ImportError: No module named 'gi'

Revision history for this message
Bob Merhebi (bobmerhebi) wrote :

Update: I installed the 'gi' module using pip under anaconda3 and now running it from the terminal results in a syntax error:

~ python3 /opt/takeabreak/takeabreak/takeabreak
Traceback (most recent call last):
  File "/opt/takeabreak/takeabreak/takeabreak", line 2, in <module>
    from gi.repository import Gtk, Pango
  File "/home/hadron/anaconda3/lib/python3.5/site-packages/gi/__init__.py", line 39
    print url
            ^
SyntaxError: Missing parentheses in call to 'print'

It doesn't not show up in the process under htop nor launch a any window.

Running it from the applications (under Gnome 3) works though.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers