aMSN Forums
May 25, 2013, 07:32:11 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 ... 14 15 [16] 17 18 ... 21
  Print  
Author Topic: Winks pluggin, a little work  (Read 191670 times)
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #225 on: March 07, 2007, 05:13:12 pm »

bigbadben: did you install cabextract? The winks you receive are compressed, so you need cabextract to uncompress it. If you use WinXp you can choose to use extrac32 instead of cabextract in the plugin configuration dialog (you won't need to install anything in that case). If you use macos, you should get cabextract for mac os from http://www.kyz.uklinux.net/cabextract.php and write the correct path to the executable in the plugin configuration dialog.
Logged
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #226 on: March 07, 2007, 05:46:27 pm »

neothematrix: The content.xmls that you posted are perfectly normal. They have the same structure and fields that the ones I use to test, so there's no problem there. It must be something related to cabextract. You also say that you can extract them manually without troubles, so I think there's something wrong in the way the plugin calls cabextract, but I can't reproduce it. Do you have the right cabextract path in the plugin configuration dialog? Anyway, here's a little change, I don't know if that may help:

http://in.solit.us/archives/download/13466
Logged
bigbadben
Newbie

Offline Offline

Posts: 23


View Profile
« Reply #227 on: March 07, 2007, 11:41:03 pm »

Quote from: "Zaskar"
bigbadben: did you install cabextract? The winks you receive are compressed, so you need cabextract to uncompress it. If you use WinXp you can choose to use extrac32 instead of cabextract in the plugin configuration dialog (you won't need to install anything in that case). If you use macos, you should get cabextract for mac os from http://www.kyz.uklinux.net/cabextract.php and write the correct path to the executable in the plugin configuration dialog.


yes
it's installed with fink.



this is the error i get wen trying to install new winks!!


[17:53:38] */Users/benoitdumont/Movies/MSN PACK 8000 Emoticons + 420 Winks/MSN PACK 8000 Emoticons + 420 Winks.part011173028352.tmp/420 Rare Winks for MSN 7/198 Winks with name/Bear with Flowers.MCO*
[17:53:38] *content.xml*
[17:53:38] */Users/benoitdumont/Library/Application Support/amsn/toseebigbadben_hotmail_com/winks/cache/tmp*
[17:53:38] cabextract output: couldn't execute "cabextract": no such file or directory


wen i tried default winks from a user, i had no problem to copy the winks.
iff i try to install winks from computer or steal "new" winks from msn friend, it wont let me
Logged
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #228 on: March 08, 2007, 12:34:23 am »

The last line "[17:53:38] cabextract output: couldn't execute "cabextract": no such file or directory" says that you don't have cabextract installed, or that it's somewhere outside the executable path. If you do have installed cabextract, you should look for it and write the full path in the winks configuration dialog (I don't know where do the files go in macs, but for example if I'd have cabextract in my home directory, I should replace "cabextract" for "/home/zaskar/cabextract").
Logged
bigbadben
Newbie

Offline Offline

Posts: 23


View Profile
« Reply #229 on: March 08, 2007, 12:43:55 am »

Quote from: "Zaskar"
The last line "[17:53:38] cabextract output: couldn't execute "cabextract": no such file or directory" says that you don't have cabextract installed, or that it's somewhere outside the executable path. If you do have installed cabextract, you should look for it and write the full path in the winks configuration dialog (I don't know where do the files go in macs, but for example if I'd have cabextract in my home directory, I should replace "cabextract" for "/home/zaskar/cabextract").


ok..............

but why default works then...Huh
Logged
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #230 on: March 08, 2007, 12:47:56 am »

What do you mean by default?
Logged
bigbadben
Newbie

Offline Offline

Posts: 23


View Profile
« Reply #231 on: March 08, 2007, 12:53:07 am »

Quote from: "Zaskar"
What do you mean by default?


the ones that comes with msn 7 ou 8 wen you install for the first time.........yes i know i had to steal them from a freind, but i had no problem stealing them, i have them under the winks window in the cw.i can check them too!!

but the problem is installing or stealing new winks that normally arent available as default....ex: i have around 400 winks i have in a folder ready to add to amsn. but the plugin or patch wont let me....

so here the good question. how come i already stolen some wink before, and now i cant steal or add new!?
Logged
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #232 on: March 08, 2007, 01:06:06 am »

It is very estrange, because the plugin uses the same proc for extracting files from an mco or any unknown wink you receive. If it finds cabextract for one thing, then it should find it for the other. Anyway, if your cabextract worked before and you added the winks then, now you can send them without trouble because you have them already uncompressed. You can try deleting one of them an stealing it again, but clear the cache folder before stealing again, because when you delete a wink  it is moved to the cache folder, so when stealing again the files are already extracted.
Logged
Auria
Power user
*
Offline Offline

Posts: 121


View Profile
« Reply #233 on: March 08, 2007, 02:28:22 am »

Quote

bigbadben: did you install cabextract?

Quote

yes
it's installed with fink.


Fink installs in non-standard prefix /sw, maybe you just need to add that /sw/bin to your path
Logged
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #234 on: March 10, 2007, 04:17:34 pm »

Now you can enable "close winks menu on mouse leave" even if you use beryl.

http://in.solit.us/archives/download/13718
Logged
SSamiK
Newbie

Offline Offline

Posts: 8


View Profile
« Reply #235 on: March 10, 2007, 04:28:26 pm »

neothematrix explained my exact problem. content.xml looks right, cabextract works no doubt about that. (tried both full path to cabextract and just cabextract) So it's most likely as you said Zaskar, it's propably something in the way the script calls cabextract.
i've checkt all my wink folders, and there's never a file beeing unpacked when I try adding a wink from a mco. (stealing works just fine)

Still no errors in ether ctrl+s, nor alt+p

Is there any way I can provide you with somwhat more useful informatin, please give me a hint on how to do that and i'll be happy to help tracing the bug.

EDIT: I'm using the latest version of your plugin.
Logged
Zaskar
Super Power User
**
Offline Offline

Posts: 159


View Profile
« Reply #236 on: March 10, 2007, 06:21:30 pm »

Ok. I think that the plugin is something like finished now (or at least stable). This version should fix the problem for adding winks from an mco file. I've been chating with neothematrix and we found that we had installed different versions of cabextract. The problem was that the use of cabextract's "-F" argument  (when combined with "-d") has changed from version 1.1 to version 1.2. Here's the new winks plugin version:

http://in.solit.us/archives/download/13728

Note: if you update cabextract from 1.1 to 1.2 (or greater in the future) while the plugin is loaded, it will stop working, because the plugin finds out what version is available when it's loaded (so you'll have to disable and enable it again). Anyway, for those who has installed cabextract 1.1, I don't see any reason to update yet.
Logged
neothematrix
Newbie

Offline Offline

Posts: 9


View Profile
« Reply #237 on: March 10, 2007, 06:38:51 pm »

works perfectly now, even the beryl thing...you can safely label the plugin as "final" Smiley
Logged
SSamiK
Newbie

Offline Offline

Posts: 8


View Profile
« Reply #238 on: March 10, 2007, 07:53:44 pm »

Yeah, works perfectly now. Great work!
Logged
kakaroto
Administrator
Super Power User
*****
Offline Offline

Posts: 9428


View Profile WWW
« Reply #239 on: March 11, 2007, 03:08:19 am »

Hi Zaskar,
I just tested your plugin again and it looks really good!!!
I only have a small few complaints, but that could be fixed later.
1 - the plugin_version in the plugininfo.xml file contains the date of the release of the plugin, it should be more something like 0.9 or 1.0 or something like that... I don't think it changes anything, it's just to make it 'standard' like all the other plugins.
2 - It works very well, it's cool! but I still noticed that some winks are received with the name "Unused" and that it prevents us from seeing the real name of the wink. I tested with WLM and whenever you give the name "Unused" to a wink, WLM will show the name as it appears in the content.xml file (only after it downloaded it and after you close/reopen the window) I tested with the same wink, gave it different names, they all showed up in WLM, and once I gave it the name "Unused", it showed me the name of the wink as it's written in the wink:name attribute of content.xml. I then spent some time reading the msnmsgr.exe assembly code and I realized the "Unused" is indeed checked in the code, so I guess we should also check for that... almost all added winks have "Unused" as their name..
3 - When we add a new wink, it asks us for the name THEN it extracts the wink.. maybe it should extract the wink THEN ask us for the name, this way, wrong mco files will directly show an error without having to enter a name THEN realize we chose the wrong file.. also, it will allow the plugin to go get the wink's name from the content.xml, because I just downloaded hundreds of winks, and all the filenames are weird, so I have to go manually extract the mco, then the .cab, then read the content.xml, then get the wink's name, then add the wink into amsn and put the right name in it. if the plugin could automatically fetch the wink's name, that would be cool!
4 - the 'winks menu disappear on mouse leave' option of the configuration dialog is useless, probably noone will disable it, so it should be removed to make the plugin more 'user friendly' and not bloated.
5 - the same would apply to the 'show "add new wink" in winks menu' option of the config dialog
6 - I looked at the code, you're still not using the xml2list API ?

That's it..
All these issues are minor, and I'll be adding the winks plugin to SVN now. I just emailed amsn-devel to see what they think should be done, should we add winks plugin to amsn-extras or add it as a default plugin.
Thanks a lot for your great work!
Logged

KaKaRoTo
Pages: 1 ... 14 15 [16] 17 18 ... 21
  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!