Incorrect unzip folder

Support and feedback for UniAdmin

Incorrect unzip folder

Postby swampy » Fri Feb 16, 2007 4:18 pm

My addins have been uploaded to UniAdmin 0.7.5 with the parameter 'Full Path Addon' set to No.

However, when I sync, the file is downloaded to the WoW directory and unzipped under there rather than in Interface\Addons. Have I missed something obvious? Seems similar to the old issue here.

Thanks


The relevant sections of the Uniloader debug:
Code: Select all
[2007/02/16 15:13:26]    <addon name="EquipCompare" version="2.9.9" required="1" homepage="" filename="equipcompare.zip" toc="20003">
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\Change Notes.txt" md5sum="66fc6bfef62934d120e759da127a202e" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\Description.txt" md5sum="e5a9198f6ef8d29bea0e0ff7df141ac0" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\EquipCompare.lua" md5sum="c891055b31c0b42f8a26844c58886ceb" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\EquipCompare.toc" md5sum="ad2c4430e90290462b5c1521ea942f62" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\EquipCompare.xml" md5sum="4ccbf16578d85c90d0ad1f99db5e276c" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.cn.lua" md5sum="6af55189ff3766909d9aebf8f938f660" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.de.lua" md5sum="de63bd766ed4bdb5876b229a8ce823a5" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.fr.lua" md5sum="557b4cd7f559e3a4fecb5c6a6ba93ebf" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.kr.lua" md5sum="7eaa0bb77d860e2e2dddd9e3b869c11d" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.lua" md5sum="6b2d5c1728d4d562f7e5dd28d3d34802" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.post.lua" md5sum="a7bab1e8f0e230a40737fd657020ab9e" />
[2007/02/16 15:13:26]       <file name="\\Interface\\AddOns\\EquipCompare\\localization.tw.lua" md5sum="93ab447c9b16e4a021f3fa98f49d2aaf" />
[2007/02/16 15:13:26]    </addon>


Code: Select all
[2007/02/16 15:13:26] Now updating: EquipCompare
[2007/02/16 15:13:26]
[2007/02/16 15:13:26] RetrData: url:  http://www.argentdawnexiles.org/uniadmin/interface.php
[2007/02/16 15:13:26] RetrData: param1: OPERATION
[2007/02/16 15:13:26] RetrData: val1: GETADDON
[2007/02/16 15:13:26] RetrData: param2: ADDON
[2007/02/16 15:13:26] RetrData: val2: EquipCompare
[2007/02/16 15:13:26] RetrData: Timeout: -1
[2007/02/16 15:13:26] RetrData: ------------------------------------------------------------------------
[2007/02/16 15:13:32] http://www.argentdawnexiles.org/uniadmin/addon_zips/equipcompare.zip
[2007/02/16 15:13:32] RetrData: ------------------------------------------------------------------------
[2007/02/16 15:13:32]
[2007/02/16 15:13:32] Addon Retrieval Response:
[2007/02/16 15:13:32] http://www.argentdawnexiles.org/uniadmin/addon_zips/equipcompare.zip
[2007/02/16 15:13:32] File Name: equipcompare.zip
[2007/02/16 15:13:32] zipFileLocalLocation: D:\Program Files\World of Warcraft\equipcompare.zip
[2007/02/16 15:13:32] Downloading.: http://www.argentdawnexiles.org/uniadmin/addon_zips/equipcompare.zip
[2007/02/16 15:13:34] Unzipping
[2007/02/16 15:13:34] Deleting zip file
[2007/02/16 15:13:34] The Update Process for EquipCompare is complete.
[2007/02/16 15:13:34] 1 Addon Updated.
User avatar
swampy
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Mon Sep 25, 2006 9:38 pm
Location: UK

Incorrect unzip folder

Postby aniodon » Fri Feb 16, 2007 4:20 pm

aniodon
WR.net Journeyman
WR.net Journeyman
 
Posts: 108
Joined: Mon Dec 18, 2006 8:09 pm

Re: Incorrect unzip folder

Postby swampy » Fri Feb 16, 2007 4:33 pm

aniodon wrote:Same problem on this thread =) http://www.wowroster.net/Forums/viewtopic/t=2729.html


Ack! I did the decent thing and looked around in case it was a dupe and missed the 2nd point there. Apologies - especially since it's the post before mine! :)
User avatar
swampy
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Mon Sep 25, 2006 9:38 pm
Location: UK

Incorrect unzip folder

Postby aniodon » Fri Feb 16, 2007 4:51 pm

No problem, yours were more detailled !! =)
aniodon
WR.net Journeyman
WR.net Journeyman
 
Posts: 108
Joined: Mon Dec 18, 2006 8:09 pm

Incorrect unzip folder

Postby zanix » Sat Feb 17, 2007 3:01 am

Can you do me a favor and sync with UA 0.7.0 and see if it has the same error?
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Incorrect unzip folder

Postby zanix » Sat Feb 17, 2007 5:01 am

This is completely my fault
I thought UU uses the file path data that UA provides

I was wrong...

UU unzips the zip file without even looking at the file info from UA
I'm so very sorry, every single addon needs to have the full path untill UU is updated to handle this (UA will need a small update as well)
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Re: Incorrect unzip folder

Postby swampy » Sat Feb 17, 2007 7:07 am

Absolutely no problem, Zanix. Thanks for getting back about this so quickly :)

Edit:
I think this'll affect all the WoWAce stuff as well, since Ace doesn't include the Interface/Addons directory.
Last edited by swampy on Sat Feb 17, 2007 7:14 am, edited 1 time in total.
User avatar
swampy
WR.net Apprentice
WR.net Apprentice
 
Posts: 43
Joined: Mon Sep 25, 2006 9:38 pm
Location: UK

Incorrect unzip folder

Postby aniodon » Sun Feb 18, 2007 12:58 am

I have taken the .zip of CP and Pvp, how can I change the path of the files within to add the correct folders, to make it unzip on interface\... ?

Is there an easy way to do this ? =)
aniodon
WR.net Journeyman
WR.net Journeyman
 
Posts: 108
Joined: Mon Dec 18, 2006 8:09 pm

Incorrect unzip folder

Postby zanix » Sun Feb 18, 2007 1:24 am

Other than extracting, creating the correct folders, then compressing again
There isn't an easier way that I know of
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: 5543
Joined: Mon Jul 03, 2006 8:29 am
Location: Idaho Falls, Idaho
Realm: Doomhammer (PvE) - US

Incorrect unzip folder

Postby aniodon » Sun Feb 18, 2007 2:29 am

Ok thank you! gonna try this =)

Last question, is there a 'manual' way to put an addon on UA? My file is too big, 1.5M, and I get a 500 error because the upload is too long.
I asked myself if, by putting the file by ftp, i have a manual way to add the file...
aniodon
WR.net Journeyman
WR.net Journeyman
 
Posts: 108
Joined: Mon Dec 18, 2006 8:09 pm

Incorrect unzip folder

Postby aniodon » Sun Feb 18, 2007 2:48 am

So, This worked well Zanix.

For my upload file, by Zipping the original archive of CTRAid with the max compression, no problem (400ko).

Works fine too now.

=)
aniodon
WR.net Journeyman
WR.net Journeyman
 
Posts: 108
Joined: Mon Dec 18, 2006 8:09 pm

Incorrect unzip folder

Postby zanix » Sun Feb 18, 2007 3:12 am

I have some code in UA already that will scan the addon_zip directory and compare with what is in the database

The code is all commented out because I'm not so sure if it will be a good idea in it's current implementation (security issues perhaps)

There is no interface set up to add the files, but every thing in UA is set up to handle it (the wowace module needed this change to work correctly as well)
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: 5543
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 0 guests

cron