aMSN Forums
May 25, 2013, 10:18:26 pm *
Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
News: New forum for aMSN !!
 
   Home   Help Search Login Register  
Pages: [1]
  Print  
Author Topic: [SOLVED] aMSN: CAN'T LOG IN, amsn Error.  (Read 2166 times)
Edogaa
Newbie

Offline Offline

Posts: 5


View Profile
« on: October 25, 2009, 12:43:54 am »

Everytime I try to log in to aMSN I get an aMSN Error.

At least that was true before, not I can't open it without getting a new eror about a configuration file. But I can do so as root (but I Still get the other error on login.

Here is what it shows in details under root

 
ime value too large/small to represent
    while executing
"ConvertLocalToUTC $date[set date {}] $TZData($timezone) 2361222"
    (procedure "FreeScan" line 84)
    invoked from within
"FreeScan $string $base $timezone $locale"
    (procedure "::tcl::clock::scan" line 70)
    invoked from within
"clock scan "${y}-${m}-${d} ${h}:${min}:${s}""
    (procedure "::SecurityToken::Snit_methodIsExpired" line 19)
    invoked from within
"$token IsExpired"
    (procedure "::SSOAuthentication::Snit_methodRequireSecurityToken" line 7)
    invoked from within
"$::sso RequireSecurityToken Contacts [list $self ABFindAllSSOCB $callbk]"
    (procedure "::Addressbook::Snit_methodABFindAll" line 6)
    invoked from within
"::Addressbook7 ABFindAll {::Addressbook7 ABFindAllDone {::MSN::ABSynchronizationDone 1}}"
    ("after" script)



And the other error says this: "COnfiguration file is corrupt. Creating new one. Old file will be saved to /home/edgar/.amsn/animelord001_hotmail_com/config.xml.old. Please send it to us to check what happened."

So I go check, and there is no .xml.old file, just one config.xml.  

THe only changes I Made which I can't remember what I did at this point is adding scim, and modifying to clock and locale a bit for Japanese input, ands so I can view the time in AM/PM instead of 24 hour time under KDE. And I tried changing the "current locale time zone:" as well, which still shows UTC really. I did so as both root, and normal user. I did so as root by mistake since when I used kdesu systemsettings to change something related to the KDM I also decided to do this since I had it open already.


So what did I do, and how can I Fix it? o_o


Oh, I've also never had sound work on amsn yet, so I'd like to know how to add that too, I use OSSv4.


Right, and when I use amsn through the terminal


[edgar@myhost ~]$ amsn                                                                            
Error in startup script: error copying "/home/edgar/.amsn/animelord001_hotmail_com/config.xml" to "/home/edgar/.amsn/animelord001_hotmail_com/config.xml.old": permission denied                                
    while executing
"file copy -force [file join ${HOME} "config.xml"] [file join ${HOME} "config.xml.old"]"
    (procedure "load_config" line 37)
    invoked from within
"load_config            "
    invoked from within
"if { $initialize_amsn == 1 } {
        ###############################################################
        create_dir $HOME
        create_dir $HOME/plugins
        create_di..."
    (file "config.tcl" line 1881)
    invoked from within
"source config.tcl      "
    ("uplevel" body line 29)
    invoked from within
"uplevel \#0 {

        # amsncore.tcl is already loaded but we'll re-source it here in case we manually do reload_files
        source amsncore.tcl
        source audio.tc..."
    (procedure "reload_files" line 2)
    invoked from within
"reload_files"
    (file "/usr/bin/amsn" line 290)


My distro is ArchLinux
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #1 on: October 25, 2009, 09:53:12 am »

Hi, welcome to the forums,
Thanks for all the details, it's helpful.
So, first your problem with "time value too large/small to represent", this is answered in the FAQ : http://www.amsn-project.net/wiki/FAQ#I_try_to_run_aMSN_and_it_gives_this_error:_Error_in_startup_script:_time_value_too_large.2Fsmall_to_represent_while_executing_.5B....5D_procedure_.22ConvertLocalToUTC.22.

About the other issue as a user, it seems you screwed up something with your file permissions, make sure that everything in your home directory belongs to you and has proper permissions, to do this in a terminal, do this :
Code:
sudo chown edgar:edgar -R /home/edgar
sudo chmod u+rwX -R /home/edgar

It should in theory fix it.. the problem with amsn as a user is that it can't read/write your /home/edge/.amsn directory for some reason because the permission is denied, so it means something played with your file permissions in there, which is not a good thing to happen..
i hope that helps.
Logged

KaKaRoTo
Edogaa
Newbie

Offline Offline

Posts: 5


View Profile
« Reply #2 on: October 25, 2009, 10:41:01 am »

Quote from: "kakaroto"

About the other issue as a user, it seems you screwed up something with your file permissions, make sure that everything in your home directory belongs to you and has proper permissions, to do this in a terminal, do this :
Code:
sudo chown edgar:edgar -R /home/edgar
sudo chmod u+rwX -R /home/edgar

It should in theory fix it.. the problem with amsn as a user is that it can't read/write your /home/edge/.amsn directory for some reason because the permission is denied, so it means something played with your file permissions in there, which is not a good thing to happen..
i hope that helps.



Woo, it worked! Had to create a new group under my name for that command to work though.

Only thing is, it takes forever for amsn to log in, not sure if thats normal or not.

thank you :3

One last thing, unrelated to this topic, how would I go about getting sound to work o_O; seems sound never works in amsn for the moment.


Hmm, you know what, I'll start a new thread for the sound issue, since its a different issue then what the thread was focused on. :/
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #3 on: October 25, 2009, 01:34:27 pm »

alright, cool!
I don't know how your distro works, but maybe the group was "user" or something, then you just would have had to do chown edgar:user or whatever your normal files have as a group name, no need to create a group for it! But anyways, as long as it's fixed!
About taking a long time, it depends on how big is your contact list, but yes, with the new protocol, it does take some more time than before...
I'll answer you in the other thread about the sound issue (good thinking of creating another thread to stay on topic:))
Logged

KaKaRoTo
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.11 | SMF © 2006-2009, Simple Machines LLC Valid XHTML 1.0! Valid CSS!