Shoutbox

[Help] Wrong Skin Trace errors - Printable Version

-Shoutbox (https://shoutbox.menthix.net)
+-- Forum: MsgHelp Archive (/forumdisplay.php?fid=58)
+--- Forum: Messenger Plus! for Live Messenger (/forumdisplay.php?fid=4)
+---- Forum: Skinning (/forumdisplay.php?fid=41)
+----- Thread: [Help] Wrong Skin Trace errors (/showthread.php?tid=82194)

[Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 01:06 PM

Hi,

I have a strange problem: my skin shows the following error in the trace file:

SkinLoader: Couldn't find file "04.png"

However, the image is there (in my skin's root folder) ..
What's wrog this time?

Thanx in advance.

P.S. Could it be that multiple "Replace" items using the same image can produce such errors?


RE: [Help] Wrong Skin Trace errors by Basilis on 03-08-2008 at 01:10 PM

Are you sure the image is .png format? If it isn't, then that is what causes the error.


RE: RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 01:24 PM

quote:
Originally posted by Basilis
Are you sure the image is .png format? If it isn't, then that is what causes the error.

Yep.. The error is shown just one time in the trace file, while I've used the image multiple times...
RE: [Help] Wrong Skin Trace errors by Basilis on 03-08-2008 at 01:27 PM

That doesn't matter because the same image is used for all the replacements you did in your SkinInfo so it appears only one time. Have you put the image in any file in the skin's directory?
Example: Messenger Plus! Live?\Skins\Your skin\Images


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 01:32 PM

Yeah, I did.. Is that wrong?


RE: [Help] Wrong Skin Trace errors by Basilis on 03-08-2008 at 01:34 PM

Then you have to write this in your SkinInfo like this
<File>Images/04.png</File>


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 01:37 PM

SkinLoader: Couldn't find file "Images\04.png"


RE: [Help] Wrong Skin Trace errors by Basilis on 03-08-2008 at 01:39 PM

Images has to be replaced by the name of the file that you have put the picture in. It was just an example of what it should look like.


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 01:40 PM

I've temporarily placed the file n the Images folder.. Then that error shows up...

However, I DO get the desired results...


Solved :D Tnx :D


RE: [Help] Wrong Skin Trace errors by Basilis on 03-08-2008 at 01:42 PM

Another error I found now. You wrote Images\04.png instead of Images/04.png which is the right. You have used \ instead of /.


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 02:04 PM

I wrote??

quote:
Originally posted by Basilis


<File>Images/04.png</File>

RE: [Help] Wrong Skin Trace errors by Basilis on 03-08-2008 at 02:06 PM

quote:
Originally posted by SmokingCookie
SkinLoader: Couldn't find file "Images\04.png"
That is what you wrote. Anyway, hope I was helpful and have a nice skinning day. :)
RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 02:10 PM

Ooh, that way :P

Well I always use "\", and it works fine.
So does it do in this case...


RE: [Help] Wrong Skin Trace errors by Soardra on 03-08-2008 at 06:01 PM

When specifying a file in a directory you always use / the only reason I've ever used \ is in smilies and such. o.o with commands you use / as well...like this command (which is the IRC code for actions)

code:
/me
or when closing tags.
\me runs around *
* Soardra runs around *

as you can see / works, but \ does not
RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-08-2008 at 07:04 PM

Uhm.. I think that plain English would help me better..


RE: [Help] Wrong Skin Trace errors by Soardra on 03-08-2008 at 08:16 PM

* Soardra did some more research *

so this is what I've figured out:

   v backslash used when separating drive from folder within (open your SkinInfo.xml file in a browser)
C:\Program Files\Messenger Plus! Live\Skins\My Folder\SkinInfo.xml

        v slash used to separate http command from website
http://shoutbox.menthix.net/

v slash used in IRC commands (IRC is the oldest chat program in existance btw)
/me

   v      v both used in monster smiley
(''\(o,,o)/'')

This is how I word things in my SkinInfo.xml file:

code:
<Pictures>
  <Picture=Id"???">
    <File>Images/blah.png</File>
  </Picture>
</Pictures>

This is how it appears in a browser in the address bar:
C:\Program Files\Messenger Plus! Live\My Folder\Images\blah.png

I can now see that you were right in saying that the kind of slash did NOT matter. However, make sure that you're using the slash in the TAGS o-o because I'm pretty sure that DOES matter.
RE: [Help] Wrong Skin Trace errors by Spunky on 03-08-2008 at 08:36 PM

Usually \ is for local files and folders and / is for the internet addresses... and possibly networks (unsure though on that one)


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-09-2008 at 09:48 AM

Well, I think I know the difference between a forward- and a backslash, so I don't really understand why "/" should be used in the SkinInfo.xml (apart from <AboutUrl />, of course)..

But that doesn't matter, it works fine and that's what I'm working for..


RE: [Help] Wrong Skin Trace errors by Spunky on 03-09-2008 at 12:33 PM

If you using <AboutUrl/> the tag is obviously empty and so is not needed :p


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-09-2008 at 12:38 PM

I know, but what I meant was:

the thing in the <AboutUrl>X</AboutUrl> is a web address, which requires "/". Unless you have the file included in your skin of course :P


RE: [Help] Wrong Skin Trace errors by Volv on 03-09-2008 at 12:43 PM

You should be using '\' in SkinInfo.xml for all local file paths.


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-09-2008 at 12:46 PM

Whatever ^o)

EDIT:: Let's make a new topic titled "Discuss whether to use "/" or "\" in SkinInfo.xml" ^o)


RE: [Help] Wrong Skin Trace errors by Spunky on 03-09-2008 at 05:05 PM

Well, it's not a path is it? It's an markup language. ;):p


RE: [Help] Wrong Skin Trace errors by Matti on 03-09-2008 at 05:43 PM

To make it even worse... you should escape the backslash in your paths! :grin:

code:
<File>Images\\04.png</File>
This is because when you have an image called "nothing.png", the "Images\nothing.png" will be parsed as:
quote:
Images
othing.png
:P
RE: [Help] Wrong Skin Trace errors by Spunky on 03-09-2008 at 06:02 PM

I've only seen them with single slashes. Only seen doubles in scripts


RE: RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-09-2008 at 06:14 PM

quote:
Originally posted by Mattike
To make it even worse... you should escape the backslash in your paths! :grin:
code:
<File>Images\\04.png</File>
This is because when you have an image called "nothing.png", the "Images\nothing.png" will be parsed as:
quote:
Images
othing.png
:P

That is called SCRIPTING.. This sub forum is called SKINNING.
I have to admit that these two words look like each other, since both have an S as first character and they both end with "-ing", but please learn to read properly and see the difference between them ^o)
RE: [Help] Wrong Skin Trace errors by Spunky on 03-09-2008 at 06:54 PM

quote:
Originally posted by SmokingCookie
quote:
Originally posted by Mattike
To make it even worse... you should escape the backslash in your paths! :grin:
code:
<File>Images\\04.png</File>
This is because when you have an image called "nothing.png", the "Images\nothing.png" will be parsed as:


That is called SCRIPTING.. This sub forum is called SKINNING.
I have to admit that these two words look like each other, since both have an S as first character and they both end with "-ing", but please learn to read properly and see the difference between them ^o)

Learn to talk with a bit more respect to those superior to you ^o)


RE: [Help] Wrong Skin Trace errors by Soardra on 03-11-2008 at 12:49 AM

Also, scripting practices apply to skinning as well since it's basically using the same resources and such. The \n is because it's a code in strings for referring to a certain data set.
Ex)

code:
30=%1\nhas just signed in.

RE: [Help] Wrong Skin Trace errors by Spunky on 03-11-2008 at 02:25 PM

quote:
Originally posted by Soardra
Also, scripting practices apply to skinning as well since it's basically using the same resources and such. The \n is because it's a code in strings for referring to a certain data set.
Ex)
code:
30=%1\nhas just signed in.


No, strings are processed and so \n is converted to a new line. Paths are not however, the path is read as it is, else the skin would be looking for files with the newline character in them for example
RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-11-2008 at 02:29 PM

And the newline charater comes back in C(+(+)) and probarbly many other programming languages..


RE: [Help] Wrong Skin Trace errors by vikke on 03-11-2008 at 02:37 PM

In Windows ALL paths should always use '\', but in Linux (or *nix) you should always use '/'. Mostly programs written/ported from Linux to Windows uses '/'  though, that would include open-source projects such as Firefox (IE has this as well, because it's standard). Any decent program should support both.
Messenger Plus! is completely written for Windows, but I think it accepts both '/' and '\', mostly because the CreateFile API does (used to open the file).
Mattike: That won't ever happen, because when the string is copied to an array of bytes, the bytes will be the same as in the file, and that doesn't include these \, since your editor used "\\" when writing to the file.


RE: [Help] Wrong Skin Trace errors by blessedguy on 03-16-2008 at 06:46 PM

Ok...i'm getting wrong skin  traces too, but i'm sure the formats are correct (i always use png, JPG has their own folder), where should be / i used / and not \ (the problem is with a resource at the root folder though)...and etc.
SkinTrace.txt says the plus couldn't find 59048, wich is at the root folder, and was working before i restart messenger to apply another change......so to make it easier to anyone...i'm attaching the hole skin, i hope you can help me with this...

(Please!! there are too much changes between my current version and this in attachment...)


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-16-2008 at 07:43 PM

Attachment??

Maybe you should upload to RapidShare..


RE: [Help] Wrong Skin Trace errors by Menthix on 03-16-2008 at 07:46 PM

quote:
Originally posted by SmokingCookie
Maybe you should upload to RapidShare..
Since when is waiting over a minute or buying a premium account preferred over a plain old forum attachment (or any other regular HTTP download) :s.
RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-16-2008 at 07:49 PM

I don't know.. But "blessedguy"'s post didn't have any attachments..


RE: [Help] Wrong Skin Trace errors by blessedguy on 03-16-2008 at 08:46 PM

ups...didnt go attached...
ill use skydrive...its the best in my opinion..
(if the link leads to a folder...download the .rar file...)
http://cid-89c90c790778173b.skydrive.live.com/sel...ve%20Messenger.rar


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-16-2008 at 09:03 PM

Well, I'll give it a try, but not today anymore..
I'm tired, I'm gonna sleep..


RE: [Help] Wrong Skin Trace errors by blessedguy on 03-16-2008 at 09:10 PM

no problems if it isnt today...i still have got loads of homwork to do...and ill probably finish it by the holyday...(wich, at least here, begins friday...)


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-17-2008 at 02:46 PM

Enabled your skin..
Surprise...

[Image: screeniero5.th.jpg]


RE: [Help] Wrong Skin Trace errors by blessedguy on 03-17-2008 at 04:49 PM

have you done this without changing anything??
Dunno why, it doesn't even open messenger when i use that file, and msg plus create the skintrace.txt, wich was together with the .rar file...I'll try at another pc and see if it works fine...

edit: well...it worked...in my moms pc...but still doesn't work at mine!!!
weird...ill try removing all the skins (saving them to a backup cd), reinstalling messenger, and see if that solves my problem...


RE: [Help] Wrong Skin Trace errors by Matti on 03-17-2008 at 05:35 PM

quote:
Originally posted by SmokingCookie
That is called SCRIPTING.. This sub forum is called SKINNING.
I have to admit that these two words look like each other, since both have an S as first character and they both end with "-ing", but please learn to read properly and see the difference between them ^o)
Hmm, okay, you may be right there. Seems like I have mixed up the escaping rules, e.g. escaping the double-quote character: in XML it's done with &quot; and in scripting it's \"

Okay, you're right. :P
* Matti shuts his mouth.

(And there's no need to treat me like I don't know anything about it... I'm not retarded... yet! :P)
RE: RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-17-2008 at 05:57 PM

quote:
Originally posted by blessedguy
have you done this without changing anything??
Dunno why, it doesn't even open messenger when i use that file, and msg plus create the skintrace.txt, wich was together with the .rar file...I'll try at another pc and see if it works fine...

edit: well...it worked...in my moms pc...but still doesn't work at mine!!!
weird...ill try removing all the skins (saving them to a backup cd), reinstalling messenger, and see if that solves my problem...

?? Thhere's no SkinTrace.txt in the archive..

@Mattike: Thanx for saying that I'm right.. I almost started thinking that I was getting paranoïd.. :P
RE: [Help] Wrong Skin Trace errors by blessedguy on 03-19-2008 at 09:26 PM

Ok...I quit...it hasn't really worked...even with the same file!!!
I already restarted all the work i've lost...but at least i've got an idea on how to do it...
thanks for all your help!

(although i still think it IS really weird...)


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-22-2008 at 07:20 AM

Well, here I am again :S

code:
<*PlusSkin Conditions(ShowEmoticonBtn = true) *>
    <button class="HIGToolbarDropDownButton" layout=borderlayout() id=atom(emoticonbtn) cmdid=35125 AccRole=58 Tooltip=true active=mouseandkeyboard|nosyncfocus>
        <ButtonIcon class="HIGToolbarDropDownIcon" contentalign=middlecenter ID=Atom(ai118)/>
        <element layoutpos=right class="HIGToolbarDropDownCaret" contentalign=middlecenter ID=Atom(ai119)/>
        <element layoutpos=Right contentalign=middlecenter layout=filllayout()>
            <ButtonText class="HIGToolbarDropDownText" content="" contentalign=middlecenter Shortcut=1 ID=Atom(ai120)/>
        </element>
    </button>
</*PlusSkin*>

Gives:

code:
08/03/22 08:23:27| **** The trace has started ****
08/03/22 08:23:27| Skin: GTA IV Skin 2.40
08/03/22 08:23:27| Messenger version: 8.5.1302.1018 (nl-nl)
08/03/22 08:23:27| Messenger Plus! version: 4.60.324
08/03/22 08:23:27| Last definition file loaded: 920
08/03/22 08:23:27| DUIParserFailure: Mismatched tag 'element' 185

What's wrong with this piece of code?
RE: [Help] Wrong Skin Trace errors by blessedguy on 03-22-2008 at 12:36 PM

Line 185 of your definition 920 has a mismatch...(like <element></Element>)...could you send us this file? (920 definition)


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-22-2008 at 12:41 PM

If you're patient enough.. I have to find out where the attachment link is :P

EDIT:: Here you are..


RE: [Help] Wrong Skin Trace errors by blessedguy on 03-22-2008 at 01:00 PM

try replacing <*PlusSkin Conditions(ShowBuzzBtn = true) *> for <*PlusSkin Conditions(ShowBuzzBtn = true)*>


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-22-2008 at 01:48 PM

Thanx man :D

BUT!!

code:
<*PlusSkin Conditions(ShowOptionsChat = true) *>
    <button class="HIGToolbarButton" layout=borderlayout() id=atom(SkinBtn) cmdid=7460 AccRole=43 Tooltip=true active=mouseandkeyboard|nosyncfocus>
        <ButtonIcon class="HIGToolbarIcon" contentalign=middlecenter ID=Atom(SkinBtnImg)/>
        <element layoutpos=Right contentalign=middlecenter layout=filllayout()>
            <ButtonText class="HIGToolbarText" content="" contentalign=middlecenter Shortcut=1 ID=Atom(SkinBtnFnt)/>
        </element>
    </button>
</*PlusSkin*>

Works fine...
RE: [Help] Wrong Skin Trace errors by blessedguy on 03-22-2008 at 01:54 PM

quote:
Originally posted by SmokingCookie
Thanx man :D

BUT!!

code:
<*PlusSkin Conditions(ShowOptionsChat = true) *>
    <button class="HIGToolbarButton" layout=borderlayout() id=atom(SkinBtn) cmdid=7460 AccRole=43 Tooltip=true active=mouseandkeyboard|nosyncfocus>
        <ButtonIcon class="HIGToolbarIcon" contentalign=middlecenter ID=Atom(SkinBtnImg)/>
        <element layoutpos=Right contentalign=middlecenter layout=filllayout()>
            <ButtonText class="HIGToolbarText" content="" contentalign=middlecenter Shortcut=1 ID=Atom(SkinBtnFnt)/>
        </element>
    </button>
</*PlusSkin*>

Works fine...

well...I don't know if the code up here (that you posted) works, but at least at the skinning docs it is said that you1've got to use =true)*> [without spaces]

(p.s.:you're welcome! =) )
RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-22-2008 at 01:59 PM

I think I (finally) have some kind of idea what to do:

code:
<*PlusSkin Conditions(Option = Value)*>
(...)
</*PusSkin*>
<*PlusSkin Conditions(Option = Value) *>
(...)
</*PusSkin*>
<*PlusSkin Conditions(Option = Value)*>
(...)
</*PusSkin*>
<*PlusSkin Conditions(Option = Value) *>
(...)
</*PusSkin*>

And so on...

EDIT:: Feels fine to be welcome :P
RE: [Help] Wrong Skin Trace errors by blessedguy on 03-22-2008 at 02:05 PM

well...thats the way I've done the hole skin...(i was tired to put the same thing in tons of places at the same style or definition...)
(except for the detail that my options are <*PlusSkin Conditions(Option = Value)*>...but i'm starting to think that it doesn't really matter...)
Good luck!


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-22-2008 at 02:08 PM

Now, I have one problem left vefore they'll accept my skin..
But that's off-topic :P

EDIT:: It WAS working, until I tried to optionally remove the voiceclip button :S :@

Okay, no way to optionally remove it.. Got it working again..


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-24-2008 at 01:18 PM

Got WLM 9.0 nd a problem:

code:
    <*PlusSkin Conditions(ShowSharingBtn = true) *>
        <Button cmdid=40373 id=atom(sharingfoldersbtn) AccRole=57 Class="TransparentButton" Layout=flowlayout(0,2,0,2) Active=MouseandKeyboard|NoSyncFocus Padding=rect(5,4,5,4)> <!-- Line 123
            <element class="ToolbarIcon" ID=Atom(ai204)/>
            <element id=atom(sharecount) class="ToolbarButtonItemCount" padding=rect(3,0,0,0) content=bind(property:"NewFileCount";transform:64503) visible=bind(property:"NewFileCount";transform:64202)/>
        </Button>
    </*PlusSkin*>

Only to give:

code:
08/03/24 14:13:10| **** The trace has started ****
08/03/24 14:13:10| Skin: GTA IV Skin 90 0.1
08/03/24 14:13:10| Messenger version: 9.0.1407.1107 (en-us)
08/03/24 14:13:10| Messenger Plus! version: 4.60.324
08/03/24 14:13:10| Last definition file loaded: 923
08/03/24 14:13:10| DUIParserFailure: parse error '*' 123

Strange? No
Very strange? Yes

If anyone can make sense out of this, please tell me what to do, 'caue it doesn't make any sense to me..
RE: [Help] Wrong Skin Trace errors by Basilis on 03-24-2008 at 01:21 PM

In the line 123 there shouldn't be a *. But I can't tell you what line is 123 since I don't have your entire definition file.


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-24-2008 at 01:41 PM

In Notepad, hit [CTRL] + [G] then type 123 and there you are..

Sorry, I can't read :P

Def file being uploaded really soon..


RE: [Help] Wrong Skin Trace errors by Basilis on 03-24-2008 at 01:42 PM

You have to do this. If you edited the file, it may lead to another line.


RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-24-2008 at 01:55 PM

Ummm.. There's no attachment...


RE: [Help] Wrong Skin Trace errors by Willz on 03-24-2008 at 01:57 PM

plusSkin is the problem it is case sensitive it should be PlusSkin


RE: RE: [Help] Wrong Skin Trace errors by SmokingCookie on 03-24-2008 at 02:03 PM

quote:
Originally posted by Willz
plusSkin is the problem it is case sensitive it should be PlusSkin

You see? I can't read, and I cant't type ^o) (just kiddin'..)..

Thanks lads and I'm sorry to waste your time with such a stupid mistake :$

EDIT:: The problem is still not solved :S
The trace file keeps giving me that error..

EDIT:: Solved :D

There was some other error.. :S


EDIT:: For some really weird reason, the bug is back again.
Now I've found out that the first "*" of line 123 is to blame.