maemo.org - Talk

maemo.org - Talk (https://talk.maemo.org/index.php)
-   Applications (https://talk.maemo.org/forumdisplay.php?f=41)
-   -   [Announce] SMScon (control your device with SMS) (https://talk.maemo.org/showthread.php?t=60729)

knypek3 2010-09-12 11:07

Re: [Announce] SMScon (control your device with SMS)
 
Sorry, everything isn't working :/
it's stupid - i create a config using editor and when i reboot n900
and typ in xterm smscon -config - the file don't have my data!
There are xxxxx everywhere :/ WTF?!

Saturn 2010-09-12 11:37

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by knypek3 (Post 814010)
Sorry, everything isn't working :/
it's stupid - i create a config using editor and when i reboot n900
and typ in xterm smscon -config - the file don't have my data!
There are xxxxx everywhere :/ WTF?!

Hi,
where did you see the command smscon -config?
please read the wiki page for the available commands.

Beware that you should not try to edit the file from the editor and manually and that the command smscon -init rewrites the config file with the default.

If you still have problems do the following:
Code:

root
smscon -stop
smscon -unboot
apt-get remove --purge smscon smscon_editor
exit

then install again the latest versions and use the editor to edit the config file.

knypek3 2010-09-12 11:58

Re: [Announce] SMScon (control your device with SMS)
 
I delete and uninstall everything smscon smcon editor smscon configuration
smscon logs
apt-get remove --purge smscon smscon_editor
everything

Than open on n900 site smscon.garage.maemo.org
Install smscon newest ver.
install smscon editor newest version.
go to opt/smscon_editor/smscon_editor.py
Set everything, and set autoload on boot and start smscon than i
Reboot phone
Than in xterm i type
root
smscon -status

and what?
replay is:
smscon_daemon is off
I do everything what i should but it still don't working :/

ps. There is an option in smscon - config - to show config
i try it and i see that is empty - everywhere are xxxxxx.
ehh

Edit:
I found the bug.
smscon editor don't save a smscon_config to usr/bin but to /home/user.
When i delete smscon_config from home/user and create new using smscon_editor it save it only to home/user but not to usr/bin.

Saturn 2010-09-12 12:08

Re: [Announce] SMScon (control your device with SMS)
 
@knypek3

Do you open the editor as root from xterm? This is not anymore needed (version >0.4.3-6). (I will put a check in the next release to forbit that.)
You can open directly from the applications menu.

knypek3 2010-09-12 12:11

Re: [Announce] SMScon (control your device with SMS)
 
Edit:
I found the bug.
smscon editor don't save a smscon_config to usr/bin but to /home/user.
When i delete smscon_config from home/user and create new using smscon_editor it save it only to home/user but not to usr/bin.

@ Saturn
yes i opened it as root :/ ;p
i can't open it from menu - window disappear...

Saturn 2010-09-12 12:23

Re: [Announce] SMScon (control your device with SMS)
 
Quote:

Originally Posted by knypek3 (Post 814063)
Edit:
I found the bug.
smscon editor don't save a smscon_config to usr/bin but to /home/user.
When i delete smscon_config from home/user and create new using smscon_editor it save it only to home/user but not to usr/bin.

That's not a bug. That is how it should work. The files in /home/user are temporarily storage to avoid messing the config used. When the edit completes it replaces the live one.

Quote:

Originally Posted by knypek3 (Post 814063)
@ Saturn
yes i opened it as root :/ ;p
i can't open it from menu - window disappear...

Try to open it from xterm as user (don't become root) by
Code:

/opt/smscon_editor/smscon_editor.py
and let me know if you see any messages. Maybe some dependency is missing.

Give me also the output of:
Code:

ls -al /opt/smscon_editor/

knypek3 2010-09-12 12:39

Re: [Announce] SMScon (control your device with SMS)
 
I can run it not as root.
command /opt/smscon_editor/smscon_editor.py open smscon_editor
in xterm i don't have any errors

Code:

$ ls -al /opt/smscon_editor/
total 128
drwxr-xr-x  2 root root  4096 2010-09-12 13:48 .
drwxr-xr-x 33 root root  4096 2010-09-12 13:47 ..
-rwxr-xr-x  1 root root 20608 2010-09-12 12:27 smscon_editor.py
-rw-rw-rw-  1 user root 58320 2010-09-12 12:27 smscon_gui_elements.py
-rw-r--r--  1 root root 29166 2010-09-12 13:48 smscon_gui_elements.pyo

bad chmod?

Saturn 2010-09-12 12:52

Re: [Announce] SMScon (control your device with SMS)
 
@knypek3

No it's not bad. Some small problem as you started it once as root.
Do the following to correct:

Code:

root
rm /opt/smscon_editor/smscon_gui_elements.pyo

Try to open after that from the application menu.
if it doesn't work show me again the ls output.

knypek3 2010-09-12 13:18

Re: [Announce] SMScon (control your device with SMS)
 
I remove it.
I try to open it from menu
window disappera again
ls output
Code:

$ ls -al /opt/smscon_editor/
total 96
drwxr-xr-x  2 root root  4096 2010-09-12 15:15 .
drwxr-xr-x 33 root root  4096 2010-09-12 13:47 ..
-rwxr-xr-x  1 root root 20608 2010-09-12 12:27 smscon_editor.py
-rw-rw-rw-  1 user root 58320 2010-09-12 12:27 smscon_gui_elements.py


onasre 2010-09-12 13:48

Re: [Announce] SMScon (control your device with SMS)
 
Thx ,

i tried it , i inserted new Sim Card and tested and then i recived a message with the new Sim info ..

My quastion is if i want to lock or turn off the phone by sending SMS from another phone , what is the command line or wht do i need to write in the message .

thx


All times are GMT. The time now is 04:24.

vBulletin® Version 3.8.8