DTP


 
Lively discussions on the graphic arts and publishing — in print or on the web


Go Back   Desktop Publishing Forum > General Discussions > Web Site Building & Maintenance

Reply
 
Thread Tools Display Modes
Old 09-21-2006, 02:07 AM   #1
LoisWakeman
Staff
 
LoisWakeman's Avatar
 
Join Date: Jan 2005
Location: Uplyme, Devon, England
Posts: 1,402
Default Ill-behaved open source software

I installed the upgrade from JSAS 1.08 to 1.0.10 yesterday (JSAS is Joomla! standalone server, for testing sites on a Windows PC), and it failed, complaining about two files called menu1.ttf and menu2.ttf that could not be deleted.

So I tried to delete these manually, failing although it was not a permissions problem: so must be a lock held on the file. I got round it by renaming the JSAS installation directory and installing the full v1.0.10 package.

Then I found that any web pages using Arial displayed in italics.

Looking in the Windows fonts directory, I saw that the Arial and Arial Bold entries pointed to files called – you guessed it, menu1.ttf and menu2.ttf, both 0 bytes. I was able to delete and reinstall them from another PC, and everything is now hunky dory. I could also delete the offending files in the renamed JSAS folder too, as the system no longer had a lock on them.

However, I wonder what other ill-behaved changes the JSAS installation may have made to my system. Why on earth does a CMS need to relocate and link essential fonts into its own folder structure?

Open source software doesn’t need bad press from such sloppy programming. It's supposed to be about using standards, for goodness sake!
LoisWakeman is offline   Reply With Quote
Old 09-21-2006, 03:28 AM   #2
dthomsen8
Member
 
dthomsen8's Avatar
 
Join Date: Aug 2005
Location: Philadelphia, PA 19130
Posts: 2,158
Default Open Source Standards

Quote:
Originally Posted by LoisWakeman View Post
Open source software doesn’t need bad press from such sloppy programming. It's supposed to be about using standards, for goodness sake!
Beyond using standards, I would expect other contributors to the open source project would keep the foolish ones in line. Peer pressure can be really potent.

Can you find a way to complain about this behavior? If you tell us how, we can complain, too, even though we are not using JSAS.
dthomsen8 is offline   Reply With Quote
Old 09-21-2006, 03:56 AM   #3
Kelvyn
Staff
 
Kelvyn's Avatar
 
Join Date: Feb 2005
Location: In the Heart of the English Lake District
Posts: 1,381
Default

Quote:
Originally Posted by LoisWakeman View Post
Why on earth does a CMS need to relocate and link essential fonts into its own folder structure?
This was not the open source element (ie Joomla!) but JSAS itself - which is not OS. I have not upgraded as I saw no problem with 1.08 - I just updated the Joomla! version running in MyJSAS to 1.0.11 using the official update patch files.

I may try the "upgrade" on my laptop version (1.08) - except I have already upgraded that to use php5, rather than 4.4.4 in the JSAS release.

There are no bugs in the bug tracker for JSAS - you can add it here.

   
__________________
Kelvyn

Web site design, hosting and marketing, Keswick in the UK Lake District

If you are planning a visit to Keswick then try Keswick Tourist Information website

Kelvyn is offline   Reply With Quote
Old 09-21-2006, 05:04 AM   #4
LoisWakeman
Staff
 
LoisWakeman's Avatar
 
Join Date: Jan 2005
Location: Uplyme, Devon, England
Posts: 1,402
Default

Thanks Kelvyn: I upgraded JSAS as I am a bit busy and didn't want to mess up by upgrading Joomla! wrongly.

(I have however discovered how to get a database from one Joomla! installation into another under JSAS and get it to work, by keeping the old user tables. So perhaps there is hope for me one day.)
LoisWakeman is offline   Reply With Quote
Old 09-21-2006, 08:44 AM   #5
gary
Member
 
Join Date: Dec 2004
Location: In the heart of Lake Minnetonka
Posts: 337
Default

I would suspect this is a Windows-specific issue. Under Linux you can have multiple file entries ("hard links") for the same file; the actual file node keeps a count of references (hard links and in-use) and when that drops to zero the file is deleted. On Windows file systems there can only be one hard link and the rest must be symbolic links.

Under Linux you can delete an open file; it just removes the directory entry and decrements the reference count. This can be surprising when you discover that the file you thought you just wrote doesn't exist any more.

Under Windows you cannot delete a file that is currently open by an application. Windows also seems to have a nasty habit sometimes of leaving a file marked as open when an app crashes forcing you to reboot before you can remove the file.

I would have expected at worst that the font file be copied (not moved) to the app directory.
gary is offline   Reply With Quote
Old 09-22-2006, 12:12 AM   #6
LoisWakeman
Staff
 
LoisWakeman's Avatar
 
Join Date: Jan 2005
Location: Uplyme, Devon, England
Posts: 1,402
Default

Gary - so would I, which was why I was surprised to see the 0 byte "file" in the fonts directory - which I assume is a link to the JSAS directory where the TTF file had the same size as the regular Arial one. I sem to recall that the fonts folder is one of those handled by a specific DLL rather than the generic folder view one that is used for most non-system folders - but how that affects the view, I have no idea.
LoisWakeman is offline   Reply With Quote
Old 09-22-2006, 09:19 AM   #7
gary
Member
 
Join Date: Dec 2004
Location: In the heart of Lake Minnetonka
Posts: 337
Default

Hmm - a zero byte file couldn't be a link; Windows link files have a *.LNK extension and have a non-zero length.
FWIW my desktop link to "Opera" is a 533-byte file named "Opera.lnk" and contains:
Code:
0000000   L  \0  \0  \0 001 024 002  \0  \0  \0  \0  \0 300  \0  \0  \0
0000020  \0  \0  \0   F 233  \0  \0  \0          \0  \0 342   < 234 313
0000040 220   M 306 001 342   < 234 313 220   M 306 001  \0   i 253 365
0000060   O   = 306 001  \0   2 001  \0  \0  \0  \0  \0 001  \0  \0  \0
0000100  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0 202  \0 024  \0
0000120 037   P 340   O 320     352   :   i 020 242 330  \b  \0   +   0
0000140   0 235 031  \0   #   C   :   \  \0  \0  \0  \0  \0  \0  \0  \0
0000160  \0  \0  \0  \0  \0  \0  \0  \0  \0   q   Q   %  \0   1  \0  \0
0000200  \0  \0  \0   v   4 231   I 021       P   r   o   g   r   a   m
0000220       F   i   l   e   s  \0   P   R   O   G   R   A   ~   1  \0
0000240 025  \0   1  \0  \0  \0  \0  \0   v   4 233   I 020       O   p
0000260   e   r   a  \0  \0 031  \0   2  \0  \0   2 001  \0   a   4  \r
0000300 206           O   p   e   r   a   .   e   x   e  \0  \0  \0  \0
0000320   U  \0  \0  \0 034  \0  \0  \0 001  \0  \0  \0 034  \0  \0  \0
0000340   3  \0  \0  \0  \0  \0  \0  \0   T  \0  \0  \0 027  \0  \0  \0
0000360 003  \0  \0  \0 347 241 373   X 020  \0  \0  \0   H   D   4   0
0000400   0   C  \0   C   :   \   P   r   o   g   r   a   m       F   i
0000420   l   e   s   \   O   p   e   r   a   \   O   p   e   r   a   .
0000440   e   x   e  \0  \0   &  \0   .  \0   .  \0   \  \0   .  \0   .
0000460  \0   \  \0   .  \0   .  \0   \  \0   P  \0   r  \0   o  \0   g
0000500  \0   r  \0   a  \0   m  \0      \0   F  \0   i  \0   l  \0   e
0000520  \0   s  \0   \  \0   O  \0   p  \0   e  \0   r  \0   a  \0   \
0000540  \0   O  \0   p  \0   e  \0   r  \0   a  \0   .  \0   e  \0   x
0000560  \0   e  \0 026  \0   C  \0   :  \0   \  \0   P  \0   r  \0   o
0000600  \0   g  \0   r  \0   a  \0   m  \0      \0   F  \0   i  \0   l
0000620  \0   e  \0   s  \0   \  \0   O  \0   p  \0   e  \0   r  \0   a
0000640  \0 020  \0  \0  \0 005  \0  \0 240   &  \0  \0  \0   R  \0  \0
0000660  \0   `  \0  \0  \0 003  \0  \0 240   X  \0  \0  \0  \0  \0  \0
0000700  \0   s   i   l   v   e   r  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000720  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0000740  \0 372 275 233   q   w 254 332 021 221   a  \0   0 033 263 234
0000760   `  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0  \0
0001000  \0 372 275 233   q   w 254 332 021 221   a  \0   0 033 263 234
0001020   `  \0  \0  \0  \0
("silver" is the computer name)
gary is offline   Reply With Quote
Reply

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

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

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
LGM Montreal -- Open Source graphics Howard White The Corner Pub 0 02-21-2007 02:04 PM
Eudora going open source ktinkel General Publishing Topics 25 10-13-2006 01:22 PM
open source directory Bo Aakerstrom Web Design 1 07-20-2006 02:27 PM
Xara Open Source, Linux and Mac Andrew B. Images 0 10-17-2005 05:09 PM
Open source HTML editor ktinkel Web Site Building & Maintenance 1 02-24-2005 07:05 PM


All times are GMT -8. The time now is 07:04 AM.


Powered by vBulletin® Version 3.8.9
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Contents copyright 2004–2014 Desktop Publishing Forum and its members.