Trouble verifying synchronization of addons

Support and feedback for UniAdmin

Trouble verifying synchronization of addons

Postby mfoley » Thu Dec 21, 2006 4:37 am

I have attempted to test the synchronization of the addon (CharacterProfiler).

I was able to successfully upload the addon with the following parameters

Name: CharacterProfiler
Version: 2.0.1
Homepage: http://www.rpgoutfitter.com/Addons/Char ... ofiler.cfm

Whenever I synchronize, I am able to verify that the structure is being read properly (towards bottom of debug paste):

Code: Select all
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] RetrData: url: http://www.wowroster.net/uniuploader_updater2/update.php
[2006/12/21 03:34:22] RetrData: param1: OPERATION
[2006/12/21 03:34:22] RetrData: val1: GETLANGMD5
[2006/12/21 03:34:22] RetrData: Timeout: 20000
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22] e974d4962bc2282b4816a294bc2a568d
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] MD5SUM of local languages.ini: e974d4962bc2282b4816a294bc2a568d
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] RetrData: url: http://www.wowroster.net/uniuploader_updater2/update.php
[2006/12/21 03:34:22] RetrData: param1: OPERATION
[2006/12/21 03:34:22] RetrData: val1: CHECKUPDATES
[2006/12/21 03:34:22] RetrData: Timeout: 20000
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22] 2.5.0|Version 2.5.0 changes:
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] 1. Added - Optional Addons Integration (UA v0.7.0 and above only)
[2006/12/21 03:34:22] 2. Added - Cookie Handling
[2006/12/21 03:34:22] 3. Added - new shiny icon
[2006/12/21 03:34:22] 4. Added - wow launch arguments textbox
[2006/12/21 03:34:22] 5. Added - Installer Now checks for and downloads/installs the .NET Framework
[2006/12/21 03:34:22] 6. Removed - custom user agent settings
[2006/12/21 03:34:22] 7. Removed - license agree yes/no shmeal and license updater
[2006/12/21 03:34:22] 8. Fixed - (403) Forbiden server errors
[2006/12/21 03:34:22] 9. Fixed - can now select bat files in the launch options
[2006/12/21 03:34:22] 10. Fixed - logic in the controls in the updater tab
[2006/12/21 03:34:22] 11. Fixed - (412) Precondition Failed server errors
[2006/12/21 03:34:22] 12. Fixed - URLs getting truncated when updating with UA (UA version 0.7.0 and above only)
[2006/12/21 03:34:22] 13. Fixed - (500) Internal Server Error caused by (invalid Content-Disposition header)
[2006/12/21 03:34:22] 14. Fixed - now saves/retrieves the selected account properly
[2006/12/21 03:34:22] 15. Fixed - Custom WoW location now saves/retrieves properly
[2006/12/21 03:34:22] 16. Fixed - Now doesn't ignore the following settings from UA: AUTODETECTWOW, USELAUNCHER
[2006/12/21 03:34:22] 17. Changed - reordered tabs: Settings, Updater, Options, Advanced, Server Response, Debugger, Help, About
[2006/12/21 03:34:22] 18. Updated - built in help text
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] notes:
[2006/12/21 03:34:22] optionality of addons doesn't work with uniadmin version < 0.7.0
[2006/12/21 03:34:22] uniadmin bug (blah.php?foo=bar) remains when using uniadmin version < 0.7.0
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22]
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] RetrData: url: http://www.yarr-u-ready.com/uniadmin/interface.php
[2006/12/21 03:34:22] RetrData: param1: OPERATION
[2006/12/21 03:34:22] RetrData: val1: GETSETTINGS
[2006/12/21 03:34:22] RetrData: Timeout: -1
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22] LOGO1[=]http://www.yarr-u-ready.com/uniadmin/logos/logo1.gif[|]LOGO2[=]http://www.yarr-u-ready.com/uniadmin/logos/logo2.gif[|]LANGUAGE[=]English[|]PRIMARYURL[=]http://www.yarr-u-ready.com/uniadmin/interface.php[|]UUUPDATERCHECK[=]1[|]SYNCHROURL[=]http://www.yarr-u-ready.com/uniadmin/interface.php[|]SVLIST[=]CharacterProfiler:PvPLog:
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22]
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] RetrData: url: http://www.yarr-u-ready.com/uniadmin/interface.php
[2006/12/21 03:34:22] RetrData: param1: OPERATION
[2006/12/21 03:34:22] RetrData: val1: GETUAVER
[2006/12/21 03:34:22] RetrData: Timeout: -1
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22] 0.7.0
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:22]
[2006/12/21 03:34:22]
[2006/12/21 03:34:22] RetrData: url: http://www.yarr-u-ready.com/uniadmin/interface.php
[2006/12/21 03:34:22] RetrData: param1: OPERATION
[2006/12/21 03:34:22] RetrData: val1: GETFILEMD5
[2006/12/21 03:34:22] RetrData: param2: FILENAME
[2006/12/21 03:34:22] RetrData: val2: logo1.gif
[2006/12/21 03:34:22] RetrData: Timeout: 20000
[2006/12/21 03:34:22] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:23] 5f1f320935bb203323dce85a5f924b54
[2006/12/21 03:34:23] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:23]
[2006/12/21 03:34:23] MD5SUM of local logo1.gif: 5f1f320935bb203323dce85a5f924b54
[2006/12/21 03:34:23]
[2006/12/21 03:34:23] RetrData: url: http://www.yarr-u-ready.com/uniadmin/interface.php
[2006/12/21 03:34:23] RetrData: param1: OPERATION
[2006/12/21 03:34:23] RetrData: val1: GETFILEMD5
[2006/12/21 03:34:23] RetrData: param2: FILENAME
[2006/12/21 03:34:23] RetrData: val2: logo2.gif
[2006/12/21 03:34:23] RetrData: Timeout: 20000
[2006/12/21 03:34:23] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:23] 5f1f320935bb203323dce85a5f924b54
[2006/12/21 03:34:23] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:23]
[2006/12/21 03:34:23] MD5SUM of local logo2.gif: 5f1f320935bb203323dce85a5f924b54
[2006/12/21 03:34:23]  UpdateAddons Debugging process started
[2006/12/21 03:34:23] Retrieving XML data.
[2006/12/21 03:34:23]
[2006/12/21 03:34:23] RetrData: url: http://www.yarr-u-ready.com/uniadmin/interface.php
[2006/12/21 03:34:23] RetrData: param1: OPERATION
[2006/12/21 03:34:23] RetrData: val1: GETADDONLIST
[2006/12/21 03:34:23] RetrData: Timeout: -1
[2006/12/21 03:34:23] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:23]<addons>
[2006/12/21 03:34:23]    <addon name="CharacterProfiler" version="2.0.1" required="1" toc="20000">
[2006/12/21 03:34:23]       <file name="/CharacterProfiler/rpgo.lib.lua" md5sum="d26af62ef2d73ad5e88fa6b7e09bff6b" />
[2006/12/21 03:34:23]       <file name="/CharacterProfiler/localization.lua" md5sum="7d6d89201fb19f07915b53c53287a732" />
[2006/12/21 03:34:23]       <file name="/CharacterProfiler/CharacterProfiler.lua" md5sum="58f581ce518b876f3e8b90043ffecb49" />
[2006/12/21 03:34:23]       <file name="/CharacterProfiler/CharacterProfiler.toc" md5sum="b092dd36498ea0ed3d5fbe63ca14c85c" />
[2006/12/21 03:34:23]       <file name="/CharacterProfiler/readme.txt" md5sum="35e2c71494e234a93f80fc2849bf9a6c" />
[2006/12/21 03:34:23]    </addon>
[2006/12/21 03:34:23] </addons>
[2006/12/21 03:34:23] RetrData: ------------------------------------------------------------------------
[2006/12/21 03:34:23]
[2006/12/21 03:34:23] Beginning the XML document parsing
[2006/12/21 03:34:23] There are no Addon(s) which require an Update.


I tried testing this two different ways. 1) Deleting my local copy of the addon and 2) copying in an older version (1.6)

In both cases, the indication is "There are no Addon(s) which require an Update"

So, my question is, is it not possible to instruct a member to download UniUploader in the hopes that if they manage to successfully paste in the path to interface.php, they will get the addon if they didn't have it before?

In the case where they do have it but an older version, why does it not appear that these files will update?

Any advice as to how I can verify that the addons will indeed sync? Does the decision to update key off the TOC values or the checksum of the files? Also, the TOC value in the UNIADMIN_Addons table is "20000" but in the TOC file in my local copy, the version is "2.0.1". I do see where the "Interface" value in the same local file is "20000". Which is the same as the TOC value in the database. But even so, the previous Interface value in the TOC file when testing an update to an older version was "11200". So if the decision to update is keyed off of this value, it still didn't trigger.

These are just wild guesses on my part to try to troubleshoot and verify this functionality before I ask our guild members to download UniUploader. I wanted to make sure that updates will work and so far, I haven't been able to.

Any pointers would be appreciated.
Last edited by mfoley on Thu Dec 21, 2006 4:52 am, edited 3 times in total.
User avatar
mfoley
WR.net Apprentice
WR.net Apprentice
 
Posts: 55
Joined: Tue Aug 08, 2006 11:27 am

Trouble verifying synchronization of addons

Postby mfoley » Thu Dec 21, 2006 5:00 am

Ah...well, I think I see what's wrong. The "CharacterProfiler" folder is being placed at the base of my game directory. According to the help, the folder structure in the archive is supposed to be [Folder],{file(s)}

Which if I'm reading that right, that's what I have unless [Folder] = ..\Interface\Addons\[addon]

So what needs to be corrected here? The structure in the zip archive? Most WoW addons simply have the addon folder (i.e. CharacterProfiler) and not ..\interface\Addons\[addon]

Am I supposed to create this structure under the addon_zips folder at the remote site?

Please clarify. It's 3:30 in the morning so forgive me if I've missed something terribly obvioius. ;)
Last edited by mfoley on Thu Dec 21, 2006 5:01 am, edited 1 time in total.
User avatar
mfoley
WR.net Apprentice
WR.net Apprentice
 
Posts: 55
Joined: Tue Aug 08, 2006 11:27 am

Trouble verifying synchronization of addons

Postby zanix » Thu Dec 21, 2006 5:46 am

The Interface/AddOns/ structure should be in the zip file
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Trouble verifying synchronization of addons

Postby Samadhi » Thu Dec 21, 2006 10:00 am

zanix wrote:The Interface/AddOns/ structure should be in the zip file


It *used* to be, but I'm pretty sure I saw something on rpgo.net from calvin saying that it *wasn't* that way for the 2.0.1 release. I know I had to tweak the zip folder structure to get it to work on my install of UA.
Image
User avatar
Samadhi
Roster AddOn Dev
Roster AddOn Dev
 
Posts: 114
Joined: Mon Jul 17, 2006 10:38 pm
Location: NJ, USA

Re: Trouble verifying synchronization of addons

Postby mfoley » Thu Dec 21, 2006 1:43 pm

Samadhi wrote:
zanix wrote:The Interface/AddOns/ structure should be in the zip file


It *used* to be, but I'm pretty sure I saw something on rpgo.net from calvin saying that it *wasn't* that way for the 2.0.1 release. I know I had to tweak the zip folder structure to get it to work on my install of UA.


As I had said earlier, in my experience, the \Interface\Addons\ prefix in the structure is the exception, not the rule for most addons. Perhaps this hasn't been so apparent since the main addon I think for UniUploader is rpgoCharacterProfiler. However if it is to support, in a generic sense, any addon, then I would suggest something needs to be tweaked code wise. Otherwise, Admins will have to constantly double-check and manually rework their zip archives.

For a future release, I suggest, storing in the database, a user defined structure that defaults to concatanating $WoWInstallFolder\Interface\Addons during the sync process

Initiate Sync

CheckDirStructure()

If !Interface\Addons then
appendDirStructure()
Else
select from UniAdmin_Addons $userDefinedStructure
appendUserDefinedStructure($userDefinedStructure)
End If

Continue with sync process

Something along those lines.

On another note, which utility did you use to modify the relative paths in the zip archive. I've attempted to do this in WinRAR and WinZIP but have not been able to determin how this is done. Is there a command line switch maybe?
Last edited by mfoley on Thu Dec 21, 2006 1:44 pm, edited 1 time in total.
User avatar
mfoley
WR.net Apprentice
WR.net Apprentice
 
Posts: 55
Joined: Tue Aug 08, 2006 11:27 am

Trouble verifying synchronization of addons

Postby MattM » Thu Dec 21, 2006 2:28 pm

you simply create a bunch of folders named Interface, Addons, etc and put a folder within a folder, within a folder, and then compress your interface folder.
MattM
UA/UU Developer
UA/UU Developer
Gimpy Developer
Gimpy Developer
 
Posts: 886
Joined: Tue Jul 04, 2006 9:53 pm
Location: USA

Re: Trouble verifying synchronization of addons

Postby mfoley » Thu Dec 21, 2006 2:50 pm

Matt_Miller wrote:you simply create a bunch of folders named Interface, Addons, etc and put a folder within a folder, within a folder, and then compress your interface folder.


Yeah, I thought about doing that but it surprises me that one wouldn't be able to modify the path information using the zip utility itself.

And since uniUploader only supports one addon per archive, this becomes a bit tedious (especially when updating the addons themselves when newer versions come out).

It's worth the effort though given what UniUploader does...don't think I'm being Scrooge. ;)

Thanks for the confirming the tip. :)

Happy Holidaze!!
Last edited by mfoley on Thu Dec 21, 2006 2:53 pm, edited 1 time in total.
User avatar
mfoley
WR.net Apprentice
WR.net Apprentice
 
Posts: 55
Joined: Tue Aug 08, 2006 11:27 am

Trouble verifying synchronization of addons

Postby zanix » Thu Dec 21, 2006 9:51 pm

The next version of UA will have a tick mark to add the path "Interface/AddOns/" to the addon and will have an "AddOn Details" page to verify the structure of the addon
This option will be defaulted to "On" since most addons I have seen do not have that pathing
Read the Forum Rules, the WiKi, and Search before posting!
WoWRoster v2.1 - SigGen v0.3.3.523 - WoWRosterDF
User avatar
zanix
Admin
Admin
WoWRoster.net Dev Team
WoWRoster.net Dev Team
UA/UU Developer
UA/UU Developer
 
Posts: 5546
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US


Return to UniAdmin

Who is online

Users browsing this forum: No registered users and 1 guest

cron