Notices


Reply
Thread Tools
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#161
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?!
__________________
Maemo Meego Maego!
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#162
Originally Posted by knypek3 View Post
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.

Last edited by Saturn; 2010-09-12 at 11:40.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#163
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.
__________________
Maemo Meego Maego!

Last edited by knypek3; 2010-09-12 at 12:10.
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#164
@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.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#165
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...
__________________
Maemo Meego Maego!
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#166
Originally Posted by knypek3 View Post
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.

Originally Posted by knypek3 View Post
@ 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/
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#167
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?
__________________
Maemo Meego Maego!
 
Saturn's Avatar
Posts: 1,648 | Thanked: 2,122 times | Joined on Mar 2007 @ UNKLE's Never Never Land
#168
@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.
 
Posts: 62 | Thanked: 6 times | Joined on Jun 2010 @ Poland
#169
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
__________________
Maemo Meego Maego!
 
Posts: 96 | Thanked: 18 times | Joined on Nov 2008
#170
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
 
Reply


 
Forum Jump


All times are GMT. The time now is 00:33.