Thread Tools Display Modes
02/19/17, 05:37 AM   #1
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view addons
Join Date: May 2015
Posts: 23
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.
  Reply With Quote
02/19/17, 05:45 AM   #2
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
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.
  Reply With Quote
02/19/17, 05:48 AM   #3
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view addons
Join Date: May 2015
Posts: 23
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.
  Reply With Quote
02/19/17, 06:14 AM   #4
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019


Problem is here.
  Reply With Quote
02/19/17, 06:38 AM   #5
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view addons
Join Date: May 2015
Posts: 23
Originally Posted by Ayantir View Post


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...
  Reply With Quote
02/20/17, 06:28 AM   #6
mcdonnelldean
AddOn Author - Click to view addons
Join Date: Feb 2017
Posts: 1
Maybe the text editor you are using? See if it has a symbols mode, usually handy for finding those things!
  Reply With Quote
02/20/17, 06:49 AM   #7
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2014
Posts: 1,019
It's Notepad++

Hex editor is a plugin.
  Reply With Quote
02/21/17, 03:05 PM   #8
retired_adventurer
AddOn Author - Click to view addons
Join Date: Dec 2016
Posts: 5
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.
  Reply With Quote
02/21/17, 10:20 PM   #9
Noobanidus
 
Noobanidus's Avatar
AddOn Author - Click to view addons
Join Date: May 2015
Posts: 23
Originally Posted by retired_adventurer View Post
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!
  Reply With Quote

ESOUI » Developer Discussions » General Authoring Discussion » Correct APIVersion but addon "out-of-date"?

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off