aMSN Forums
May 19, 2013, 09:42:44 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 [2]
  Print  
Author Topic: Lost all my smilies!  (Read 12797 times)
BaaaZen
Power user
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #15 on: March 20, 2008, 05:25:08 pm »

@yeah: It doesn't matter what version you are using, if they were discarded once, they won't be written back in your config.xml and so they won't be loaded anymore. The files will still remain in the smileys-directory but aMSN won't use them until you import them again. That's why in the latest SVN it writes those smileys in the discarded_emoticons.xml and doesn't throw them away without a trace. If your problem remains that you have re-imported all your smileys and after restarting aMSN they're all gone, then you can see the reason why they have been discarded in the discarded_emoticons.xml. But therefor you have to use the latest SVN, as mentioned above, WHILE those smileys are discarded.
Logged

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

Posts: 145


View Profile
« Reply #16 on: March 20, 2008, 06:30:44 pm »

Of course. I was noticing that because before moving to that old revision I had still some smileys.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #17 on: March 20, 2008, 09:18:15 pm »

@BaaaZen... why would it ever want to discard any smiley?
Logged

KaKaRoTo
Trappski
Super Power User
**
Offline Offline

Posts: 200



View Profile
« Reply #18 on: March 20, 2008, 09:25:37 pm »

Quote from: "yeah"

Quick question: I'm on linux, should I recompile after each svn update? When I was on Windows I didn't do that


Should not need unless there are some c-files that's been updated. this assuming that you run the amsn-executable from the same place as you download the updated files from svn into.
Logged

BaaaZen
Power user
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #19 on: March 20, 2008, 11:19:46 pm »

@kakaroto: Usually that should never happen, except anyone has modified the profile/config, but it happens sometimes without any modification. My girlfriend has regularly problems with single disappearing smileys, and I'm sure she never would modify anything. My aMSN at university sometimes loses smileys, too, but that's caused by unreadable smiley-files from the NFS-server and I'm always saving my config before starting aMSN to prevent losing some of them. So if you know that before, it's no problem but if you don't you have to find and restore those smileys manually. So this file should only be a service for those who have problems with disappearing smileys to let them recover those smileys easily.
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 #20 on: March 21, 2008, 04:33:24 am »

@Baaazen: ok thx for explaining. It would be much better to have the unreachable smileys (file was moved/deleted/unaccessible) disabled for the current session that have them deleted... so if you delete a smiley file, and open aMSN, you won't see the smiley, if you put that the file, the smiley comes back automatically... it's a better solution than actually removing them... maybe add a 'valid' property on the smiley that gets set when the smiley is loaded and checked whenever we try to access them.
Also, to avoid corrupted config files and loosing smileys that way, it might be a smarter solution to write the config file into config.xml.temp and move the file once it's finished writing, so if aMSN crashes or gets killed (or pc crashes or whatever) while we are saving the config file and it doesn't get written completely, you won't get a corrupted profile.
I'd be grateful if you could take care of this fix...
Thanks
Logged

KaKaRoTo
BaaaZen
Power user
*
Offline Offline

Posts: 114



View Profile WWW
« Reply #21 on: March 21, 2008, 06:33:47 pm »

@kakaroto: That's in fact a much better solution, I fixed it like you said, but I let the unreachable smileys still visible in the smiley menu but only as a red square and not usable because the user can easily re-load or locate the file and fix the problem without having to search manually where the problem is and there won't be any garbage as a result of many unreachable smileys in the config.
Logged

There are only 10 types of people in the world: Those who understand binary, and those who don't.
minotauromx
Newbie

Offline Offline

Posts: 1


View Profile WWW
« Reply #22 on: March 21, 2008, 07:35:20 pm »

Quote from: "Fallingwater"
I installed the newest version of aMSN over the old one I was using. All my smilies were there and all was good.
Then I had to kill the program, and next time I restarted it the smilies were all gone. I tried the old version (which I left installed in another folder) and they're gone from there too.
The files are still in the appropriate folder, but aMSN doesn't use them anymore.
What can I do? I had a huge collection that I'd be really sorry to lose.
Thanks.


Hi, I have the same problem some days ago, but when I switch from debian etch to ubuntu gutsy. All when fine, my preferences, contacts logs, but smileys. I tried reinstalling ubuntu's amsn package and compiling the cvs version but without success, my old smileys didn't work. After compare my old config.xml and the new config.xml I notice this difference:
old config.xml:
<emoticon>
      <file>/home/myuser/.amsn/myuser_hotmail_com/smileys/a424e6c4a5e65344332745b47607a6a766a5a42346652536639514d3.png</file>
      <text>!sexy</text>
      <name>Sexy</name>
      <image_name>emoticonCustom_std_!sexy</image_name>
      <animated>1</animated>
   </emoticon>

new config.xml:
<emoticon>
      <file>~/smileys/a424e6c4a5e65344332745b47607a6a766a5a42346652536639514d3.png</file>
      <text>!sexy</text>
      <name>Sexy</name>
      <preview>emoticonCustom_preview_!sexy</preview>
      <image_name>emoticonCustom_std_!sexy</image_name>
      <animated>1</animated>
   </emoticon>

Look at the "file" tag, in the old file there is an absolute path to the png file, and in the new file, a relative path. I just change the absolute to relative paths and all my smileys comeback Cheesy
In the new config file there is also a new <preview> tag but it seem smileys work without this tag. Hope this help.
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #23 on: March 21, 2008, 07:37:58 pm »

thanks BaaaZen for the very fast fix! I reviewed the patch (quickly) and it looks good! Thanks a lot Cheesy

EDIT Looking at minotauromx's post and another previous one, it seems like the code that makes the smiley's profile independant is the one at fault, instead of replacing the absolute path by the relative path smileys/... it replacesit by ~/smileys/... so "~/" should be removed...
BaaaZen.. do you know why it's like that? you think you could fix it? (you're the one who did the patch for absolute to relative path fix, right ?).
Thanks (again:$)
Logged

KaKaRoTo
amsn_fan
Newbie

Offline Offline

Posts: 38


View Profile
« Reply #24 on: April 10, 2008, 11:57:57 pm »

Can you point me to the link for that importing smilies script? I have tried searching for "import smilies" "custom smilies" etc.
Logged
Pages: 1 [2]
  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!