Bug#592374: qwit: crash with OAuth

2010-08-30 Thread dayer
Hi,

Thank you very much José María! I have checked with the package as
suggested by José María, libqca2-plugin-ossl, and now OAuth works very
well.

-- 
http://elhistorias.com



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



Bug#592374: qwit: crash with OAuth

2010-08-28 Thread José María Escartín Esteban

Hi,

I was experimenting the same problem with OAuth (qwit 1.0+svn346-1, running 
squeeze) , and it was solved by just installing libqca2-plugin-ossl 
(0.1~20070904-4).  This approach was also able to solve  what looks like an 
identical problem with OAuth in choqok, see bug #593537 [1].


Please, consider adding to the qwit package a dependency to package 
libqca2-plugin-ossl.


It would also be nice to have a new upstream version that corrects the other 
issue discussed in the previous mail exchange of the bug (initialization 
problems of a vector).


Thank you.

[1] http://bugs.debian.org/593537



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



Bug#592374: qwit: crash with OAuth

2010-08-13 Thread Carlos Galisteo
On Fri, Aug 13, 2010 at 6:13 PM, Florian Kriener  wrote:
> The bug is fixed since Revision 349. Please update the package, when you
> find some time. Thanks.

I'm not sure of it.

Revision 349 fixes the 'fresh start' crash, but this bug originally
refers to a not supported SHA1 problem which I'm still unable to
reproduce. Anyway, if don't find a solution for this one in a couple
days I'll update the package to revision 349.

Thanks.


-- 
---
Carlos Galisteo 
GPG key :0x8E0076E9:
Fingerprint: 939E 3D10 EAA2 A972 3AF2  E25C 26B7 D8E3 8E00 76E9
---



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



Bug#592374: qwit: crash with OAuth

2010-08-13 Thread Florian Kriener
The bug is fixed since Revision 349. Please update the package, when you 
find some time. Thanks.





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



Bug#592374: qwit: crash with OAuth

2010-08-10 Thread dayer
El Tue, 10 Aug 2010 15:51:29 +0200
Carlos Galisteo  escribió:
> On Mon, Aug 9, 2010 at 9:48 PM, Carlos Galisteo
>  wrote:
> 
> 
> Well, I have this one.
> 
> As I thought, it is a problem with an empty tweets widget (empty
> vector).
> 
> As you can see in the attached patch it can be easily skipped just not
> going though this lines on the first execution. (Obviously this is a
> proof of concept I'll send to upstream so he can implement a cleaner
> fix).
> 
> Alternatively, if you don't want to recompile, you can just edit
> ~/.qwit2/messages, and change '1\*\size' from 0 to 1. It'll allow you
> to run the application for the first time.
> 
> Please confirm this workaround is working for you and if you are able
> to reproduce the "HMAC(SHA1) is not supported" issue.
> 
> Thanks.
> 
> 

Hi. I have tried your solution about changes in
~/.qwit2/messages, and it goes very well.

I have deleted all qwit configuration files, open qwit (Debian
package version), configure and it crashs. Then I have done your changes
in "messages" files, open qwit again and it runs ok.

Now I can return to OAuth problem with HMAC(SHA1).

Thank you!


-- 
http://elhistorias.com



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



Bug#592374: qwit: crash with OAuth

2010-08-10 Thread Carlos Galisteo
On Mon, Aug 9, 2010 at 9:48 PM, Carlos Galisteo  wrote:

>> (and delete ~/.qwit2 and ~/.config/arti/qwit2.conf
>> $ qwit
>> (and configure for Twitter account WITHOUT OAuth)
>> Crash with output:
>> Fatal: ASSERT failure in QVector::operator[]: "index out of range",
>> file /usr/include/qt4/QtCore/qvector.h, line 346

Well, I have this one.

As I thought, it is a problem with an empty tweets widget (empty vector).

As you can see in the attached patch it can be easily skipped just not
going though this lines on the first execution. (Obviously this is a
proof of concept I'll send to upstream so he can implement a cleaner
fix).

Alternatively, if you don't want to recompile, you can just edit
~/.qwit2/messages, and change '1\*\size' from 0 to 1. It'll allow you
to run the application for the first time.

Please confirm this workaround is working for you and if you are able
to reproduce the "HMAC(SHA1) is not supported" issue.

Thanks.


-- 
---
Carlos Galisteo 
GPG key :0x8E0076E9:
Fingerprint: 939E 3D10 EAA2 A972 3AF2  E25C 26B7 D8E3 8E00 76E9
---
--- src/QwitTools.cpp   (revisión: 346)
+++ src/QwitTools.cpp   (copia de trabajo)
@@ -784,12 +784,20 @@
bool addingOldMessages = (messages.size() && (messages[0].id > receivedMessages[0].id));
 
 bool more = true;
-for (int i = 0; i < receivedMessages.size(); ++i) {
-if (receivedMessages[i].id > messages[messages.size() - 1].id) {
-more = false;
+
+if (messages.size() > 0){
+for (int i = 0; i < receivedMessages.size(); ++i) {
+if (receivedMessages[i].id > messages[messages.size() - 1].id) {
+more = false;
+}
 }
 }
+else{
 
+cout << "First time here?\n";
+
+}
+
for (int i = 0; i < receivedMessages.size(); ++i) {
usernames << receivedMessages[i].username;
QVector::iterator j = qBinaryFind(messages.begin(), messages.end(), receivedMessages[i]);


Bug#592374: qwit: crash with OAuth

2010-08-09 Thread Carlos Galisteo
On Mon, Aug 9, 2010 at 9:18 PM, dayer  wrote:
> (and delete ~/.qwit2 and ~/.config/arti/qwit2.conf
> $ qwit
> (and configure for Twitter account WITHOUT OAuth)
> Crash with output:
> Fatal: ASSERT failure in QVector::operator[]: "index out of range",
> file /usr/include/qt4/QtCore/qvector.h, line 346

OK, by deleting the config files I've managed to reproduce it, though
I think the problem may be more related to the fact that the widget is
empty rather than a configuration file issue.

I'll try to debug it properly (tomorrow). I see you already reported
the bug to upstream, I'll post any advance there too.

Thanks, You were really helpful.


-- 
---
Carlos Galisteo 
GPG key :0x8E0076E9:
Fingerprint: 939E 3D10 EAA2 A972 3AF2  E25C 26B7 D8E3 8E00 76E9
---



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



Bug#592374: qwit: crash with OAuth

2010-08-09 Thread dayer
Curiosity: I have purged qwit and his dependencies libqca2 and
libqoauth1.
Then I have copied libqca.so.2 and libqoauth.so.1 from
qwit-1.1-pre-x86_64 to /usr/lib. But it's the same.
$ ./qwit
Fatal: HMAC(SHA1) is not supported!

I have tried
# aptitude install libqtcore4 -t unstable
but...
No se instalará, actualizará o eliminará ningún paquete.


-- 
http://elhistorias.com



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



Bug#592374: qwit: crash with OAuth

2010-08-09 Thread dayer
El Mon, 9 Aug 2010 20:32:04 +0200
Carlos Galisteo  escribió:
> On Mon, Aug 9, 2010 at 7:53 PM, dayer  wrote:
> 
> There is something weird with your libqoauth1 version. It seems that
> 1.0-2 is hurd-i386 specific [1], but you seem to be running Linux
> 2.6.32-5-amd64.  Could you confirm that you have the correct
> libqoauth1 installed? (1.0.1-1)
> 
>  I'm running exactly the same kernel/arch and related packages
> versions (except for libqoauth1) and I can't reproduce any of those
> crashes.
> 
>  Any additional info about your environment would be appreciated in
> order to try to reproduce this bug.
> 
> Thanks.
> 
> 
> 
> [1]http://packages.debian.org/sid/libqoauth1
> 
> 

Ok. I have done:
# aptitude purge libqca2 libqoauth1 qwit
# aptitude install qwit -t unstable
(because libqoauth1 1.0.1-1 is from unstable and I use testing with
ftp.es.debian.org repositories)
# dpkg -l | grep libqoauth1
ii  libqoauth1
1.0.1-1   Qt-based client implementation of the OAuth
$ locate qwit
(and delete ~/.qwit2 and ~/.config/arti/qwit2.conf
$ qwit
(and configure for Twitter account WITHOUT OAuth)
Crash with output:
Fatal: ASSERT failure in QVector::operator[]: "index out of range",
file /usr/include/qt4/QtCore/qvector.h, line 346

Then I download the last qwit version from author web
(qwit-1.1-pre-x86_64).
Delete configuration file.
$ ~/qwit-1.1-pre-x86_64/qwit
Configure WITHOUT OAuth and all goes very well.

I think this is problem with config file that debian version creates.

Now I proceed to testing OAuth.
$ ~/qwit-1.1-pre-x86_64/qwit
I configure Twitter account WITH OAuth and I obtain the:
Fatal: HMAC(SHA1) is not supported!

And now if I want to can use qwit I have to delete configuration file
and open qwit (1.1 version) but use normal authentication.

Could be someone for QT4 testing version? Do you use testing or
unstable?

Thanks for all.

-- 
http://elhistorias.com



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



Bug#592374: qwit: crash with OAuth

2010-08-09 Thread Carlos Galisteo
On Mon, Aug 9, 2010 at 7:53 PM, dayer  wrote:
> I have tried to purge qwit and his dependences but now this is worse
> due to although I use plain-text authorization and any notification
> system qwit crash with:

There is something weird with your libqoauth1 version. It seems that
1.0-2 is hurd-i386 specific [1], but you seem to be running Linux
2.6.32-5-amd64.  Could you confirm that you have the correct
libqoauth1 installed? (1.0.1-1)

 I'm running exactly the same kernel/arch and related packages
versions (except for libqoauth1) and I can't reproduce any of those
crashes.

 Any additional info about your environment would be appreciated in
order to try to reproduce this bug.

Thanks.



[1]http://packages.debian.org/sid/libqoauth1


-- 
---
Carlos Galisteo 
GPG key :0x8E0076E9:
Fingerprint: 939E 3D10 EAA2 A972 3AF2  E25C 26B7 D8E3 8E00 76E9
---



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



Bug#592374: qwit: crash with OAuth

2010-08-09 Thread dayer
El Mon, 9 Aug 2010 19:32:45 +0200
Carlos Galisteo  escribió:
> On Mon, Aug 9, 2010 at 7:17 PM, dayer  wrote:
> 
> > I don't know if this is qwit problem or maybe libqoauth1.
> 
> Could you please check if libqca2 is installed on your system? (dpkg
> -l |grep qca)
> 
> Thanks.
> 

Yes. It return:

ii  libqca2
2.0.2-1   libraries for the Qt Cryptographic
Architect

I have tried to purge qwit and his dependences but now this is worse
due to although I use plain-text authorization and any notification
system qwit crash with:

Fatal: ASSERT failure in QVector::operator[]: "index out of range",
file /usr/include/qt4/QtCore/qvector.h, line 346

like someone says at qwit issues[1].

Thanks

[1] http://code.google.com/p/qwit/issues/detail?id=155

-- 
http://elhistorias.com



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



Bug#592374: qwit: crash with OAuth

2010-08-09 Thread Carlos Galisteo
On Mon, Aug 9, 2010 at 7:17 PM, dayer  wrote:

> I don't know if this is qwit problem or maybe libqoauth1.

Could you please check if libqca2 is installed on your system? (dpkg
-l |grep qca)

Thanks.

-- 
---
Carlos Galisteo 
GPG key :0x8E0076E9:
Fingerprint: 939E 3D10 EAA2 A972 3AF2  E25C 26B7 D8E3 8E00 76E9
---



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



Bug#592374: qwit: crash with OAuth

2010-08-09 Thread dayer
Package: qwit
Version: 1.0+svn346-1
Severity: normal

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

When I try to add a Twitter account qwit crash if I push in Authorize button.
Twitter account for "Plain-text authorization" goes very well.

This is the console output:

lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_add_friend(QString)
lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_unfollow_friend(QString,UserMgmtWidgetItem*)
lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_block_friend(QString,UserMgmtWidgetItem*)
lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_follow_follower(QString,UserMgmtWidgetItem*)
lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_unfollow_follower(QString,UserMgmtWidgetItem*)
lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_block_follower(QString,UserMgmtWidgetItem*)
lun ago 9 19:15:27 2010 Warning: QMetaObject::connectSlotsByName: No matching
signal for on_unblock_user(QString,UserMgmtWidgetItem*)
lun ago 9 19:15:27 2010 Warning: QLayout: Attempting to add QLayout "" to
FriendshipsMgmtPage "", which already has a layout
lun ago 9 19:15:27 2010 Warning: QLayout: Attempting to add QLayout "" to
MainWindow "MainWindow", which already has a layout
lun ago 9 19:15:32 2010 Fatal: HMAC(SHA1) is not supported!
Abortado

I don't know if this is qwit problem or maybe libqoauth1.



- -- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (990, 'testing'), (800, 'unstable'), (750, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.32-5-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages qwit depends on:
ii  libc6 2.11.2-2   Embedded GNU C Library: Shared lib
ii  libgcc1   1:4.4.4-8  GCC support library
ii  libqoauth11.0-2  Qt-based client implementation of 
ii  libqt4-network4:4.6.3-1  Qt 4 network module
ii  libqt4-xml4:4.6.3-1  Qt 4 XML module
ii  libqtcore44:4.6.3-1  Qt 4 core module
ii  libqtgui4 4:4.6.3-1  Qt 4 GUI module
ii  libstdc++64.4.4-8The GNU Standard C++ Library v3

qwit recommends no packages.

qwit suggests no packages.

- -- no debconf information

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.10 (GNU/Linux)

iEYEARECAAYFAkxgOC4ACgkQZ2Yp3M5Sh11PfwCfUlRDCpAimB7vqy3Ek6Zu5KO7
dogAoKJyxF9QC3uFpZgwLzdYdsjV9Itw
=agK1
-END PGP SIGNATURE-



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