You are not logged in.
After upgradin perl and urxvt, tabbedex is not working any more.
This is the error I get:
urxvt: perl hook 0 evaluation error: /usr/lib/urxvt/perl/tabbedex: syntax error at /usr/lib/urxvt/perl/tabbedex line 702, near "$hook qw(osc_seq_perl start destroy user_command key_press property_notify add_lines)"
syntax error at /usr/lib/urxvt/perl/tabbedex line 714, near "}
and this is the offending piece of code:
{
for my $hook qw(osc_seq_perl start destroy user_command key_press property_notify add_lines) {
eval qq{
sub on_$hook {
my \$parent = \$_[0]{term}{parent}
or return;
\$parent->tab_$hook (\@_)
}
};
die if $@;
}
}
I have no perl skills, I hope someone can give me a hand.
Thank you!
Offline
The line numbers in tabbedex's git HEAD indicate it's changed from the version you're using. Might be worth trying urxvt-tabbedex-git from AUR?
Offline
I get a similar error with the tabbed extension for the urxvt from the repos:
$ urxvtc -pe tabbed
urxvt: perl hook 0 evaluation error: /usr/lib/urxvt/perl/tabbed: syntax error at /usr/lib/urxvt
syntax error at /usr/lib/urxvt/perl/tabbed line 426, near "}
The file in question has only 423 lines ;P
Edit: Opened a bug report https://bugs.archlinux.org/task/35420
Last edited by karol (2013-05-22 13:22:28)
Offline
Moving from Applications & Desktop Environments to [testing] Repo Forum.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
The line numbers in tabbedex's git HEAD indicate it's changed from the version you're using. Might be worth trying urxvt-tabbedex-git from AUR?
You are right I was using a modified version of /usr/lib/urxvt/perl/tabbedex.
Now, I switched to urxvt-tabbedex-git (AUR) and the error persists.
urxvt: perl hook 0 evaluation error: /usr/lib/urxvt/perl/tabbedex: syntax error at /usr/lib/urxvt/perl/tabbedex line estroy user_command key_press property_notify add_lines)"
syntax error at /usr/lib/urxvt/perl/tabbedex line 681, near "}
The funny thing is:
$ wc -l /usr/lib/urxvt/perl/tabbedex
678 /usr/lib/urxvt/perl/tabbedex
Last edited by h0tbird (2013-05-23 19:21:10)
Offline
@Karol and others who use tabbed:
I found the source of the problem:
see here
https://metacpan.org/module/RJBS/perl-5 … arentheses
after applying simple patch to 'tabbed' I have working urxvt with tabbed extension.
Patch:
--- tabbed.orig 2012-09-12 17:32:04.000000000 +0900
+++ tabbed 2013-05-24 13:04:37.000000000 +0900
@@ -402,7 +402,7 @@
# simply proxies all interesting calls back to the tabbed class.
{
- for my $hook qw(start destroy key_press property_notify) {
+ for my $hook (qw(start destroy key_press property_notify)) {
eval qq{
sub on_$hook {
my \$parent = \$_[0]{term}{parent}
Offline
Thanks, lomov_vl! :-)
The tabbed file in question is /usr/lib/urxvt/perl/tabbed (just in case somebody got a bit confused ... like me ;P ).
Offline
Thank you!
It worked for tabbedex and other variants too.
Offline