Firefox extended info process doesn't always work

Bug #227060 reported by AlexFarran
2
Affects Status Importance Assigned to Milestone
RescueTime Linux Uploader
Incomplete
Undecided
Unassigned

Bug Description

I'm running Ubuntu 8.04, so I had to add a Firefox-2-bin symlink in the extensions directory before installing the uploader.

Half of my time is reported as firefox-2-bin. I've checked that currentURL is being updated correctly by monitoring it with dnotify. This is what the the uploader reports when there is no extended info:

Getting extended info from /home/alex/.python-eggs/RescueTimeUploader-80.2-py2.5.egg-tmp/RescueTimeUploader/extensions/Firefox-2-bin/extended_info
send-to: Firefox-2-bin
Custom Query - Fulbright - Trac - Mozilla Firefox

Firefox-2-bin (Custom Query - Fulbright - Trac - Mozilla Firefox) now focused (Extended info: None)

It looks like the extended_info process exits early, or never starts.

Revision history for this message
AlexFarran (alex-alexfarran) wrote :

I've learnt some python and added some debugging code. When the main process tries to read from the subprocess it often gets a broken pipe error. I think this is because the subprocess has finished before the main process tries to read from it. As a quick fix I've added a 1 second delay to the start of extended_info and that seems to have worked.

Revision history for this message
Elliot Murphy (statik) wrote :

Can you show me exactly where you added the delay?

Changed in rescuetime-linux-uploader:
assignee: nobody → statik
status: New → Incomplete
Revision history for this message
AlexFarran (alex-alexfarran) wrote :

Right at the start. Here's the file.

Elliot Murphy (statik)
Changed in rescuetime-linux-uploader:
assignee: Elliot Murphy (statik) → nobody
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.