Linux/Unix Case Sensitivity with image files...

Requests, feedback, and general discussion about WoWRoster
DO NOT post topics about WoWRoster AddOns here!

Linux/Unix Case Sensitivity with image files...

Postby Zhorne » Wed Aug 16, 2006 5:39 am

Hi, looking for an update or suggestion on why wowroster is expecting interface images to have capital letters in the names when unpacking the file on a unix or linux system does not produce Mixed Case filenames.

Code: Select all
inv_misc_gem_topaz_01.jpg                                trade_engraving.jpg
inv_misc_gem_topaz_02.jpg                                trade_fishing.jpg
inv_misc_gem_topaz_03.jpg                                trade_herbalism.jpg
inv_misc_gem_variety_01.jpg                              trade_leatherworking.jpg
inv_misc_gem_variety_02.jpg                              trade_mining.jpg
inv_misc_gift_01.jpg                                     trade_tailoring.jpg


An attempt to right click / view image from the browser produces:

Code: Select all
Multiple Choices
The document name you requested (/wowroster/img/interface/icons/INV_Misc_ArmorKit_09.png) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:

    * /wowroster/img/interface/icons/inv_misc_armorkit_09.jpg (common basename)


Ideas/Suggestions? I searched the forums only to find one other post which was unanswered about case sensitivity.

Thanks.
User avatar
Zhorne
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Aug 15, 2006 8:43 am

Linux/Unix Case Sensitivity with image files...

Postby zanix » Wed Aug 16, 2006 5:55 am

Make sure you unpack them properly
The images should have some uppercase characters in the zip file

Meaning the images should be like this "INV_Misc_ArmorKit_09.png" not "inv_misc_armorkit_09.png"
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

Linux/Unix Case Sensitivity with image files...

Postby Zhorne » Wed Aug 16, 2006 6:37 am

Code: Select all
:~ > unzip -l Interface\ Imagepack\ v1\[1\].11.0.zip |head
Archive:  Interface Imagepack v1[1].11.0.zip
  Length     Date   Time    Name ("^" ==> case
 --------    ----   ----    ----   conversion)
        0  07-03-06 21:26  ^interface/
        0  07-03-06 21:26  ^interface/buttons/
     2052  07-02-06 19:36  ^interface/buttons/button-backpack-up.jpg
     2164  07-02-06 19:36  ^interface/buttons/ui-button-keyring.jpg
        0  07-03-06 21:26  ^interface/emptyequip/
     1071  07-02-06 19:36  ^interface/emptyequip/ammo.gif
     1749  07-02-06 19:36  ^interface/emptyequip/back.gif



Not sure what I need to do, it's clear the unzip is converting case. Basically the problem would be that my version of unzip (not my server, just a host, fyi) detects that the files were generated on a dos/windows filesystem which has no capacity to differentiate case in filenames, so it's either all lower or all upper.
User avatar
Zhorne
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Aug 15, 2006 8:43 am

Linux/Unix Case Sensitivity with image files...

Postby zanix » Wed Aug 16, 2006 7:21 am

That's not good

You may have to manually upload these files via ftp then
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

Linux/Unix Case Sensitivity with image files...

Postby Zhorne » Wed Aug 16, 2006 7:25 am

Perhaps we could have .tar.gz versions of the packages to download sometime in the future ? :)
User avatar
Zhorne
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Aug 15, 2006 8:43 am

Linux/Unix Case Sensitivity with image files...

Postby zanix » Wed Aug 16, 2006 7:41 am

Perhaps...
Although, I can't build them
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

Linux/Unix Case Sensitivity with image files...

Postby Zhorne » Wed Aug 16, 2006 7:53 am

lol ok... new problem...

Code: Select all
Multiple Choices
The document name you requested (/wowroster/img/Interface/Icons/INV_Gauntlets_09.png) could not be found on this server. However, we found documents with names similar to the one you requested.

Available documents:

    * /wowroster/img/Interface/Icons/INV_Gauntlets_09.jpg (common basename)


Why the png extension in generated by the code and the jpg extention on the filesystem?... was that admin configurable? I thought the image extention configuration was for images generated by the GD module.
User avatar
Zhorne
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Aug 15, 2006 8:43 am

Linux/Unix Case Sensitivity with image files...

Postby Zhorne » Wed Aug 16, 2006 7:57 am

ok... corrected my own issue.

Thanks for the quick support.
User avatar
Zhorne
WR.net Apprentice
WR.net Apprentice
 
Posts: 5
Joined: Tue Aug 15, 2006 8:43 am


Return to General Support & Feedback

Who is online

Users browsing this forum: No registered users and 1 guest

cron