ESOUI

ESOUI (https://www.esoui.com/forums/index.php)
-   General Authoring Discussion (https://www.esoui.com/forums/forumdisplay.php?f=174)
-   -   Correct APIVersion but addon "out-of-date"? (https://www.esoui.com/forums/showthread.php?t=6837)

Noobanidus 02/19/17 05:37 AM

Correct APIVersion but addon "out-of-date"?
 
So, someone recently commented on one of my addons (uploaded within the past few days, and brand new) to inform me that it was marked as "out-of-date" in-game. I assumed either it was an error on my part (typo or forgot to modify the file when I copied it from my template) or an error on their part.

However, the manifest appears correct http://i.imgur.com/haAZ6PC.png

But the addon is marked out-of-date http://i.imgur.com/RRq8Rnf.png

However, another addon which I wrote today has the exact same manifest http://i.imgur.com/lvkHVX0.png

And is not marked as out-of-date http://i.imgur.com/Ws13wmK.png

As an experiment, I copied the manifest file of the functional addon over the top of the existing one, changing the description and title, but it still is marked as out-of-date.

I can't see what I could possibly be doing wrong here. I'm obviously missing something, and hopefully it's something simple, but I just can't put my finger on what it is.

Ayantir 02/19/17 05:45 AM

please the zip of the addon in error.

I would say a totally dumb user, or something like end of line badly set (one line unix style, one in windows).. maybe a unicode issue.

But with screenshot and only notepad, we won't find the cause easily.

Noobanidus 02/19/17 05:48 AM

http://www.esoui.com/downloads/info1...lePreview.html

It's this addon, I thought it might've been a line-ending issue which is why I copied and pasted the functional add-on over, but it didn't appear to change.

http://www.esoui.com/downloads/info1...ePreviews.html This is the addon that does not show as out-of-date.

Ayantir 02/19/17 06:14 AM



Problem is here.

Noobanidus 02/19/17 06:38 AM

Quote:

Originally Posted by Ayantir (Post 29975)


Problem is here.

Ah! Finally. I didn't expect that at all, but at least I know how to fix it. No idea what caused it in the first place though...

mcdonnelldean 02/20/17 06:28 AM

Maybe the text editor you are using? See if it has a symbols mode, usually handy for finding those things!

Ayantir 02/20/17 06:49 AM

It's Notepad++

Hex editor is a plugin.

retired_adventurer 02/21/17 03:05 PM

If you are curious what those bytes are: https://en.wikipedia.org/wiki/Byte_order_mark

I think the Notepad application that comes with Windows will insert those bytes if you choose UTF-8 as the encoding when saving. If you use Notepad and don't want those bytes, make sure the encoding is set to ANSI when you save. Another solution is to use a different text editor.

Noobanidus 02/21/17 10:20 PM

Quote:

Originally Posted by retired_adventurer (Post 30013)
If you are curious what those bytes are: https://en.wikipedia.org/wiki/Byte_order_mark

I think the Notepad application that comes with Windows will insert those bytes if you choose UTF-8 as the encoding when saving. If you use Notepad and don't want those bytes, make sure the encoding is set to ANSI when you save. Another solution is to use a different text editor.

Thanks for that. I usually use gvim to modify everything but when editing manifests and all I'm doing is bumping the API version I usually just double-click them to open them in Notepad.

Curse you, Notepad!


All times are GMT -6. The time now is 07:25 AM.

vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI