[translate-pootle] Problems creating a project.

2008-06-10 Thread Manuel Trujillo
Hi!

I have installed a Pootle server. All seems to run fine, but if I try
to create a new project, I can only this message:

[Errno 2] No such file or directory: 'po/vlex'

In my installation the directory are in
/usr/lib/python2.5/site-package/Pootle, and under this directory is
another called "po". After read the documentation, I can't find
anything about where pootle would be create the work projects
directories, or anything relationated with this.
Try to find anything about this via google is the same; no info.

I'm very lost at this point, and no idea about how to solve this.
My configuration is a pootle server served by an apache, using
proxy_reverse. All the directory of pootle has the "root:root"
uid:gid.

Please, anybody could help me, please?

Also I will apologize about my bad english... :-(

Thank you!!

-- 
Manu

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Problems creating a project.

2008-06-10 Thread Lars Kruse
Hi Manuel,

> I have installed a Pootle server.

How did you install it? (rpm/deb/tar.gz/svn?)
Which version did you install?


> In my installation the directory are in
> /usr/lib/python2.5/site-package/Pootle, and under this directory is
> another called "po". After read the documentation, I can't find
> anything about where pootle would be create the work projects
> directories, or anything relationated with this.

you should take a look at the pootle.prefs file (its location depends on your
setup). The default configuration contains all necessary information for
configuring the service.
I guess, you are looking for "podirectory".


> All the directory of pootle has the "root:root" uid:gid.

Depending on your setup, you will have to change the owner of the "po"
directory.

regards,
Lars

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Problems creating a project.

2008-06-10 Thread Manuel Trujillo
On Tue, Jun 10, 2008 at 7:33 PM, Lars Kruse <[EMAIL PROTECTED]> wrote:
> How did you install it? (rpm/deb/tar.gz/svn?)
> Which version did you install?

>From tar.gz, and version is 1.1.0.

> you should take a look at the pootle.prefs file (its location depends on your
> setup). The default configuration contains all necessary information for
> configuring the service.
> I guess, you are looking for "podirectory".

I suppose... Really I'm very confussed and lost with it. I can create
a project directly into pootle.prefs file, also via web interface. But
with one or another option, always I have the same result.
Is the "/usr/lib/python2.5/site-package/Pootle/po" the "po" directory
by default?

>> All the directory of pootle has the "root:root" uid:gid.
> Depending on your setup, you will have to change the owner of the "po"
> directory.

The setup is all by default. The only "no default" setting is the
"pootle" directory created in /etc for accomodate the *.prefs files.

Thank you very much for your help Lars.

-- 
Manu

-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Problems creating a project.

2008-06-11 Thread F Wolff
On Wo, 2008-06-11 at 08:30 +0200, Manuel Trujillo wrote:
> On Tue, Jun 10, 2008 at 7:33 PM, Lars Kruse <[EMAIL PROTECTED]> wrote:
> > How did you install it? (rpm/deb/tar.gz/svn?)
> > Which version did you install?
> 
> >From tar.gz, and version is 1.1.0.
> 
> > you should take a look at the pootle.prefs file (its location depends on 
> > your
> > setup). The default configuration contains all necessary information for
> > configuring the service.
> > I guess, you are looking for "podirectory".
> 
> I suppose... Really I'm very confussed and lost with it. I can create
> a project directly into pootle.prefs file, also via web interface. But
> with one or another option, always I have the same result.
> Is the "/usr/lib/python2.5/site-package/Pootle/po" the "po" directory
> by default?

It probably is the default on your system. I think this could be
slightly different on different systems. Is Pootle not yet packaged for
your distribution? If a pre-packaged version is available, that might be
even easier and file locations might correspond better with the
conventions of your system. But perhaps the packaged version is not up
to date, then installing from the tar.gz will be better. The previous
error you got about the directory 'po/vlex' suggests to me that you
created the entry for project vlex in pootle.prefs, but the directory
with the files were not created. Can you confirm that the project
directory is there at /usr/lib/python2.5/site-package/Pootle/po/vlex?
You might want to specify exactly where you want your po files to be by
editing the "podirectory" variable in pootle.prefs as Lars suggested.

> 
> >> All the directory of pootle has the "root:root" uid:gid.
> > Depending on your setup, you will have to change the owner of the "po"
> > directory.
> 
> The setup is all by default. The only "no default" setting is the
> "pootle" directory created in /etc for accomodate the *.prefs files.
> 
> Thank you very much for your help Lars.
> 


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Problems creating a project.

2008-06-11 Thread Manuel Trujillo
On Wed, Jun 11, 2008 at 11:20 AM, F Wolff <[EMAIL PROTECTED]> wrote:
> error you got about the directory 'po/vlex' suggests to me that you
> created the entry for project vlex in pootle.prefs, but the directory
> with the files were not created. Can you confirm that the project
> directory is there at /usr/lib/python2.5/site-package/Pootle/po/vlex?
> You might want to specify exactly where you want your po files to be by
> editing the "podirectory" variable in pootle.prefs as Lars suggested.

By the way, I could create a (for example) /src/www/po/vlex and put
into pootle.prefs something like this?

localfiletype = "/src/www/po/vlex"

??

Thank you very much.

-- 
Manuel Trujillo Albarral
Director de Sistemas Informáticos
VLEX NETWORKS S.L.
Telf: 93-272.26.85 ext. 157
GoogleTalk [EMAIL PROTECTED]
http://www.vlex.com
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Problems creating a project.

2008-06-11 Thread F Wolff
On Wo, 2008-06-11 at 12:30 +0200, Manuel Trujillo wrote:
> On Wed, Jun 11, 2008 at 11:20 AM, F Wolff <[EMAIL PROTECTED]> wrote:
> > error you got about the directory 'po/vlex' suggests to me that you
> > created the entry for project vlex in pootle.prefs, but the directory
> > with the files were not created. Can you confirm that the project
> > directory is there at /usr/lib/python2.5/site-package/Pootle/po/vlex?
> > You might want to specify exactly where you want your po files to be by
> > editing the "podirectory" variable in pootle.prefs as Lars suggested.
> 
> By the way, I could create a (for example) /src/www/po/vlex and put
> into pootle.prefs something like this?
> 
> localfiletype = "/src/www/po/vlex"
> 
> ??
> 
> Thank you very much.
> 

If your translation project is "vlex" you will do 
    podirectory = "/src/www/po/"

(note - not localfiletype)

Pootle can host multiple projects, so the variable podirectory should
point to the directory containing all of the project directories with
the translation files. If you move it to a non-default location,
remember to also copy the "pootle" translation project to your new
location.

Friedel


-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle


Re: [translate-pootle] Problems creating a project.

2008-06-11 Thread Manuel Trujillo
On Wed, Jun 11, 2008 at 4:28 PM, F Wolff <[EMAIL PROTECTED]> wrote:
> Pootle can host multiple projects, so the variable podirectory should
> point to the directory containing all of the project directories with
> the translation files. If you move it to a non-default location,
> remember to also copy the "pootle" translation project to your new
> location.

Thak you very much, the problem was solved. And please, excuse me my
bad english... sigh...

Regards.

-- 
Manuel Trujillo Albarral
Director de Sistemas Informáticos
VLEX NETWORKS S.L.
Telf: 93-272.26.85 ext. 157
GoogleTalk [EMAIL PROTECTED]
http://www.vlex.com
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
___
Translate-pootle mailing list
Translate-pootle@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/translate-pootle