maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [ANNOUNCE] www2sms - Send SMS via your providers website (https://talk.maemo.org/showthread.php?t=52754)

MaRRo81 2010-05-18 07:35

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
Wow..now works also the version installed through application manager! :) good!

so the problem was related to contact duplications'?

blubbi 2010-05-18 07:50

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
Quote:

Originally Posted by MaRRo81 (Post 663599)
Hi! Now it works as normal user (the one you attached) - didn't try as root yet.

The strange thing is that the first time I launched it, it didn't work ..unfortunatelly I didn't write the message down :( It was always a problem related to name, surname and alias.

Then I checked my address book and I saw that there was a duplication of some contacts..I adjusted them and then the program started working...

I hope it was useful..Now I'm gonna see how it works:)

Mmmh, interesting, my "contact gathering class" shouldn't worry about duplicate contacts, but maybe python-evolution complains at some point. Could you try to replicate the bug and send me the output?

Quote:

Originally Posted by MaRRo81 (Post 663603)
Wow..now works also the version installed through application manager! :) good!

so the problem was related to contact duplications'?

I am kinda surprised... I just tried to add a contact without name, surname or alias, and that is not allowed, so my list <-> string mix-up bug should never have been triggered. Please, please try to replicate the bug and see if in the contact selection box a contact appears with "No name available" or if an error rises.

Quote:

Originally Posted by MaRRo81 (Post 663599)
PS: I don't have any particular Desktop enviroment .. I also thought it was a problem related to the theme I use but the problem arises also with the standard ones :(

Mhh, that's odd. Lets see if we find more users with a encounter of the 4th kind ;)


Cheers
Bjoern

MaRRo81 2010-05-18 08:38

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
No...it's not related to duplication...mhh . I'm working on it to replicate the problem :)

nexus101 2010-05-18 09:09

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
Hi Bjoern,

I've just emailed you about problems installing www2sms on Maemo with libqt4.5 librarys.

The problem is that, the "Program manager" can't install www2sms because it depends on libqt4-core (>= 4.6.2) and libqt4-gui (>=4.6.2).
An automatic update to libqt4.6 is not possible.

Trying to install www2sms via xterm and 'apt-get install www2sms'
reveals, that is also depends on python2.5-qt4-gui (>=4.6.2) which itself depends on a bunch of libqt4-xxx (>=4.6.2).

So, I tried to manually update the system by installing these libs by downloading them and "dpkg -i" via xterm. Unfortunately, it's not possible to completely resolve all dependencies because the graphical program manager seems to depend on libqt4.5.3. So, I downgraded to libqt4.5 again.

In '/etc/apt/sources.list.d/hilden-application-manager.list' are the following 'fremantl"-entries:

deb http://repository.maemo.org/extras/ fremantle free non-free
deb http://repository.maemo.org/extras-devel/ fremantle free non-free

Am I missing something here to upgrade to libqt4.6?
How did you upgraded to libqt4.6 with your N900? :-)
(Or more easy for us dumb users ;-) -- ) Can you provide www2sms for libqt4.5? :-)

Thanks a lot!
nexus

NokiaRocks 2010-05-18 09:12

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
I can't really find the python stuff in the program manager (extras testing and devel activated).

And is it completely free when sending sms with this app ?

MaRRo81 2010-05-18 09:17

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
I've just discovered an interesting thing: if you send an email to someone you don't have in your personal address book, the N900 standard email client will add the email address to the address book.: your address book will show something like xxx@yyy.com. If you open the contact you will see that only an email address is present (no name, surname or alias present)

If you try to create an email contact directly from your address book, it will ask you to put a name at least...this means is impossible to add only an email address...

Let's go back to our program: If the email address is present in my address book, the program doesn't work and it shows me this error:

Traceback (most recent call last):
File "/opt/www2sms/www2sms.py", line 451, in <module>
ui = MainWindow()
File "/opt/www2sms/www2sms.py", line 55, in __init__
self.my_phone_book = self.get_contacts()
File "/opt/www2sms/www2sms.py", line 200, in get_contacts
contact_and_numbers = [item.decode('utf-8')]
AttributeError: 'list' object has no attribute 'decode'

If I delete this email contact, the program works fine!

Just one thing: now the problem seems to appear only with the previous version (the one installed through the app. manager). The new one gave me this problem only once!

MaRRo81 2010-05-18 09:23

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
@nexus101: If i remember well you have to go to app. manager, disable extra-devel, install pythonfullinstall (I don't remember exactly the name) then re-enable the extra-devel and install www2sms.

Try!

PS: It worked for me :)

blubbi 2010-05-18 09:31

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
Quote:

Originally Posted by NokiaRocks (Post 663726)
I can't really find the python stuff in the program manager (extras testing and devel activated).

And is it completely free when sending sms with this app ?

You must know if it is free for you to send SMS via your providers Website (if your provider is supported yet)

Kind regards
Bjoern

nexus101 2010-05-18 09:32

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
PyQt4 full install .. ok, i try that :-)
thanks,
nexus

blubbi 2010-05-18 09:37

Re: [ANNOUNCE] www2sms - Send SMS via your providers website
 
I don't know how much the PR1.2 changes affect all these "Can not install" request.

Put it seems to me, that all people who tried this tool before the infrastructure changes for 1.2 were introduced, had no problem to install it.

Any comments on that thought?


DEVEL/TESTING _MUST_ be active when installing www2sms cause python-clientform and python-mechanize are in the DEVEL repository, though promoted to testin... VOTE FOR THEM ;-)

I'll see if I can update mechanize to 2.0.1. It will remove the dependency to python-clientform.

Thanks to all for testing!

Cheers
Bjoern


All times are GMT. The time now is 15:59.

vBulletin® Version 3.8.8