Rescue Time Ubuntu 10.04 extensions/*/app_name commands not getting run.

Bug #606955 reported by j0rd
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
RescueTime Linux Uploader
Confirmed
Undecided
Dirk T

Bug Description

From what I can, in Ubuntu 10.04 the extension/*/app_name are never getting run based on current window. I'm not sure why.

But this is causing every app to simply use title for it, which changes very frequently, leaving me with like 50 hours "undefined" a week and about 4 defined.

Revision history for this message
Joseph Lisee (jlisee) wrote :

I don't think thats the answer, only the Skype "app_name" extension appears to do that kind of processing. The application name should be properly retrieved through a query to the X11 server through the command line xprop program.

I think I found a small bug with the parsing of this application names that which ignores all app names with non-alphanumeric characters, and uses title names instead. See the attached patch (already included in the chrome patch set), it might fix the issue.

Revision history for this message
Paul Dubs (paul-dubs) wrote :

Try this: sudo find /usr/local/lib/python2.6/dist-packages/RescueTimeUploader*/RescueTimeUploader/extensions -type f -exec chmod +x '{}' ';'

It will make them runnable, and that worked for me.

Revision history for this message
Dirk T (miriup) wrote :

I guess we should make sure as part of the installation procedure that all app extensions are executable. I also been wondering what to do on platforms that restrict filesystem locations where executables can be.

Changed in rescuetime-linux-uploader:
assignee: nobody → Dirk T (miriup)
status: New → Confirmed
Revision history for this message
Dirk T (miriup) wrote :

The recently proposed branch for merging implementing wine plugins had some code to take care of the executable bit.

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

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.