Nux!


Home » Stella » Report a problem or request a feature » Clipgrab won't start!
Clipgrab won't start! [message #1249] Thu, 09 May 2013 08:36 Go to next message
kleo is currently offline  kleo
Messages: 92
Registered: February 2012
Member
[kleo@dhcppc0 Desktop]$ clipgrab -v
loaded the Generic plugin
can't make "generic.orientation" because no QAccelerometer sensors exist
Segmentation fault
Re: Clipgrab won't start! [message #1250 is a reply to message #1249] Thu, 09 May 2013 19:12 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

hi
can we have the exit to :
rpm -q -i clipgrab 


Qt/libQtWebKit on centos are very , very, crappy ...
thx

[Updated on: Thu, 09 May 2013 19:15]

Report message to a moderator

Re: Clipgrab won't start! [message #1251 is a reply to message #1249] Thu, 09 May 2013 19:32 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

That's odd, I just installed it, I get the same errors, minus the segmentation fault. The program starts and runs as expected.

Installed:
  clipgrab.x86_64 0:3.2.0.9-1.el6.nux                                                                                   

Dependency Installed:
  phantomjs.x86_64 0:1.6.0-4.el6.nux        qt-mobility.x86_64 0:1.1.3-2.el6        qtwebkit.x86_64 0:2.1.1-1.el6       

Complete!
$ clipgrab 
loaded the Generic plugin 
can't make "generic.orientation" because no QAccelerometer sensors exist

[Updated on: Thu, 09 May 2013 19:32]

Report message to a moderator

Re: Clipgrab won't start! [message #1252 is a reply to message #1250] Fri, 10 May 2013 06:00 Go to previous messageGo to next message
kleo is currently offline  kleo
Messages: 92
Registered: February 2012
Member
[root@dhcppc0 kleo]# rpm -q -i clipgrab
Name : clipgrab Relocations: (not relocatable)
Version : 3.2.0.9 Vendor: Nux!
Release : 1.el6.nux Build Date: Sun 07 Oct 2012 02:39:36 PM CEST
Install Date: Fri 10 May 2013 06:45:38 AM CEST Build Host: rpmbuilder
Group : Applications/Multimedia Source RPM: clipgrab-3.2.0.9-1.el6.nux.src.rpm
Size : 563428 License: GPLv3
Signature : RSA/SHA1, Sun 07 Oct 2012 02:41:43 PM CEST, Key ID e98bfbe785c6cd8a
Packager : http://li.nux.ro/
URL : http://clipgrab.de
Summary : Video downloader
Description :
A program which downloads and converts online videos from YouTube, Vimeo,
DailyMotion, MyVideo and many other platforms.
[root@dhcppc0 kleo]#
Re: Clipgrab won't start! [message #1255 is a reply to message #1249] Fri, 10 May 2013 10:07 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Can you run it as
strace clipgrab
and paste the output?

Something is wrong there on your side. Is that 32 or 64 bit?
Re: Clipgrab won't start! [message #1256 is a reply to message #1249] Fri, 10 May 2013 10:48 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Actually this is getting interesting. Yesterday on my work station it ran just fine, now on my laptop it dies with "segmentation fault".
I'll try to debug this more.


Re: Clipgrab won't start! [message #1257 is a reply to message #1255] Fri, 10 May 2013 11:12 Go to previous messageGo to next message
kleo is currently offline  kleo
Messages: 92
Registered: February 2012
Member
It is 64 bit.
  • Attachment: clipgrab.txt
    (Size: 334.86KB, Downloaded 417 times)
Re: Clipgrab won't start! [message #1258 is a reply to message #1256] Fri, 10 May 2013 11:21 Go to previous messageGo to next message
kleo is currently offline  kleo
Messages: 92
Registered: February 2012
Member
That does not happens if I remove qtwebkit-2.1.* from EPEL and install qtwebkit: http://dl.atrpms.net/sl6-x86_64/atrpms/stable/qtwebkit-2.0-3 .el6.x86_64.rpm from ATRPMS!?!

Re: Clipgrab won't start! [message #1259 is a reply to message #1249] Fri, 10 May 2013 11:25 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Hmm! This is weird...
I'm trying to get in touch with the developer, see if there's an elegant way out of this.
Re: Clipgrab won't start! [message #1261 is a reply to message #1259] Fri, 10 May 2013 17:34 Go to previous messageGo to next message
kleo is currently offline  kleo
Messages: 92
Registered: February 2012
Member
[kleo@dhcppc0 Desktop]$ rpm -q clipgrab
clipgrab-3.2.0.11-1.el6.nux.x86_64
[kleo@dhcppc0 Desktop]$ clipgrab -v
loaded the Generic plugin
can't make "generic.orientation" because no QAccelerometer sensors exist
Segmentation fault
[kleo@dhcppc0 Desktop]$
Re: Clipgrab won't start! [message #1262 is a reply to message #1250] Fri, 10 May 2013 18:55 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

symbianflo wrote on Thu, 09 May 2013 18:12


Qt/libQtWebKit on centos are very , very, crappy ...


It got nothing to do with the source ... as I said before about QtWebKit on centos....
this is a known old bug in qtebkit , that was not fixed on centos....
maybe the atrpms guys patched ,as it should be ...
https://bugs.webkit.org/show_bug.cgi?id=65170

Nux take a look at atrpms qtwebkit build.

[Updated on: Fri, 10 May 2013 18:58]

Report message to a moderator

Re: Clipgrab won't start! [message #1264 is a reply to message #1249] Fri, 10 May 2013 23:00 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

The right place to fix this is in EPEL.
There's a big version difference between EPEL and ATrpms...
Re: Clipgrab won't start! [message #1265 is a reply to message #1249] Fri, 10 May 2013 23:01 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

Symbianflo,

If you know more details about the nature of this problem and the patch that fixes it, then I could go ahead and push for a fix in EPEL.

Re: Clipgrab won't start! [message #1266 is a reply to message #1265] Sat, 11 May 2013 09:09 Go to previous messageGo to next message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

https://bugs.webkit.org/attachment.cgi?id=102634&action= review

here you have all the hystory and patches, the fixed bug is here.
https://bugs.webkit.org/show_bug.cgi?id=65170

should be enough that the maintainer of qtwebkit on EPEL apply this patches... just give him the bug link
accepted and pushed diff up is:

diff --git a/Source/WebKit/qt/ChangeLog b/Source/WebKit/qt/ChangeLog
index 1d42cd2..339aec4 100644
--- a/Source/WebKit/qt/ChangeLog
+++ b/Source/WebKit/qt/ChangeLog
@@ -1,5 +1,15 @@
 2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
 
+        [Qt] Fix tst_QWebFrame::connectAndDisconnect() API test
+        https://bugs.webkit.org/show_bug.cgi?id=65170
+
+        Reviewed by NOBODY (OOPS!).
+
+        * tests/qwebframe/tst_qwebframe.cpp: Mark failing test case as expected fail
+        (tst_QWebFrame::connectAndDisconnect):
+
+2011-08-02  Kristóf Kosztyó  <Kosztyo.Kristof@stud.u-szeged.hu>
+
         [Qt] Fix tst_QWebElement::render() API test
         https://bugs.webkit.org/show_bug.cgi?id=65243
 
diff --git a/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp b/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
index b423317..cdafc3c 100644
--- a/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
+++ b/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
@@ -1454,6 +1454,7 @@ void tst_QWebFrame::connectAndDisconnect()
     QCOMPARE(evalJS("gotSignal"), sTrue);
     QCOMPARE(evalJS("signalArgs.length == 0"), sTrue);
     QCOMPARE(evalJS("signalSender"),evalJS("myObject"));
+    QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=65170", Continue);
     QCOMPARE(evalJS("slotThisObject == window"), sTrue);
 
     evalJS("gotSignal = false");
@@ -1559,6 +1560,7 @@ void tst_QWebFrame::connectAndDisconnect()
     // one argument
     QCOMPARE(evalJS("myObject.mySignalWithIntArg.connect(myObject.mySlotWithIntArg)"), sUndefined);
     m_myObject->resetQtFunctionInvoked();
+    QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=65170", Continue);
     QCOMPARE(evalJS("myObject.mySignalWithIntArg(123)"), sUndefined);
     QCOMPARE(m_myObject->qtFunctionInvoked(), 21);
     QCOMPARE(m_myObject->qtFunctionActuals().size(), 1);
@@ -1567,6 +1569,7 @@ void tst_QWebFrame::connectAndDisconnect()
 
     QCOMPARE(evalJS("myObject.mySignalWithIntArg.connect(myObject.mySlotWithDoubleArg)"), sUndefined);
     m_myObject->resetQtFunctionInvoked();
+    QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=65170", Continue);
     QCOMPARE(evalJS("myObject.mySignalWithIntArg(123)"), sUndefined);
     QCOMPARE(m_myObject->qtFunctionInvoked(), 22);
     QCOMPARE(m_myObject->qtFunctionActuals().size(), 1);
@@ -1575,6 +1578,7 @@ void tst_QWebFrame::connectAndDisconnect()
 
     QCOMPARE(evalJS("myObject.mySignalWithIntArg.connect(myObject.mySlotWithStringArg)"), sUndefined);
     m_myObject->resetQtFunctionInvoked();
+    QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=65170", Continue);
     QCOMPARE(evalJS("myObject.mySignalWithIntArg(123)"), sUndefined);
     QCOMPARE(m_myObject->qtFunctionInvoked(), 23);
     QCOMPARE(m_myObject->qtFunctionActuals().size(), 1);
@@ -1584,6 +1588,7 @@ void tst_QWebFrame::connectAndDisconnect()
     // connecting to overloaded slot
     QCOMPARE(evalJS("myObject.mySignalWithIntArg.connect(myObject.myOverloadedSlot)"), sUndefined);
     m_myObject->resetQtFunctionInvoked();
+    QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=65170", Continue);
     QCOMPARE(evalJS("myObject.mySignalWithIntArg(123)"), sUndefined);
     QCOMPARE(m_myObject->qtFunctionInvoked(), 26); // double overload
     QCOMPARE(m_myObject->qtFunctionActuals().size(), 1);
@@ -1592,6 +1597,7 @@ void tst_QWebFrame::connectAndDisconnect()
 
     QCOMPARE(evalJS("myObject.mySignalWithIntArg.connect(myObject['myOverloadedSlot(int)'])"), sUndefined);
     m_myObject->resetQtFunctionInvoked();
+    QEXPECT_FAIL("", "https://bugs.webkit.org/show_bug.cgi?id=65170", Continue);
     QCOMPARE(evalJS("myObject.mySignalWithIntArg(456)"), sUndefined);
     QCOMPARE(m_myObject->qtFunctionInvoked(), 28); // int overload
     QCOMPARE(m_myObject->qtFunctionActuals().size(), 1);


( the changelog is optional for packaging...)

[Updated on: Sat, 11 May 2013 09:11]

Report message to a moderator

Re: Clipgrab won't start! [message #1267 is a reply to message #1249] Sat, 11 May 2013 09:52 Go to previous messageGo to next message
nux is currently offline  nux
Messages: 1659
Registered: January 2012
Senior Member
Administrator

I tried to apply this patch against EPEL package, but unsuccessfully:

Patch #4 (webkit-qtwebkit-2.1-bla.patch):
+ echo 'Patch #4 (webkit-qtwebkit-2.1-bla.patch):'
+ /bin/cat /builddir/build/SOURCES/webkit-qtwebkit-2.1-bla.patch
+ /usr/bin/patch -p1 -b --suffix .bla --fuzz=0
can't find file to patch at input line 5
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Source/WebKit/qt/ChangeLog b/Source/WebKit/qt/ChangeLog
|index 1d42cd2..339aec4 100644
|--- a/Source/WebKit/qt/ChangeLog
|+++ b/Source/WebKit/qt/ChangeLog
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
1 out of 1 hunk ignored
can't find file to patch at input line 25
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|diff --git a/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp b/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
|index b423317..cdafc3c 100644
|--- a/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
|+++ b/Source/WebKit/qt/tests/qwebframe/tst_qwebframe.cpp
--------------------------
File to patch:
Skip this patch? [y]
Skipping patch.
6 out of 6 hunks ignored
RPM build errors:
error: Bad exit status from /var/tmp/rpm-tmp.0TRyZu (%prep)
Re: Clipgrab won't start! [message #1268 is a reply to message #1267] Sat, 11 May 2013 14:32 Go to previous message
symbianflo is currently offline  symbianflo
Messages: 176
Registered: January 2012
Location: italy
Senior Member

have you rediff it ?
Previous Topic: gnome-keyring or nautilus issue
Next Topic: sensors-detect doesn't find sensors (lm_sensors)
Goto Forum:
  


Current Time: Sun Sep 15 21:33:17 BST 2019

Total time taken to generate the page: 0.01836 seconds