Saturn
|
2010-09-19
, 11:36
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#221
|
|
2010-09-19
, 12:07
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#222
|
Could you sent/post the output files of these commands:
might be a dependency problem or similar.Code:dpkg -l python* > /home/user/MyDocs/output1.txt apt-get -s upgrade > /home/user/MyDocs/output2.txt
|
2010-09-19
, 12:18
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#223
|
|
2010-09-19
, 12:46
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#224
|
|
2010-09-19
, 13:43
|
Posts: 62 |
Thanked: 6 times |
Joined on Jun 2010
@ Poland
|
#225
|
|
2010-09-19
, 13:51
|
Posts: 1,341 |
Thanked: 708 times |
Joined on Feb 2010
|
#226
|
1) I think the password prefix idea is not necessary, because you can change all SMS commands to something cryptical *you* only know what it means & you don't obviously tell anybody. Also this password will be shown on Nokia screen when received (if phone is unlocked & Notification popup message is enabled).
|
2010-09-19
, 16:10
|
Posts: 561 |
Thanked: 75 times |
Joined on Jan 2010
@ Spain
|
#227
|
Hi,
You have the newest development versions of PyQT. They are still in extras-devel and might have issues for the developers to check.
Don't know if this is the problem, but in any case I can't help you in debugging further as you have many devel versions and this goes out of my league.
If this was done by accident, I would propose to re-flash and try to stay away from devel as much as possible.
|
2010-09-19
, 20:24
|
Posts: 35 |
Thanked: 20 times |
Joined on Dec 2009
|
#228
|
@ pigro & SaintGermain:
SMSCON uses the straight shell command interface for connecting with ssh.
Python ssh part in SMSCON:
SSH is started in background (in red) and when SSH ask for password it's automatically entered (green) and the connection has started if 'ExitStatus' returns 0). It's very basic done, I know, but It works.Code:(Output, ExitStatus) = pexpect.run( 'ssh -n -N -T -f -p %s -R %s:%s:%s %s@%s &' % (REMOTEPORT, LocalPort, LocalHost, REMOTEPORT, REMOTEUSER, REMOTEHOST), events = { '(?i)password':REMOTEPASSWORD + '\n', '(?i)(yes/no) ?':'yes' + '\n' }, withexitstatus = True )
If somebody has better code to implement in SMSCON please share it.
(Output, ExitStatus) = pexpect.run( 'ssh -n -N -T -f -p %s -R %s:%s:%s %s@%s &' % (REMOTEPORT, LocalPort, LocalHost, REMOTEPORT, REMOTEUSER, REMOTEHOST), events = { '(?i)(password|passphrase)':REMOTEPASSWORD + '\n', '(?i)(yes/no) ?':'yes' + '\n' }, withexitstatus = True )
The Following 2 Users Say Thank You to SaintGermain For This Useful Post: | ||
|
2010-09-19
, 20:39
|
Posts: 35 |
Thanked: 20 times |
Joined on Dec 2009
|
#229
|
The Following 2 Users Say Thank You to SaintGermain For This Useful Post: | ||
|
2010-09-20
, 17:58
|
|
Posts: 1,648 |
Thanked: 2,122 times |
Joined on Mar 2007
@ UNKLE's Never Never Land
|
#230
|
The Following User Says Thank You to Saturn For This Useful Post: | ||