Discussion:
Wammu and SGH-J700 with Vivid Vervet 15.04
cristian
2017-03-05 09:08:51 UTC
Permalink
Hi,
I've installed Vivid Vervet 15.04 and I've connected my Samsung SGH-J700 phone.

When I try to get SMS messages, after 15 seconds, the process stops and the window freezes.

I've taken a look at the logfile and I've found this message repeated many times:

'CMS Error 321: "invalid memory index"'

Also, I get:

-------------------- Traceback --------------------
File "/usr/lib/python2.7/dist-packages/Wammu/Main.py", line 949, in OnProgress
del self.progress
-------------------- Exception --------------------
AttributeError: progress
---------------------------------------------------

once again.

Any ideas?

I'll expect a reply,

Thanks.
gilberto dos santos alves
2017-03-05 12:25:46 UTC
Permalink
hi.
have you tried basic things with gammu on terminal (not wammu) like:

gammu -c your-config-file identify


--
gilberto dos santos alves
+55(11)9-8646-5049
sao paulo - sp - brasil
Post by cristian
Hi,
I've installed Vivid Vervet 15.04 and I've connected my Samsung SGH-J700 phone.
When I try to get SMS messages, after 15 seconds, the process stops and the window freezes.
'CMS Error 321: "invalid memory index"'
-------------------- Traceback --------------------
File "/usr/lib/python2.7/dist-packages/Wammu/Main.py", line 949, in OnProgress
del self.progress
-------------------- Exception --------------------
AttributeError: progress
---------------------------------------------------
once again.
Any ideas?
I'll expect a reply,
Thanks.
------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/
lists/listinfo/gammu-users
cristian
2017-03-07 08:02:14 UTC
Permalink
On Sun, 5 Mar 2017 09:25:46 -0300
Post by gilberto dos santos alves
hi.
gammu -c your-config-file identify
I've installed gammu. I've typed that command and I got some info about the phone. Then, I've installed mysql and I've created a user. So, I've created a database for the user.
Finally, I've installed gammu-smsd and I've changed /etc/gammu-smsdrc as following:


# Configuration file for Gammu SMS Daemon

# Gammu library configuration, see gammurc(5)
[gammu]
# Please configure this!
#port = /dev/null
device = /dev/ttyACM0
connection = at
# Debugging
logfile = /home/cristian/log_gammu/gammu.log
logformat = textalldate

# SMSD configuration, see gammu-smsdrc(5)
[smsd]
Service = sql
Driver = native_mysql
LogFile = /home/cristian/log_gammu/sms.log
User = cristian
Password = The password I've set for mysql user
Host = localhost
Database = The database name I've created for mysql user
DeliveryReport = yes
# Increase for debugging information
DebugLevel = 255

# Paths where messages are stored
#inboxpath = /var/spool/gammu/inbox/
#outboxpath = /var/spool/gammu/outbox/
#sentsmspath = /var/spool/gammu/sent/
#errorsmspath = /var/spool/gammu/error/


Unfortunately, when I executed gammu-smsd command, I got error messages on terminal:


gammu-smsd
Log filename is "/home/cristian/log_gammu/sms.log"
gammu-smsd[13390]: Error code: 1146, Error: Table 'gammu.outbox' doesn't exist
gammu-smsd[13390]: Table outbox not found, disconnecting!
gammu-smsd[13390]: Initialisation failed, stopping Gammu smsd: Errore sconosciuto. (UNKNOWN[27])
Failed to run SMSD: Errore sconosciuto.


Any ideas?

If you want, I can send sms.log to you.

I'll expect a reply,

Thanks.
gilberto dos santos alves
2017-03-07 14:11:28 UTC
Permalink
have you tested mysql -u your-db-user -p

use show tables; make sure that host, database name are correct. if you are
using shared hosts you must prefix with some user. or you could use
phpmyadmin for make things more easy.
​
cristian
2017-03-07 15:48:56 UTC
Permalink
On Tue, 7 Mar 2017 11:11:28 -0300
Post by gilberto dos santos alves
have you tested mysql -u your-db-user -p
use show tables; make sure that host, database name are correct. if you are
using shared hosts you must prefix with some user. or you could use
phpmyadmin for make things more easy.

Yes, I tested mysql -u myuser -p command and it works. If I type show tables; I get:

ERROR 1046 (3D000): No database selected

But if I type show databases; my database is listed.

Any ideas?

I'll expect a reply,

Thanks.
gilberto dos santos alves
2017-03-08 13:51:30 UTC
Permalink
hi. first issue command: use your-databasename;

--
gilberto dos santos alves
+55(11)9-8646-5049
sao paulo - sp - brasil
Post by cristian
On Tue, 7 Mar 2017 11:11:28 -0300
Post by gilberto dos santos alves
have you tested mysql -u your-db-user -p
use show tables; make sure that host, database name are correct. if you
are
Post by gilberto dos santos alves
using shared hosts you must prefix with some user. or you could use
phpmyadmin for make things more easy.
​
ERROR 1046 (3D000): No database selected
But if I type show databases; my database is listed.
Any ideas?
I'll expect a reply,
Thanks.
------------------------------------------------------------
------------------
Announcing the Oxford Dictionaries API! The API offers world-renowned
dictionary content that is easy and intuitive to access. Sign up for an
account today to start using our lexical data to power your apps and
projects. Get started today and enter our developer competition.
http://sdm.link/oxford
_______________________________________________
Gammu-users mailing list - https://lists.sourceforge.net/
lists/listinfo/gammu-users
cristian
2017-03-08 16:44:32 UTC
Permalink
On Wed, 8 Mar 2017 10:51:30 -0300
Post by gilberto dos santos alves
hi. first issue command: use your-databasename;
Ok, it returns: "Database changed".
Then, I typed show tables; and the command returned: "Empty set (0,01 sec)".

Any ideas?

I'll expect a reply,

Thanks.
Michal Čihař
2017-03-10 15:04:08 UTC
Permalink
Hi
Post by cristian
-------------------- Traceback --------------------
  File "/usr/lib/python2.7/dist-packages/Wammu/Main.py", line 949, in
OnProgress
    del self.progress
-------------------- Exception --------------------
AttributeError: progress
---------------------------------------------------
once again.
This looks like (already fixed) bug:

https://github.com/gammu/wammu/issues/25
--
Michal Čihař | https://cihar.com/ | https://weblate.org/
cristian
2017-03-10 20:17:17 UTC
Permalink
On Fri, 10 Mar 2017 16:04:08 +0100
Post by Michal Čihař
Hi
https://github.com/gammu/wammu/issues/25
btw, I've already tested wammu by git.

Loading...