can't make the web site translations

12 Messages Forum Options Options
Alert me of new posts
Permalink
Gale Andrews
can't make the web site translations
Reply Threaded More
Print post
Permalink

I could not make the web site updates for 1.3.5, I think because group
writing is disabled for audacity_website.pot? Does Richard need to
change its permissions?    

-bash-3.00$ make
find . -name '*.php' ! -path './old/*' \
| xargs xgettext -L php --add-comments="i18n-hint" --from-code="UTF-8"
-o locale/audacity_website.pot
xgettext: cannot create output file "locale/audacity_website.pot": Permission denied
make: *** [locale/audacity_website.pot] Error 123


Did you get the same, Vaughan?


Gale


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Vaughan Johnson
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
Yes, I think Richard will have to fix that. I didn't try make because
the main thing I changed were the version number variables, which don't
get translated.
- V

Gale Andrews wrote:

> I could not make the web site updates for 1.3.5, I think because group
> writing is disabled for audacity_website.pot? Does Richard need to
> change its permissions?    
>
> -bash-3.00$ make
> find . -name '*.php' ! -path './old/*' \
> | xargs xgettext -L php --add-comments="i18n-hint" --from-code="UTF-8"
> -o locale/audacity_website.pot
> xgettext: cannot create output file "locale/audacity_website.pot": Permission denied
> make: *** [locale/audacity_website.pot] Error 123
>
>
> Did you get the same, Vaughan?
>
>
> Gale

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Richard Ash (audacity-help)
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
On Thu, 2008-05-08 at 15:40 -0700, Vaughan Johnson wrote:

> Yes, I think Richard will have to fix that. I didn't try make because
> the main thing I changed were the version number variables, which don't
> get translated.
> - V
>
> Gale Andrews wrote:
> > I could not make the web site updates for 1.3.5, I think because group
> > writing is disabled for audacity_website.pot? Does Richard need to
> > change its permissions?    
> >
> > -bash-3.00$ make
> > find . -name '*.php' ! -path './old/*' \
> > | xargs xgettext -L php --add-comments="i18n-hint" --from-code="UTF-8"
> > -o locale/audacity_website.pot
> > xgettext: cannot create output file "locale/audacity_website.pot": Permission denied
> > make: *** [locale/audacity_website.pot] Error 123

Sorry, I uploaded the audacity_website.pot file so it had non-standard
permissions on it.

Running make on the web server doesn't get us very far though, because
for some reason make on the web server only puts 61 messages into the
audacity_website.pot file, not the 600+ it has when I run make on my
local checkout of the website content.

So it looks like there is a problem on the sourceforge server. I've done
a fresh checkout from CVS locally, and that also builds the translations
correctly. So this looks like a problem on the web server. I've checked
disk usage, and whilst we are close to out 100M quota, we are definitely
below it (if we can move stuff from /files/ to the file release system,
that would be a good thing, though).

Apart from /files/, do we have anything on the web server that isn't
checked into CVS? If not, then I think we should just delete everything
from the server and do a new check-out from the project CVS, where upon
I hope it will work correctly. Anyone know of any reasons why we
shouldn't do this?

Richard


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Vaughan Johnson
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
Richard Ash wrote:

> ...
>
> Running make on the web server doesn't get us very far though, because
> for some reason make on the web server only puts 61 messages into the
> audacity_website.pot file, not the 600+ it has when I run make on my
> local checkout of the website content.
>
> So it looks like there is a problem on the sourceforge server. I've done
> a fresh checkout from CVS locally, and that also builds the translations
> correctly. So this looks like a problem on the web server. I've checked
> disk usage, and whilst we are close to out 100M quota, we are definitely
> below it (if we can move stuff from /files/ to the file release system,
> that would be a good thing, though).
>  
Thanks for looking into it! I cleaned up the 1.3.5 release candidates
from http://audacity.sourceforge.net/files/.

The only one I didn't get rid of (beside
audacity-macosx-ppc-1.2.6-test.dmg that the website still links to) is
audacity-macosx-1.3.4-beta-b.dmg . Any reason to keep that, anybody? The
other files are tiny, but most can probably be removed.

> Apart from /files/, do we have anything on the web server that isn't
> checked into CVS? If not, then I think we should just delete everything
> from the server and do a new check-out from the project CVS, where upon
> I hope it will work correctly. Anyone know of any reasons why we
> shouldn't do this?
>
>  

Sounds like a good idea to me!

Thanks,
Vaughan

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink

| From Richard Ash <richard@...>
| Fri, 09 May 2008 21:29:21 +0100
| Subject: [Audacity-devel] can't make the web site translations
> Apart from /files/, do we have anything on the web server that isn't
> checked into CVS? If not, then I think we should just delete everything
> from the server and do a new check-out from the project CVS, where upon
> I hope it will work correctly. Anyone know of any reasons why we
> shouldn't do this?

I moved a couple of my test files that naturally weren't in CVS off the
server, so I'm happy.

Thanks

Gale

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink

| From Vaughan Johnson <vaughan@...>
| Fri, 09 May 2008 16:28:21 -0700
| Subject: [Audacity-devel] can't make the web site translations
> I cleaned up the 1.3.5 release candidates
> from http://audacity.sourceforge.net/files/.
>
> The only one I didn't get rid of (beside
> audacity-macosx-ppc-1.2.6-test.dmg that the website still links to) is
> audacity-macosx-1.3.4-beta-b.dmg . Any reason to keep that, anybody?

I don't "think" so. I think it was the first build Dominic did with his
new build script. It is linked to on this Forum thread (page 4) but it
does not seem relevant now?
http://audacityteam.org/forum/viewtopic.php?f=17&t=1649

I have just done make for a web site update and audacity_website.pot
seems to now have 647 strings in it, including the ones for the page I
modified.


Gale


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Richard Ash (audacity-help)
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
On Sat, 2008-05-10 at 09:03 +0100, Gale Andrews wrote:
> I have just done make for a web site update and audacity_website.pot
> seems to now have 647 strings in it, including the ones for the page I
> modified.

Didn't work when I tried it right now, so I think there is still a
problem, quite possibly a space problem. Removing all undeletable files
from the system would help with this.

Should the Audacity_High_School.pdf and Audacity_High_School.ppt files
be moved to the file release system - they are 9MB and 5MB respectively,
so take up a lot of room on the system?

The following directories need their owners to delete them, because they
aren't group writable (paths relative to htdocs dir):

dmazzoni:
locale/DELETEMEAGAIN_pl
locale/DELETEMEAGAIN_sl

windinthew:
title
keeps
Is

buanzo:
locale/deleteme
locale/deleteme2
locale/DELETEME_uk
nohup.out
sv/
si/
su/
pl/
pt/
no/
nl/
nk/
it/
ja/
jp/
hu/
fr/
flags/
fi/
es/
en/
edit/
da/
cs/
ca/
bg/


I have taken a backup of the whole group directory to my local HDD in
the unlikely event that something critical goes missing. If I couldn't
read it to back it up, then neither could the web server read it to show
it to the world, so I guess it won't have much effect.

This list may not be exhaustive - I have yet to write an automatic
permissions audacity script, although I think it could be done using
find.

Richard


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Arturo 'Buanzo' Busleiman
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Richard Ash wrote:
| buanzo:
| locale/deleteme
[...]

Done, deleted.

Before doing cvs update, remember to set the umask, so group permissions are good for all team members.

- --
Arturo "Buanzo" Busleiman
Reliable inter-continental Mail Relay Service - Ask me!
Independent Security Consultant - SANS - OISSG
http://www.buanzo.com.ar/pro/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIJdbeAlpOsGhXcE0RCq8lAJ9Ybl7PEJMDs5bQntQasuwmF1zF2wCfUP9o
yj/pgU9sl/MbT79Q27z6jmU=
=J4QA
-----END PGP SIGNATURE-----

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink

| From Richard Ash <richard@...>
| Sat, 10 May 2008 17:56:59 +0100
| Subject: [Audacity-devel] can't make the web site translations
|  > On Sat, 2008-05-10 at 09:03 +0100, Gale Andrews wrote:

> > I have just done make for a web site update and audacity_website.pot
> > seems to now have 647 strings in it, including the ones for the page I
> > modified.
>
> Didn't work when I tried it right now, so I think there is still a
> problem, quite possibly a space problem. Removing all undeletable files
> from the system would help with this.
>
> The following directories need their owners to delete them, because they
> aren't group writable (paths relative to htdocs dir):
>
> windinthew:
> title
> keeps
> Is

In the root directory these are the files ownd by me (windithew):

.#index.php.1.37
.#main.inc.php.1.19
date
index.php
Is
keeps
title

I'm not sure of the purpose of some of those (and they are not all in
CVS) so I have made them all group writable, so you should be able
to delete them. If you can't, I'll delete them.  

> Should the Audacity_High_School.pdf and Audacity_High_School.ppt files
> be moved to the file release system - they are 9MB and 5MB respectively,
> so take up a lot of room on the system?

I guess they should be moved somewhere if we are tight for space. If we
don't want them in the file release sysem (which they are not really
anything to do with) I guess I can host them. Let me know what you
decide, so I can change the links to them on the Wiki.

The audacity-macosx-1.3.4-beta-b.dmg in /htdocs/files also takes up
some 8 MB.


Gale  



-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Richard Ash (audacity-help)
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
On Sat, 2008-05-10 at 18:29 +0100, Gale Andrews wrote:
> In the root directory these are the files ownd by me (windithew):
>
> .#index.php.1.37
> .#main.inc.php.1.19
> date
> index.php
> Is
> keeps
> title

The .# files are CVS temp files left over from conflicts. They are
disposable, so I've deleted them.
'date', 'Is', 'keeps', 'title' were all empty files, so I suspect they
are left over from some error. They have all gone as well.

index.php is of course the front page of the website. The way we run the
site it doesn't matter who owns the files provided that they are group
writable so we can all update them, so that's fine.

> > Should the Audacity_High_School.pdf and Audacity_High_School.ppt files
> > be moved to the file release system - they are 9MB and 5MB respectively,
> > so take up a lot of room on the system?
>
> I guess they should be moved somewhere if we are tight for space. If we
> don't want them in the file release sysem (which they are not really
> anything to do with) I guess I can host them. Let me know what you
> decide, so I can change the links to them on the Wiki.

I was thinking of creating another section in the release system
alongside "audacity" and "audacity-unstable" for "documentation" into
which all the downloadable documentation could be put, given that in any
format a decent manual for audacity is a sizable download.

Richard


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Gale Andrews
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink

| From Richard Ash <richard@...>
| Sun, 11 May 2008 16:25:58 +0100
| Subject: [Audacity-devel] can't make the web site translations

> On Sat, 2008-05-10 at 18:29 +0100, Gale Andrews wrote:
> > > Should the Audacity_High_School.pdf and Audacity_High_School.ppt files
> > > be moved to the file release system - they are 9MB and 5MB respectively,
> > > so take up a lot of room on the system?
> >
> > I guess they should be moved somewhere if we are tight for space. If we
> > don't want them in the file release sysem (which they are not really
> > anything to do with) I guess I can host them. Let me know what you
> > decide, so I can change the links to them on the Wiki.
>
> I was thinking of creating another section in the release system
> alongside "audacity" and "audacity-unstable" for "documentation" into
> which all the downloadable documentation could be put, given that in any
> format a decent manual for audacity is a sizable download.

Seems a good idea. The downloadable English documentation is now
partly in /htdocs/help and partly in root of htdocs.

Note we don't currently link at all on the web site to online French help as
far as I can see (htdocs/manual-fr-1.2). Is there any reason not to?  
Because of that I recently added a download link to
audacity-fr-manuel-1.2.zip in the "Aide en Français" section of:
http://audacity.sourceforge.net/help/documentation

All of the downloadable local help is in htdocs/localhelp at the moment
(French and German in their own directories within that). I am not sure
if localhelp should stop in htdocs on the grounds more people could add
files themselves (though if that grew, we'd hit the space problem again).


Gale


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel
Vaughan Johnson
Re: can't make the web site translations
Reply Threaded More
Print post
Permalink
Gale Andrews wrote:

> ...
>> audacity-macosx-1.3.4-beta-b.dmg . Any reason to keep that, anybody?
>>    
>
> I don't "think" so. I think it was the first build Dominic did with his
> new build script. It is linked to on this Forum thread (page 4) but it
> does not seem relevant now?
> http://audacityteam.org/forum/viewtopic.php?f=17&t=1649
>
>  

Too obscure. Gone.

- V

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Audacity-devel mailing list
Audacity-devel@...
https://lists.sourceforge.net/lists/listinfo/audacity-devel