Firefox extended info process doesn't always work
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/
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.
Changed in rescuetime-linux-uploader: | |
assignee: | Elliot Murphy (statik) → nobody |
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.