Uzbl

Tasklist

FS#301 - [uzbl-git] [follow] Can't find variable: uzbl

Attached to Project: Uzbl
Opened by Noel Maersk (veox) - 2012-07-20 02:11:58 PM
Last edited by Brendan Taylor (bct) - 2012-11-21 02:59:00 AM
Task Type Bug Report
Category uzbl-browser & sample material
Status Closed
Assigned To No-one
Operating System Linux
Severity Medium
Priority Normal
Reported Version Development
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

After the most recent update on git (Jun 25, 2012) link following stopped working. The browser starts fine and everything else seems to work, except that when I type 'Fl', nothing happens: hints don't appear, and typing in the first hint's ref doesn't follow a link.

The relevant part of 'uzbl-browser -vvv':

...
External JavaScript file /home/veox/.local/share/uzbl:/usr/share/uzbl/examples/data:scripts/follow.js loaded
Exception occured while executing script:
At /usr/share/uzbl/examples/data/scripts/follow.js:16: ReferenceError: Can't find variable: uzbl
External JavaScript file /home/cy/.local/share/uzbl:/usr/share/uzbl/examples/data:scripts/formfiller.js loaded
Request starting -> http://127.0.0.1/favicon.ico
...
Exception occured while executing script:
At (command):1: TypeError: 'undefined' is not a function (evaluating 'uzbl.follow("asdfqwer", "", 'click')')
...

The funny thing here, as you see, is that follow.js gets a ReferenceError, whereas formfiller.js doesn't.

I've tried updating Dieterbe/master with 'git pull git://github.com/mathstuf/uzbl.git dev/script-cleanups', since this has an updated version of scripts, but it didn't help.

Also tried using an earlier git commit when building, but I get the same issue.

Latest stable (2012.05.14) has everything working fine.

Just in case, here's my system info:

host$ uname -a
Linux host.domain 3.4.4-3-ARCH #1 SMP PREEMPT Sun Jul 15 12:48:26 UTC 2012 x86_64 GNU/Linux (Arch Linux)
host$ uzbl-browser -V
Commit: 2012.05.14-143-g76bf61c
host$ uzbl-core -V
Commit: 2012.05.14-143-g76bf61c
host$ python -V
Python 3.2.3

If any other information/testing is needed, I'll provide it ASAP.
This task depends upon

Closed by  Brendan Taylor (bct)
2012-11-21 02:59:00 AM
Reason for closing:  Works for me
Additional comments about closing:  Thanks for closing this. :)
Comment by Noel Maersk (veox) - 2012-07-20 02:21:23 PM
Could this be due to me using libwebkit for GTK3?

libwebkit3 -- 1.8.1
gtk3 -- 3.4.3
libsoup -- 2.38.1
Comment by David Keijser (keis) - 2012-07-21 01:59:19 PM
Can you reproduce this from sandbox?
% make test-uzbl-browser-sandbox
Comment by Noel Maersk (veox) - 2012-07-24 11:43:31 AM
Ugh, no, I can't. If no event manager is already running, it starts the sandboxed one and works fine.

However, if I install the package, run its event manager and then run the sandboxed browser, it doesn't work. I'm using the 'examples' config here.

BTW, I must also patch the Makefile (http://www.uzbl.org/bugs/index.php?do=details&task_id=299) to install Uzbl. Could this be related?
Comment by Noel Maersk (veox) - 2012-11-12 10:58:34 AM
This is no longer present. Don't know why. Perhaps due to WebKit library renaming. I'm using webkitgtk3.

Since I seem to be the only person with this bug, requesting closure.

Loading...