Bug#540226: plasma-scriptengine-javascript: scripted-image plasmoid fails to display image

2009-08-06 Thread Martin Maurer
Package: plasma-scriptengine-javascript
Version: 4:4.2.4-1+b1
Severity: normal

I recently installed the scripted image plugin to display
a weather forecast as described in:
http://hanswchen.wordpress.com/2009/07/30/plasma-a-nice-weather-plasmoid-in-4-easy-steps/

I used 
http://www.yr.no/place/Austria/Upper_Austria/Linz/meteogram.png
as Image Url, Scale applet to content, and an update time of 30 minutes.

When I do a killall plasma  plasma I see the following error:
JS CONSOLE MESSAGE: line  1 :  ReferenceError: Can't find variable: init  

When I click configure and apply I get a similar error:
JS CONSOLE MESSAGE: line  1 :  ReferenceError: Can't find variable: 
configChanged

Excerpt from script.js (part of the code of scripted image):
function init()
{
//alert(init)
g_img = new Image();
g_img.onload = widhtHeightReady;

constraintsEvent(FormFactorConstraint);
configChanged();
}

configChanged is defined in this script too.

As others commented on the Blog post, that it works for them, I guess
it is not a bug of the scripted image plasmoid.

regards,
Martin Maurer

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.30.1 (SMP w/2 CPU cores)
Locale: LANG=C, LC_CTYPE=de_AT (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages plasma-scriptengine-javascript depends on:
ii  kdebase-runtime   4:4.2.4-2  runtime components from the offici
ii  kdelibs5  4:4.2.4-1  core libraries for all KDE 4 appli
ii  libc6 2.9-12 GNU C Library: Shared libraries
ii  libgcc1   1:4.4.0-5  GCC support library
ii  libplasma34:4.2.4-1  library for the KDE 4 Plasma deskt
ii  libqt4-script 4:4.5.2-1  Qt 4 script module
ii  libqtcore44:4.5.2-1  Qt 4 core module
ii  libqtgui4 4:4.5.2-1  Qt 4 GUI module
ii  libstdc++64.4.0-5The GNU Standard C++ Library v3

plasma-scriptengine-javascript recommends no packages.

plasma-scriptengine-javascript suggests no packages.

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-qt-kde-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#441298: Still reproducible?

2009-04-20 Thread Martin MAURER
Hi,

I still get a crash when closing tabs by middle click. This only happens
sporadically, when I have a lot of tabs open and start closing them. 

I meanwhile use HoverCloseButton (X button when moving the mouse over a
tab) to close the tabs. I can't recall crashing kde when using this or
Ctrl-W, but I can't tell for sure neither.

I have konqueror 3.5.10.dfsg.1-2 now and the backtrace has changed a
little bit:


[Thread debugging using libthread_db enabled]
[New Thread 0xb7e2c700 (LWP 10555)]
[KCrash handler]
#6  0xb7f7a424 in __kernel_vsyscall ()
#7  0x42450640 in *__GI_raise (sig=value optimized out)
at ../nptl/sysdeps/unix/sysv/linux/raise.c:64
#8  0x42452008 in *__GI_abort () at abort.c:88
#9  0x427e00a8 in __gnu_cxx::__verbose_terminate_handler ()
   from /usr/lib/libstdc++.so.6
#10 0x427ddf85 in ?? () from /usr/lib/libstdc++.so.6
#11 0x427ddfc2 in std::terminate () from /usr/lib/libstdc++.so.6
#12 0x427dec65 in __cxa_pure_virtual () from /usr/lib/libstdc++.so.6
#13 0x412b82f1 in KonqViewManager::removeTab (this=value optimized
out, 
tab=value optimized out)
at /tmp/buildd/kdebase-3.5.10.dfsg.1/./konqueror/konq_viewmgr.cc:565
#14 0x412b850d in KonqMainWindow::slotRemoveTabPopupDelayed (this=)

at /tmp/buildd/kdebase-3.5.10.dfsg.1/./konqueror/konq_mainwindow.cc:2752
#15 0x412db4c6 in KonqMainWindow::qt_invoke (this=value optimized
out, 
_id=value optimized out, _o=) at ./konq_mainwindow.moc:694
#16 0x44e677aa in QObject::activate_signal (this=value optimized out, 
clist=value optimized out, o=value optimized out)
at kernel/qobject.cpp:2359
#17 0x451c4f8e in QSignal::signal (this=value optimized out, t0=)
at .moc/release-shared-mt/moc_qsignal.cpp:100
#18 0x44e8470d in QSignal::activate (this=value optimized out)
at kernel/qsignal.cpp:215
#19 0x44e8bac3 in QSingleShotTimer::event (this=) at
kernel/qtimer.cpp:289
#20 0x44e02dc5 in QApplication::internalNotify (this=value optimized
out, 
receiver=value optimized out, e=value optimized out)
at kernel/qapplication.cpp:2638
#21 0x44e03e06 in QApplication::notify (this=value optimized out, 
receiver=value optimized out, e=value optimized out)
at kernel/qapplication.cpp:2375
#22 0x416bbde2 in KApplication::notify (this=value optimized out, 
receiver=value optimized out, event=value optimized out)
at /tmp/buildd/kdelibs-3.5.10.dfsg.1/./kdecore/kapplication.cpp:550
#23 0x44df8603 in QEventLoop::activateTimers (this=)
at kernel/qapplication.h:523
#24 0x44dadcbe in QEventLoop::processEvents (this=value optimized
out, 
flags=value optimized out) at kernel/qeventloop_x11.cpp:392
#25 0x44e1b7a0 in QEventLoop::enterLoop (this=value optimized out)
at kernel/qeventloop.cpp:201
#26 0x44e1b666 in QEventLoop::exec (this=) at kernel/qeventloop.cpp:148
#27 0x44e0345f in QApplication::exec (this=) at
kernel/qapplication.cpp:2761
#28 0x412d7a2c in kdemain (argc=value optimized out, 
argv=value optimized out)
at /tmp/buildd/kdebase-3.5.10.dfsg.1/./konqueror/konq_main.cc:206
#29 0xb7f6f464 in kdeinitmain (argc=1, argv=0x959f388) at
konqueror_dummy.cc:3
#30 0x0804f2f1 in launch (argc=1, _name=0x959eac4 konqueror, 
args=0x959eace \001, cwd=0x0, envc=1, envs=0x959eade , 
reset_env=false, tty=0x0, avoid_loops=false, 
startup_id_str=0x959eae3
nicisha;1240214933;43349;3969_TIME1110535)
at /tmp/buildd/kdelibs-3.5.10.dfsg.1/./kinit/kinit.cpp:673
#31 0x0804fa7d in handle_launcher_request (sock=9)
at /tmp/buildd/kdelibs-3.5.10.dfsg.1/./kinit/kinit.cpp:1240
#32 0x080500ca in handle_requests (waitForPid=0)
at /tmp/buildd/kdelibs-3.5.10.dfsg.1/./kinit/kinit.cpp:1443
#33 0x08050b6a in main (argc=5, argv=0xbfb77f84, envp=0xbfb77f9c)
at /tmp/buildd/kdelibs-3.5.10.dfsg.1/./kinit/kinit.cpp:1908




signature.asc
Description: This is a digitally signed message part


Bug#441298: konqueror: crash on tab close

2007-09-08 Thread Martin MAURER
Package: konqueror
Version: 4:3.5.7-2+b1
Severity: normal


konqueror sometimes crashes when I have a few tabs open and close one of
them by clicking the middle mouse button. This doesn't always happen on
the same web page and isn't easily reproducible (happens every now and
then).

Dist: Debian Testing (updated recently)

Backtrace:
Using host libthread_db library /lib/i686/cmov/libthread_db.so.1.
[Thread debugging using libthread_db enabled]
[New Thread -1208523072 (LWP 5008)]
[KCrash handler]
#6  0x4da39567 in KonqViewManager::showTab (this=0x8105810, view=0x0)
at /build/buildd/kdebase-3.5.7/./konqueror/konq_viewmgr.cc:717
#7  0x4da39e39 in KonqMainWindow::slotRemoveTabPopup (this=0x80cfaa0)
at /build/buildd/kdebase-3.5.7/./konqueror/konq_mainwindow.cc:2746
#8  0x4da5b991 in KonqMainWindow::qt_invoke (this=0x80cfaa0, _id=162, 
_o=0xbfbc3fdc) at ./konq_mainwindow.moc:693
#9  0x4c3e3d23 in QObject::activate_signal (this=0x82be9d0,
clist=0x82c3420, 
o=0xbfbc3fdc) at kernel/qobject.cpp:2356
#10 0x4c3e47c8 in QObject::activate_signal (this=0x82be9d0, signal=17)
at kernel/qobject.cpp:2325
#11 0x4d9fd47c in KonqFrameTabs::removeTabPopup (this=0x82be9d0)
at ./konq_tabs.moc:160
#12 0x4da492be in KonqFrameTabs::slotMouseMiddleClick (this=0x82be9d0, 
w=0x8a9a5d0)
at /build/buildd/kdebase-3.5.7/./konqueror/konq_tabs.cc:460
#13 0x4da49705 in KonqFrameTabs::qt_invoke (this=0x82be9d0, _id=71, 
_o=0xbfbc4104) at ./konq_tabs.moc:173
#14 0x4c3e3d23 in QObject::activate_signal (this=0x82be9d0,
clist=0x8292758, 
o=0xbfbc4104) at kernel/qobject.cpp:2356
#15 0x4d468591 in KTabWidget::mouseMiddleClick (this=0x82be9d0,
t0=0x8a9a5d0)
at ./ktabwidget.moc:354
#16 0x4d4685f5 in KTabWidget::mouseMiddleClick (this=0x82be9d0, index=1)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeui/ktabwidget.cpp:400
#17 0x4d4b1014 in KTabWidget::qt_invoke (this=0x82be9d0, _id=61, 
_o=0xbfbc4248) at ./ktabwidget.moc:384
#18 0x4da49623 in KonqFrameTabs::qt_invoke (this=0x82be9d0, _id=61, 
_o=0xbfbc4248) at ./konq_tabs.moc:180
#19 0x4c3e3d23 in QObject::activate_signal (this=0x82c0498,
clist=0x82bf868, 
o=0xbfbc4248) at kernel/qobject.cpp:2356
#20 0x4c3e463a in QObject::activate_signal (this=0x82c0498, signal=6,
param=1)
at kernel/qobject.cpp:2449
#21 0x4d427033 in KTabBar::mouseMiddleClick (this=0x82c0498, t0=1)
at ./ktabbar.moc:162
#22 0x4d4332c1 in KTabBar::mouseReleaseEvent (this=0x82c0498,
e=0xbfbc46d4)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdeui/ktabbar.cpp:237
#23 0x4c41acb2 in QWidget::event (this=0x82c0498, e=0xbfbc46d4)
at kernel/qwidget.cpp:4702
#24 0x4c52e7d9 in QTabBar::event (this=0x82c0498, e=0xbfbc46d4)
at widgets/qtabbar.cpp:1147
#25 0x4c37b4e0 in QApplication::internalNotify (this=0xbfbc4d5c, 
receiver=0x82c0498, e=0xbfbc46d4) at kernel/qapplication.cpp:2635
#26 0x4c37d6a1 in QApplication::notify (this=0xbfbc4d5c,
receiver=0x82c0498, 
e=0xbfbc46d4) at kernel/qapplication.cpp:2421
#27 0x4cad32c2 in KApplication::notify (this=0xbfbc4d5c,
receiver=0x82c0498, 
event=0xbfbc46d4)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kdecore/kapplication.cpp:550
#28 0x4c30e609 in QApplication::sendSpontaneousEvent
(receiver=0x82c0498, 
event=0xbfbc46d4) at kernel/qapplication.h:523
#29 0x4c30d292 in QETWidget::translateMouseEvent (this=0x82c0498, 
event=0xbfbc4b08) at kernel/qapplication_x11.cpp:4301
#30 0x4c30b6da in QApplication::x11ProcessEvent (this=0xbfbc4d5c, 
event=0xbfbc4b08) at kernel/qapplication_x11.cpp:3478
#31 0x4c321fb8 in QEventLoop::processEvents (this=0x80ab958, flags=4)
at kernel/qeventloop_x11.cpp:192
#32 0x4c395be6 in QEventLoop::enterLoop (this=0x80ab958)
at kernel/qeventloop.cpp:198
#33 0x4c3959f6 in QEventLoop::exec (this=0x80ab958)
at kernel/qeventloop.cpp:145
#34 0x4c37d089 in QApplication::exec (this=0xbfbc4d5c)
at kernel/qapplication.cpp:2758
#35 0x4da56495 in kdemain (argc=3, argv=0x80894a8)
at /build/buildd/kdebase-3.5.7/./konqueror/konq_main.cc:206
#36 0xb7f90454 in kdeinitmain (argc=3, argv=0x80894a8) at
konqueror_dummy.cc:3
#37 0x0804e66f in launch (argc=3, _name=0x80894c4 konqueror, 
args=0x808950d , cwd=0x0, envc=0, envs=0x8089512 ,
reset_env=false, 
tty=0x0, avoid_loops=false, startup_id_str=0x8050f54 0)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:673
#38 0x0804eeff in handle_launcher_request (sock=9)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1240
#39 0x0804f2af in handle_requests (waitForPid=0)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1443
#40 0x0805051c in main (argc=5, argv=0xbfbc57f4, envp=0xbfbc580c)
at /tmp/buildd/kdelibs-3.5.7.dfsg.1/./kinit/kinit.cpp:1909
#41 0x4cc05050 in __libc_start_main () from /lib/i686/cmov/libc.so.6
#42 0x0804bb51 in _start ()



-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.22.1 (SMP w/2 CPU cores; PREEMPT)
Locale: