aMSN Forums
August 22, 2018, 08:23:21 am *
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: Use Amsn on a dual boot computer  (Read 9426 times)
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« on: December 01, 2009, 08:29:00 pm »

Hello both,

I'm updating my computer, and trying to migrate from windows XP to ubuntu Karmic Koala.
So i'm linking all my applications on linux to the windows' datas.

I search the forum, and found how to link the /home/anael/.amsn to my /datas/Documents and Settings/Anael/amsn (/datas is a mount point of my windows' datas partition).

When I launch amsn, my amsn profile isn't used, nothing appears, just an empty amsn login screen.
And it's irritate me ! Wink

The .amsn folder on my linux profile is correctly linked to the windowsé directory containing all the data, but the owner appears to be root.
So I tried, as root, to chown the folder, but nothing change.
Quote
anael@Pc-Anael:~/.amsn$ sudo chown -Rf anael:anael *
[sudo] password for anael:
anael@Pc-Anael:~/.amsn$ ls -Als
total 45
 4 -rwxrwx--- 1 root plugdev  2750 2008-05-03 23:43 abook.xml
24 -rwxrwx--- 2 root plugdev 24365 2009-11-30 22:03 bugreport.amsn
 4 -rwxrwx--- 1 root plugdev  1327 2009-12-01 19:52 gconfig.xml
 8 -rwxrwx--- 1 root plugdev  6327 2009-12-01 19:52 langlist.xml
 0 drwxrwx--- 1 root plugdev     0 2009-11-28 00:49 logs
 4 drwxrwx--- 1 root plugdev  4096 2009-11-30 22:41 papanawell_hotmail_fr
 0 drwxrwx--- 1 root plugdev     0 2009-11-28 00:47 plugins
 1 -rwxrwx--- 1 root plugdev    24 2009-12-01 19:52 profiles
 0 drwxrwx--- 1 root plugdev     0 2009-11-28 00:47 skins
 0 drwxrwx--- 1 root plugdev     0 2009-11-28 00:47 smileys
 1 -rwxrwx--- 1 root plugdev    42 2009-12-01 19:52 states.xml
 0 drwxrwx--- 1 root plugdev     0 2009-11-28 00:47 webcam
 0 drwxrwx--- 1 root plugdev     0 2009-11-28 00:47 winks
anael@Pc-Anael:~/.amsn$


In more, when I close the amsn window, I got this error message


Could you, please, confirm me that amsn doesn't load my profile is due too to the owner problem?
Have you a tips to solve this problem?

Regards,
Anael
Logged
BaaaZen
Power user
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #1 on: December 01, 2009, 09:18:30 pm »

Yes, it should work. And no, it's not (only) a permission problem. There is a file missing that contains all available profiles. But that should be no problem, you can simply re-add all your addresses with having the remember me flag checked.
The permission problem can be solved on two ways:
1. you use different mount options so that all files are world read- and writeable or
2. you add your user to the group plugdev (sudo adduser anael plugdev).
Then it should work.
Logged

There are only 10 types of people in the world: Those who understand binary, and those who don't.
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« Reply #2 on: December 01, 2009, 10:08:57 pm »

Heloo BaaaZen,

Thank you for your answer !
I add my user ot the plugdev group, but i was already in as the console says. Strange...

I'm surprised for the missing file.
Could you, please, explain me which is this file ?
I have a file named ` profiles`  containing
Code:
amsn_profiles_version 1

my_email@hotmail.fr 0

Is it a problem ?

(I'm using the latest svn release)

Good night,
Anael

--- Edit ~on windows~ 01/12/2009 - 22h00(10h pm)  ---
I reboot on windows and I get the same problem.
I watch what have changed since my last back up and i was surprised to discover the file config.xml was fully missing !!
I have never get any problem like this before.
So I restore the file, and the problem that I can't connect appears to be solved. (why the file disappears Huh?)
Good night !

--- Edit ~on linux~ 01/12/2009 - 23h00 (11h pm) ---
I reboot on linux, and I got the same problem as previous : amsn doesn't have my profile loaded, and say an error message (same picture as previous).
I was trying to make a "mount --bind /datas/Documents\ and\ Settings/Anael/amsn /home/anael/.amsn", but I need to make this command as root and then the access rights on the folder are for the root.
I think all my problems are just acess rights problems... couls anyone help a porr beginning noob which have already read a part of the fuc*** manual ;-)

Good night Smiley

--- Edit later... 03/12/2009 - 01h00 (1h am) ---
I solve one part of my problem, by deleting my amsn profile, and import datas in a new profile.
It appears that the file config.xml was deleted by ... (can it be the software itself which delete this file Huh).
I can connect to amsn, using my - new - profile on windows and linux.
I just got an error message on linux saying "Error writing configuration file. Make sure you have the correct permissions for the directory /home/anael/.amsn/myemail_hotmail_fr".
I suppose this is an access rights problem, but I really don't known how to save it : I can, using nano under my ubuntu profile, write file on /home/anael/.amsn and /home/anael/.amsn/myemail_hotmail_fr/ .
I can't understand why amsn can't do it ?!?
Amsn is deleting the file config.xml on /home/anael/.amsn/myemail_hotmail_fr/ , so :
-> if i use amsn on windows Ok
-> if i use amsn on ubuntu : error message + delete of the profile's file config.xml (so error on the next application's launch).

I don't found related topics, and really don't understand what I made wrong :-(
Could anyone, please, help me ?

Regards,
Anael
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #3 on: December 03, 2009, 07:48:24 am »

Hi again Anael..
You're lucky I checked this thread, because when you only edit the thread, it doesn't become 'orange' and doesn't appear in the "search for new threads since last visit" page...
anyways, yes, amsn deletes the config.. yes it sucks... we're looking into this at the moment.. read this thread : http://www.amsn-project.net/forums/viewtopic.php?t=7454
basically, what amsn does is to delete your config, then copy the config.xml.temp file into config.xml... so something goes wrong when it deletes your config, but can't copy the new temp file..
in the latest SVN, I just added a better warning, if that error message pops up again, it will tell you exactly what the error is.. just in case it's not a permission problem...
and when you can, try to see if you can do a copy of the config.xml.tmp into config.xml manually on linux...
Logged

KaKaRoTo
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« Reply #4 on: December 03, 2009, 07:51:29 pm »

Hello kakaroto,
Don't be anxious, I have project to make an up today if I don't have any answer Wink

For this f..amous file : (on linux)
On /home/anael/.amsn/mymail_hotmail_fr I got only a file config.xml.temp
On /home/anael/.amsn/ I got no config file.

On my yesterday backup I got a file config.xml on the 2 repertory.

I tried to rename the config.xml.temp file to config.xml, but when I launch amsn (I launch a bash file, which is updating the svn, compiling an then launching amsn Wink) the software doesn't remember my account.
I got this em :

So I restore the two file config.xml as yesterday and launch amsn.
He suggest me my msn account name, but have forget the password. (1/2 win.. Wink)

Then I delete my amsn profile, and make a full restore of it.
So amsn is launching (and auto-connecting, not asking my password)
But amsn display another em during it was connecting :

In more (I win today !!!), I got an official bug (which doesn't want to be reported, the button "Envoi en cours" is at this from 5 minutes)
Code:
too many nested evaluations (infinite loop?)
    (procedure "::NS::Connection1" line 1)
    invoked from within
"::NS::Connection1 cget -sock"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command"
    (procedure "::snit::RT.method.cget" line 10)
    invoked from within
"::snit::RT.method.cget ::NS ::NS::Snit_inst1 ::ns ::ns -sock"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"$self cget -sock"
    (procedure "::NS::Snit_methodhandleCommand" line 7)
    invoked from within
"::NS::Snit_methodhandleCommand ::NS ::NS::Snit_inst1 ::ns ::ns {UBX jczxxx@sad-amsn-user.com 1 700} {<Data><CurrentMedia></CurrentMedia><PSM></PSM><Signature..."
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"$options(-name) handleCommand $command $payload"
    (procedure "::Connection::Snit_methodreceivedData" line 111)
    invoked from within
"::Connection::Snit_methodreceivedData ::Connection ::Connection::Snit_inst2 ::NS::Connection1 ::NS::Connection1"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"::NS::Connection1 receivedData"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"ns receivedData"


kakaroto (and all other), what can I make in order to help you to solve this problem ?
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #5 on: December 03, 2009, 08:22:06 pm »

okkkk... so it's not "permission denied" anymore,the error is "not owner"... maybe you should look into that instead.. when you get that bug window, BEFORE pressing ok, go check the directory if it has a config.xml and config.xml.temp.. also check the owner and permission and see if you can copy the file manually.
About that other bug, you're the second one with this, and I think it's because there's a bug in the bug report system itself.. sux! could you see what errors are shown on your xterm when it happens ?
Logged

KaKaRoTo
BaaaZen
Power user
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #6 on: December 03, 2009, 08:28:12 pm »

This seems to be a problem of your mounting procedure. Check out this link: http://www.linux-faqs.com/faq/misc/ntfs.php#4.6 You should use the -o uid=anael option for mounting then the files on your NTFS drive belong to your user. This should solve your problem.
Logged

There are only 10 types of people in the world: Those who understand binary, and those who don't.
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #7 on: December 03, 2009, 08:58:58 pm »

yeah, but why can Anael do it on a terminal with the same user, but not within amsn ? either way, I hope it works!
Logged

KaKaRoTo
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« Reply #8 on: December 05, 2009, 03:36:30 pm »

Hello,

Baaazen,
I'm using this command to mount the datas, is it correct?
Code:
sudo mount --bind /datas/Documents\ and\ Settings/Anael/amsn/ /home/anael/.amsn -o uid=anael

I can access to the directory and see the documents.
But, the owner appears to always be root:plugdev .
I have verifiy, before launching my script, the directory isn't mount.

Kakaroto,
Quote
20 -rwxrwx--- 1 root plugdev 19748 2009-12-05 15:13 config.xml.temp

I have try on the directory, I can (as user anael, no root rights) make a new file named config.xml, I can move it to config.xml2 ant I can delete it.

And how ca I see the error on the xterm? I got a terminal window open, the errorshould appears on ?

Maybe I make a mistake on my bash script I run to launch amsn ?
Code:
sudo mount --bind /datas/Documents\ and\ Settings/Anael/amsn/ /home/anael/.amsn -o uid=anael
# Plus cool d'utiliser cette commande :
# ln -s /datas/Documents\ and\ Settings/Anael/amsn/ ~/.amsn
cd /home/anael/.amsn_svn/
svn update
sudo ./configure && make
sudo make install
#sudo su anael
amsn


Have a good week-end !
Anael
Logged
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« Reply #9 on: December 06, 2009, 08:39:33 pm »

Kakaroto,

You have ask me next time I'm getting the bug report error...
I get it, I copy/past the terminal display :
Quote
Original stack trace :
too many nested evaluations (infinite loop?)
    ("command" arm line 1)
    invoked from within
"switch $object {
   command {
       if {[lsearch -exact $widgetCommands $opt] >= 0} {
      return $opt
       }

       # command names aren't stored in an arra..."
    (procedure "::combobox::Canonize" line Cool
    invoked from within
"::combobox::Canonize $w command $command"
    (procedure "::combobox::WidgetProc" line 7)
    invoked from within
"::combobox::WidgetProc .main.eventmenu.list close"
    ("eval" body line 1)
    invoked from within
"eval ::combobox::WidgetProc .main.eventmenu.list $command $args"
    (procedure ".main.eventmenu.list" line 1)
    invoked from within
"$widgets(this) close"
    (procedure "Select" line 18)
    invoked from within
"Select $widgets(this) $index"
    ("select" arm line 4)
    invoked from within
"switch $command {
   bbox -
   delete -
   get -
   icursor -
   index -
   insert -
   scan -
   selection -
   xview {
       set result [eval $doWidgetCommand entry $c..."
    (procedure "::combobox::WidgetProc" line 30)
    invoked from within
"::combobox::WidgetProc .main.eventmenu.list select 0"
    ("eval" body line 1)
    invoked from within
"eval ::combobox::WidgetProc .main.eventmenu.list $command $args"
    (procedure ".main.eventmenu.list" line 1)
    invoked from within
".main.eventmenu.list select 0"
    (procedure "::log::event" line 24)
    invoked from within
"::log::event connect $custom_user_name"
    (procedure "cmsn_change_state" line 245)
    invoked from within
"cmsn_change_state $item"
    ("NLN" arm line 13)
    invoked from within
"switch -- [lindex $item 0] {
      MSG {
         cmsn_ns_msg $item $message
         $message destroy
         return 0
      }
      IPG {
         ::MSNMobile::MessageReceived "$messa..."
    (procedure "cmsn_ns_handler" line 4)
    invoked from within
"cmsn_ns_handler $command $message"
    ("NLN" arm line 2)
    invoked from within
"switch -- [lindex $command 0] {
            UBM {
               $self handleUBM $command $message
            }
            RML {
               $self handleRML $command $payload
            }
            ADL ..."
    (procedure "::NS::Snit_methodhandleCommand" line 38)
    invoked from within
"::NS::Snit_methodhandleCommand ::NS ::NS::Snit_inst1 ::ns ::ns {NLN AWY ***@live.it 1 [c=4]x.[/c]%20[c=#279cff]SkaN`/c] 27..."
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"$options(-name) handleCommand $command"
    (procedure "::Connection::Snit_methodreceivedData" line 118)
    invoked from within
"::Connection::Snit_methodreceivedData ::Connection ::Connection::Snit_inst2 ::NS::Connection1 ::NS::Connection1"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"::NS::Connection1 receivedData"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"ns receivedData"

Stack trace of bgerror :
too many nested evaluations (infinite loop?)
    while executing
"namespace current"
    ("uplevel" body line 1)
    invoked from within
"uplevel 2 namespace current"
    (procedure "::plugins::calledFrom" line 2)
    invoked from within
"::plugins::calledFrom"
    (procedure "trans" line 4)
    invoked from within
"trans tkerror1"
    (procedure "::bugs::show_bug_dialog" line 13)
    invoked from within
"::bugs::show_bug_dialog [privacy $errorInfo]"
    (procedure "::bugs::bgerror" line 48)
    invoked from within
"::bugs::bgerror $args"
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
Original stack trace :
too many nested evaluations (infinite loop?)
    while executing
"::pixmapscrollbar::Snit_methodDrawScrollbar ::pixmapscrollbar ::pixmapscrollbar::Snit_inst6 .status.ys .status.ys"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
"$self DrawScrollbar"
    (procedure "::pixmapscrollbar::Snit_methodset" line 113)
    invoked from within
"::pixmapscrollbar::Snit_methodset ::pixmapscrollbar ::pixmapscrollbar::Snit_inst6 .status.ys .status.ys 0.997664 0.997664"
    ("uplevel" body line 1)
    invoked from within
"uplevel 1 $command $args"
    invoked from within
".status.ys set 0.997664 0.997664"
    (vertical scrolling command executed by text)

Stack trace of bgerror :
too many nested evaluations (infinite loop?)
    while executing
"namespace current"
    ("uplevel" body line 1)
    invoked from within
"uplevel 2 namespace current"
    (procedure "::plugins::calledFrom" line 2)
    invoked from within
"::plugins::calledFrom"
    (procedure "trans" line 4)
    invoked from within
"trans tkerror1"
    (procedure "::bugs::show_bug_dialog" line 13)
    invoked from within
"::bugs::show_bug_dialog [privacy $errorInfo]"
    (procedure "::bugs::bgerror" line 48)
    invoked from within
"::bugs::bgerror $args"
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
Original stack trace :
too many nested evaluations (infinite loop?)
    (procedure "::config::getKey" line 6)
    invoked from within
"::config::getKey emailsincontactlist"
    (procedure "::abook::getDisplayNick" line 2)
    invoked from within
"::abook::getDisplayNick $user"
    (procedure "::alarms::contactChanged" line 3)
    invoked from within
"::alarms::contactChanged contactStateChange ***_***@hotmail.com"
    ("eval" body line 1)
    invoked from within
"eval $listener [linsert $args 0 $eventName]"
    (procedure "::Event::fireEvent" line 11)
    invoked from within
"::Event::fireEvent contactStateChange protocol ***_***@hotmail.com"
    ("after" script)

Stack trace of bgerror :
too many nested evaluations (infinite loop?)
    while executing
"namespace current"
    ("uplevel" body line 1)
    invoked from within
"uplevel 2 namespace current"
    (procedure "::plugins::calledFrom" line 2)
    invoked from within
"::plugins::calledFrom"
    (procedure "trans" line 4)
    invoked from within
"trans tkerror1"
    (procedure "::bugs::show_bug_dialog" line 13)
    invoked from within
"::bugs::show_bug_dialog [privacy $errorInfo]"
    (procedure "::bugs::bgerror" line 48)
    invoked from within
"::bugs::bgerror $args"
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)
bgerror failed to handle background error.
    Original error: too many nested evaluations (infinite loop?)
    Error in bgerror: too many nested evaluations (infinite loop?)


Good luck Smiley
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #10 on: December 07, 2009, 03:59:49 am »

wtf did you do... someone else reported the same problem, but for both of you, it makes no sense at all... Sad
Do you have a 100% method for reproducing it ?
Logged

KaKaRoTo
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« Reply #11 on: December 08, 2009, 06:21:43 pm »

Hi,

Sadly, I haven't a 100% reproducing method :-(
Sometimes, I got this error, sometimes not. I never known really why. Is it possible this is due to a contact name ?
Logged
Anael
Power user
*
Offline Offline

Posts: 132


View Profile WWW
« Reply #12 on: December 14, 2009, 05:35:32 pm »

Hello both,

I always have the error message quoted below


Anyone have one idea ?
I need, in order to use amsn on linux, every time I have launched amsn go to the amsn repertory and copy back a backup of this files... very unpleasure Sad
Logged
gilaparis75
Power user
*
Offline Offline

Posts: 54


View Profile
« Reply #13 on: December 18, 2009, 07:24:19 pm »

Quote from: "Anael"
Hello,

Baaazen,
I'm using this command to mount the datas, is it correct?
Code:
sudo mount --bind /datas/Documents\ and\ Settings/Anael/amsn/ /home/anael/.amsn -o uid=anael

I can access to the directory and see the documents.
But, the owner appears to always be root:plugdev .



Hi ! I think y've better to

1) Mount the ntfs partition from inside /etc/fstab with a ligne such

/dev/sda2   /windows   ntfs-3g  uid=1000, auto     0 0  (assuming sda2 as your windows partition and 1000 your id number)

In this case all the files on the ntfs partition should belong to you

2) Then you can issue your ln -s command which is much easy to manage than a mount --bind

Try and let me know

(j'espère que j'ai été clair)
Logged
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!