![]() |
2010-05-31
, 16:34
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#242
|
![]() |
2010-05-31
, 18:18
|
Posts: 398 |
Thanked: 301 times |
Joined on Sep 2007
@ Texas
|
#243
|
The Following User Says Thank You to Frank Banul For This Useful Post: | ||
![]() |
2010-05-31
, 20:45
|
Posts: 4 |
Thanked: 0 times |
Joined on May 2010
|
#244
|
![]() |
2010-05-31
, 20:57
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#245
|
what's that? help!
~ $ python /opt/vertsms/vertsms_gui.py
response was: -5
Traceback (most recent call last):
File "/opt/vertsms/vertsms_gui.py", line 422, in send
s = sms.SMS(text, number)
File "/opt/vertsms/vertsms/sms.py", line 125, in __init__
self.write_to_rtcomm(msg, number)
File "/opt/vertsms/vertsms/sms.py", line 226, in write_to_rtcomm
cursor.execute('SELECT id FROM Events')
sqlite3.OperationalError: no such table: Events
![]() |
2010-06-01
, 10:12
|
Posts: 4 |
Thanked: 23 times |
Joined on May 2010
|
#246
|
![]() |
2010-06-01
, 11:06
|
Posts: 4 |
Thanked: 0 times |
Joined on May 2010
|
#247
|
![]() |
2010-06-01
, 14:01
|
Posts: 398 |
Thanked: 301 times |
Joined on Sep 2007
@ Texas
|
#248
|
Code:try: connection = sqlite3.connect(os.path.join(os.environ['HOME'], '.rtcom-eventlogger', 'el-v1.db')) except: connection = sqlite3.connect(os.path.join(os.environ['HOME'], '.rtcom-eventlogger', 'el.db')) cursor = connection.cursor() cursor.execute('SELECT id FROM Events') id_array = cursor.fetchall() seq_id = max(id_array)[0] + 1
![]() |
2010-06-01
, 17:16
|
Posts: 4 |
Thanked: 0 times |
Joined on May 2010
|
#249
|
If the sqlite code stays, you'll also need to take into account the name change between PR1.2 and PR1.x. Maybe the below?
![]() |
2010-06-01
, 20:13
|
|
Posts: 3,159 |
Thanked: 2,023 times |
Joined on Feb 2008
@ Finland
|
#250
|
![]() |
Tags |
portrait sms, python |
|
FWIW, I removed the sqlite from gvSMS and it didn't seem to change the behavior.
While I'm at it, ADDR_TYPE of 129 seems to be required for T-Mobile domestic (US) numbers. Using 132 fails. I tried to use your international support. Then to make things more interesting, ADDR_TYPE 129 or 132 works fine on AT&T domestic numbers.
Frank