Re: [translate-pootle] versioncontrol moving to translate toolkit

2007-09-14 Thread Lars Kruse
Hi, > the following set of patches and the described svn commands are a proposal > for the move of the versioncontrol features to the translate toolkit. > > [...] any opinions about the patch? Lars - This SF.net email is sp

Re: [translate-pootle] versioncontrol moving to translate toolkit

2007-09-14 Thread Lars Kruse
Hi, > I'm sorry. We're very busy preparing for software freedom day tomorrow. never mind - it was just a reminder - there is no need to hurry ... > I committed everything you sent in the previous mail to svn trunk with > revisions 6528-6530. thanks! Lars -

Re: [translate-pootle] How do I know Pootle is working

2007-10-10 Thread Lars Kruse
Hi, > Hi. I signed at translate.creativecommons.org to help translating things > about ccHost to Spanish. However, I have no idea if my suggestions were > stored, are waiting for approval, dismissed, accepted, returned for > improvement, etc. you should be able to see your suggestions when yo

[translate-pootle] Keeping track of changes (was: How do I know Pootle is working)

2007-10-11 Thread Lars Kruse
Hi, > So we're failing here in the community building. Additionally I would think, that the missing reporting features for important changes also impair potential peer reviews. Maybe the following thoughts can start a discussion that could end up in a specific feature request to be added to the

Re: [translate-pootle] pootle versioncontrol

2007-10-19 Thread Lars Kruse
Hi, > Any help in getting git+Pootle work together will be greatly > appreciated. (btw, the irc#pootle help has been fantastic :) hehe - thanks for your patience and efforts in testing it! I found the missing part of the version control patch, that was only here on the systems, where I tested th

Re: [translate-pootle] Running Pootle as non-root

2007-11-05 Thread Lars Kruse
Hi, > I've successfully installed Pootle on a shared host, but I can't get it > working. > > I'm facing two problems, as far as I can see: > 1.- I should edit the Apache configuration file to add a virtual host. > 2.- I can only run PootleServer as root. > > As for problem 1, I might ask my I

Re: [translate-pootle] Running Pootle as non-root

2007-11-05 Thread Lars Kruse
Hi, > I get this error: > [my_server]$ PootleServer --prefsfile=pootle/pootle.prefs --port=8080 > 2007-11-05 14:40:00: Listening on port 8080 > 2007-11-05 14:40:00: To use the server, open a web browser at > http://127.0.0.1:8080/ > 2007-11-05 14:40:00: Traceback (most recent call last): > File

Re: [translate-pootle] Running Pootle as non-root

2007-11-06 Thread Lars Kruse
Hi, > Yes, I modified it, but I've just replaced it with the default file and > it's not working either: > [...] I took a look at your preferences file and it seems to me, that the entries for "Korean", "Romanian" and "Turkish" are not indented in the same way, as the other lines (one space is mi

Re: [translate-pootle] How/where to specify source/base/original language

2007-11-06 Thread Lars Kruse
Hi, > We have setup Pootle and everything is working, we only experience one > problem: when using the online editor, the 'Original' text is not displayed. I am not sure, if I understand you. Maybe you could send a screenshot? thanks! Lars --

Re: [translate-pootle] How/where to specify source/base/original language

2007-11-07 Thread Lars Kruse
Hi, > So let me rephrase my question: > > We have a lot of .po files for the english language. Example from wizard.po > file: > > msgid "addressField" > msgstr "Full Address" > > We have added languages to the project using the same .po file but with > empty msgstr: > msgid "addressField" > m

Re: [translate-pootle] Error sending mail: All recipients refused

2007-12-09 Thread Lars Kruse
Hi, > > > Both the smtp server and the "from" address are right. Does it require a > > > password? > > > > I'm fairly sure that this is a configuration issue for your SMTP server. > > Is there anything else on your machine using that mail server that is > > able to send mail out? > > The SMTP ser

Re: [translate-pootle] Error sending mail: All recipients refused

2008-01-11 Thread Lars Kruse
Hi Gustavo, > Lars, I've installed ssmtp and it works fine; however, I'm still > getting the same error in Pootle when someone tries to create an > account; do I have to do something else? > > Anyways, /usr/bin/mail is a softlink to /usr/sbin/ssmtp just to make sure, that I understand you correc

Re: [translate-pootle] Error sending mail: All recipients refused

2008-01-12 Thread Lars Kruse
Hi Gustavo, > I configured AuthUser and AuthPass, and I could send emails after > configuring ssmtp. hm - it looks, like I will run out of ideas quite soon ... just another two questions: 1) you surely did not forget to reconfigure the smtp server in pootle to point to "localhost"? 2) please

Re: [translate-pootle] Error sending mail: All recipients refused

2008-01-13 Thread Lars Kruse
Hi Gustavo, > > 1) you surely did not forget to reconfigure the smtp server in pootle to > > point to "localhost"? > > Oh, sorry, I didn't set it to "localhost". However, I've corrected > that entry, restarted Pootle, but it's not working yet: When I create > an account, I get message shown in th

[translate-pootle] PyLucene v2 support

2008-01-22 Thread Lars Kruse
Hi, today I tried to run pootle while pylucene v2.2 is installed on my machine. Sadly, an exception was raised with the following output: File "/usr/lib/python2.4/site-packages/Pootle/users.py", line 259, in handle page = self.getpage(pathwords, session, argdict) File "/usr/lib/python2.4

Re: [translate-pootle] PyLucene v2 support

2008-01-23 Thread Lars Kruse
Hi, > The current code definitely still works with PyLucene 1.9.1 which I have > here. I also tried with your patch applied, and it continued to work. thanks for testing! > > Should I commit the patch? > > Yes, please apply. ok - I did it > I would however like it if we can upgrade to the >

Re: [translate-pootle] A few questions :)

2008-02-02 Thread Lars Kruse
Hi Sebastien, > SVN Integration: > > We have successfully imported then checked out our svn dir (the "po" > dir) and it's working fine for commits. > But the "update" link (left to "commit" link) doesn't work, or at > least in doesn't work when there is nothing to get from the svn repo. > Fr

Re: [translate-pootle] Make commits from command line

2008-02-29 Thread Lars Kruse
Hi Normando, > I want to make commit from command line. I can make commits through cron > scripts, but I want through pootle, because add a message about > translator and translated strings. I am not sure, if you want to do the commits via command line or via pootle. For command line: make sur

[translate-pootle] sending registration mail: missing error message in jToolkit

2008-03-05 Thread Lars Kruse
Hi, due to a missing /etc/hosts file I stumbled upon a small bug in jToolkit, that is used by pootle. Since jToolkit is not actively developed anymore, I am not sure, where to put the attached patch, that would fix this issue ... The problem is simply, that pootle silently (!) fails to send a reg

Re: [translate-pootle] Translate Toolkit & Pootle in the Google Summer of Code

2008-03-18 Thread Lars Kruse
Hi, > Translate Toolkit & Pootle have made it into the Google Summer of Code! > We're quite excited as this is our first year. that sounds great! > You can read the synopsis of our application and selected projects [1] > or check out the ideas page [2]. If you have another project idea then >

Re: [translate-pootle] Error after update

2008-03-22 Thread Lars Kruse
Hi, > In /var/log/pootle there is the folllowing message: > Traceback (most recent call last): > File "/usr/sbin/PootleServer", line 23, in ? > from Pootle import pootle > ImportError: No module named Pootle first you could check, if the package was removed during the upgrade (should not ha

Re: [translate-pootle] [PATCH] Support for the Mercurial version control system

2008-03-26 Thread Lars Kruse
Hi Miklos, > i think the only popular vcs today that is unsupported by Pootle is hg. > so i've made a patch to add support for it :) that is great! > patch attached, any feedback is appreciated. The code itself looks fine to me. I am not used to mercurial, so I just downloaded a mercurial rep

Re: [translate-pootle] [PATCH] Support for the Mercurial version control system

2008-03-27 Thread Lars Kruse
Hi Miklos! > i would recommend using hg clone , that will make hg push work > without any additional url. (and Pootle uses this feature) ok - nice to know! I uploaded your combined patches to the trunk repository as r7106. Now there are already six supported versioncontrol systems - great! La

Re: [translate-pootle] Search facility

2008-04-08 Thread Lars Kruse
Hi, > > Our translator has asked whether there is a way of searching for a > > specific string within the interface. I've tried using the metadata for > > a specific string as a search term (e.g. searching on > > "basic.src#IDD_FIND_DIALOG.RID_OK.okbutton.text") but Pootle doesn't > > return

Re: [translate-pootle] How to search for untranslated and fuzzy and setting limits?

2008-05-05 Thread Lars Kruse
Hi, > For searching you really want to run against Lucene or Xapian as tehy > are much faster, Xapian unfortunately only works on the Pootle version > in trunk/ I think, it was not merged, yet. I have to resolve performance issues of the testing installation with the openoffice PO-files before we

Re: [translate-pootle] How to search for untranslated and fuzzy and setting limits?

2008-05-05 Thread Lars Kruse
Hi, > I haven´t been able to install PyLucene in Debian > Etch. There is a nice how-to at > https://systemausfall.org/wikis/howto/PyLuceneOnDebian, > but I get errors when I try to install jcc, so I can't > use the latest version of pyLucene. (The error lies in > the instalation of sun-java5-bin,

Re: [translate-pootle] plans for a script to auto-populate .po files

2008-05-27 Thread Lars Kruse
Hi Suresh, > Just checking to see if the group is interested to see a script, which > can be invoked by a user with adequate permissions for > uploading a GNU/Standard style project to Pootle. Do you intend to add this to the Pootle web interface? Or is it an independent script that should ease

Re: [translate-pootle] plans for a script to auto-populate .po files

2008-06-01 Thread Lars Kruse
Hi Suresh, > 1. Brings over a child workspace from parent RCS > 2. Checks for PO dir, (removes whole WS and aborts if PO dir not > there. ) > 3. Removes the non PO files Just to make sure, that I understand you correctly: - you would remove non-PO files to save disk space

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'

Re: [translate-pootle] Committing with git

2008-06-22 Thread Lars Kruse
Hi Christian, > Well, that server is running Debian stable, so yes, this might very > well be related. yes - git before v1.5.3 definitely does not work with the current pootle trunk. > We'll consider updating git but, well, the server is meant to remain > as "stable" as possible and introducin

Re: [translate-pootle] Still problems committing with git

2008-07-01 Thread Lars Kruse
Hi, > > Does this solve bug 347 properly? (Do we now support the older versions > > of git?) I would just like to document this properly. > > Unfortunately no: > > $ ~/git/git/git --git-dir git/setup/.git --work-tree git/setup add HACKING > Unknown option: --work-tree > > $ ~/git/git/git --vers

Re: [translate-pootle] Still problems committing with git

2008-07-02 Thread Lars Kruse
Hi, I just committed Miklos' patches for the git module as r7710. This should fix problems with git v1.5.3 (or higher). (I did it, since I did not notice any objections ...) > > I think if we want to support Debian stable, then we have to support > > 1.4.4.4, since that's the official version De

Re: [translate-pootle] Still problems committing with git

2008-07-03 Thread Lars Kruse
Hi, > > If the code to support older git versions is available, we obviously use it, > > but I'm not too concerned about halting anything just to support all > > versions. > > I agree. Thus I will add a module for git<1.5.2 within the next days. > I hope, that it will work for git 1.4.x, too. I

Re: [translate-pootle] Search enhancements

2008-07-14 Thread Lars Kruse
Hi Julen, improving the search interface is a great thing - thanks for your work! > I've created a wiki page[4] for the purpose, so feel free to > add/remove/edit any information you see necessary. Lars, you're > probably the person who better knows this stuff so your help and > comments would be

Re: [translate-pootle] Problems to upgrade/commit in mailman.pootle

2008-07-17 Thread Lars Kruse
Hi Piarres, sorry for the trouble, but it looks, like you are the first one who tries to use bzr in a real life situation with pootle. So please don't be disappointed, if we need one or two more mails for fixing all problems, that could occour ... > As I said to friedel and Clytie in IRC I have

Re: [translate-pootle] Problems to upgrade/commit in mailman.pootle

2008-07-17 Thread Lars Kruse
Hi, > Is that (r7782) stable enough for me to push an update? What all do I > need to update? I did not follow the progress closely, so I can't judge. Regarding this specific fix it is really just about changing one letter, so you could easily do it manually. > > both commands should output the

Re: [translate-pootle] Problems to upgrade/commit in mailman.pootle

2008-07-18 Thread Lars Kruse
Hi Cristóbal, > > > bzr checkout mailman/ stable > > > > this resulted in an error for me: > > > > bzr: ERROR: File exists: u'/home/lars/other-sources/examples/stable/.bzr': > > [Errno 17] File exists: '/home/lars/other-sources/examples/stable/.bzr' > > > > > > Do you know, what could cau

Re: [translate-pootle] Problems to upgrade/commit in mailman.pootle

2008-07-19 Thread Lars Kruse
Hi Cristóbal, Am Sat, 19 Jul 2008 14:08:55 -0400 schrieb Cristóbal Palmer <[EMAIL PROTECTED]>: > > 1) Maybe you could apply the attached patch and run the same command again? > > > > Patch applied. > > I then tried: > > [EMAIL PROTECTED]:~# python -m > translate.storage.versioncontrol > /roo

Re: [translate-pootle] Problems to upgrade/commit in mailman.pootle

2008-07-20 Thread Lars Kruse
Hi, Am Sun, 20 Jul 2008 13:27:18 +0200 schrieb Miklos Vajna <[EMAIL PROTECTED]>: > On Thu, Jul 17, 2008 at 10:39:37AM +0200, Lars Kruse <[EMAIL PROTECTED]> > wrote: > > sorry for the trouble, but it looks, like you are the first one who tries to > > use bzr in a r

Re: [translate-pootle] RFE: use "--author" when committing to a GIT repository

2008-07-20 Thread Lars Kruse
Hi, Am Sun, 20 Jul 2008 13:37:01 +0200 schrieb Miklos Vajna <[EMAIL PROTECTED]>: > On Mon, Jul 14, 2008 at 10:49:54PM +0200, Christian Perrier > <[EMAIL PROTECTED]> wrote: > > This comes from a discussion I just had with the maitnainers of dpkg > > (the Debian package management utility), which we

Re: [translate-pootle] RFE: use "--author" when committing to a GIT repository

2008-07-20 Thread Lars Kruse
Hi Miklos, Am Mon, 21 Jul 2008 00:01:44 +0200 schrieb Miklos Vajna <[EMAIL PROTECTED]>: > On Sun, Jul 20, 2008 at 04:27:38PM +0200, Lars Kruse <[EMAIL PROTECTED]> > wrote: > > > Second, this is on my TODO for a very long time. Given that now I see > > > that t

Re: [translate-pootle] Problems to upgrade/commit in mailman.pootle

2008-07-22 Thread Lars Kruse
Hi Cristóbal, Am Sun, 20 Jul 2008 18:37:51 -0400 schrieb Cristóbal Palmer <[EMAIL PROTECTED]>: > [..] > > > > 2) Does the directory /root/stable/messages/.bzr/ exist in your system? > > > > > > > > > > Yes: > > > [..] > > > > interesting: here on my side, this directory does not exist. > > Mayb

Re: [translate-pootle] RFE: use "--author" when committing to a GIT repository

2008-07-22 Thread Lars Kruse
Hi, Am Mon, 21 Jul 2008 17:24:48 -0700 schrieb Daniel Schafer <[EMAIL PROTECTED]>: > [..] > Could we use properties to store author information in SVN? For > example, we could add `--with-revprop pootle:author=${author}` to the > commit operation. While this does not change the svn:author (s

Re: [translate-pootle] RFE: use "--author" when committing to a GIT repository

2008-07-23 Thread Lars Kruse
Hi, > Nice Dan! And thanks Lars for taking the time to integrate this. hehe - I did not do it, yet :) Thanks for reminding me! It is uploaded as r7847. I changed "pootle:author" to "translate:author", since the versioncontrol code is part of the translate toolkit and can be used by other tools,

[translate-pootle] Bug #434: move merging and the Pootle versioncontrol interface to the toolkit

2008-07-23 Thread Lars Kruse
Hi, following a discussion on IRC yesterday, I started a wiki page describing a possible interface for the requirements of bug #434 (http://bugs.locamotion.org/show_bug.cgi?id=434). Please take a look at and add your comments! Thanks, Lars

Re: [translate-pootle] Bug #434: move merging and the Pootle versioncontrol interface to the toolkit

2008-07-23 Thread Lars Kruse
Hi, > Please take a look at and add your comments! sorry - I forgot the most important piece of information - the URL: http://translate.sourceforge.net/wiki/developers/merge_with_versioncontrol Lars - This SF.Net email is s

Re: [translate-pootle] svn path in installation instructions

2008-08-03 Thread Lars Kruse
Hi, > On the installation page [1], there is an example of checking out trunk in a > block that gives the path as > https://svn.sourceforge.net/svnroot/translate/trunk/src. I had pasted that > into a terminal window when I got that error. you did not mention the specific error, but I guess, it

Re: [translate-pootle] Searching for fields on beta

2008-08-07 Thread Lars Kruse
Hi, > >> Anyway, server up and running now. > > > > Still down. The memory issue on indexing is a concern. I did some tests regarding this issue. The outcome was, that indexing causes all of the po files to be loaded. These files partly stay in memory (cached), thus eating it up while creating an

Re: [translate-pootle] Pootle and Version Control

2008-09-22 Thread Lars Kruse
Hi Urso, > I am currently working on a VMWare Virtual Machine (VM) for as a Pootle > Server. (I started last week a discussion/question about a ready made Pootle > server on Virtual Machine. > I am making a VM based on SuSE Linux. I could imagine, that a debian based image could be easier to pre

Re: [translate-pootle] Question about admin user adding users

2008-10-09 Thread Lars Kruse
Hi Samuel, > Take a look at the attached file. If I'm logged in as an administrator > who can normally see and submit the /admin/users.html page, and I load > the attached file in my browser (with the server names in the source > code correct, of course), and I fill in the form and hit "Save c

Re: [translate-pootle] Pootle version control problems with distributed version control systems

2008-11-12 Thread Lars Kruse
Hi Wynand, > The version control system in Pootle does not work well with distributed > version control systems (git, Mercurial, Bazaar, Darcs). Thanks for taking the time to analyze issues with the distributed version control systems! I did some part of the version control code, but I don't hav

Re: [translate-pootle] Pootle version control problems with distributed version control systems

2008-11-12 Thread Lars Kruse
Hi Asheesh, > >> Now consider what happens if we have two modified files - file_1.po and > >> file_2.po - in our Pootle project. > >> > >> The user attempts to update file_1.po. > >> > >> Pootle: > >> 1. loads file_1.po into memory, > >> 2. reverts file_1.po to the version that was checked out fro

Re: [translate-pootle] Pootle version control problems with distributed version control systems

2008-11-13 Thread Lars Kruse
Hi, > From Lars's response: > > I just wanted to point out, that during step (3) the file "file_2.po" is > also merged with the current state in the VCS upstream repository. I am not > sure, if that was important for Wynand's example. > > That is really the problem. If other files are merge

Re: [translate-pootle] Pootle version control problems with distributed version control systems

2008-11-13 Thread Lars Kruse
Hi, > > Your example shows, that it is necessary to "update" before "commit". The > > same issue is valid for subversion and probably also for the other VCS. > > > > Maybe we should change pootle's code to do an update before commit by > > default? > > > > > > Did I get your point now? > > Hey, y

Re: [translate-pootle] Pootle version control problems with distributed version control systems

2008-11-14 Thread Lars Kruse
Hi, [shortening the reply a bit ...] > > Assuming, that both the po and pot file in the repository are in sync, this > > should not cause problems. > > Could you provide a specific recipe to reproduce a potential problem, > > please? > > I don't understand this question. I think I have consid

Re: [translate-pootle] search by phrase in Pootle

2008-11-26 Thread Lars Kruse
Hi, > I've made some tests and noticed that this only happens when using an > indexing engine. But looking at the code all seems fine. > > indexer.make_query is called with the second argument (require_all) as > True, which is the default, and according to the common indexer > specification: >

Re: [translate-pootle] search by phrase in Pootle

2008-11-27 Thread Lars Kruse
Hi, > I installed Pootle 1.2 and the code line seems different. (the first > make_query is located on the line 914) > I changed the parameter of first make_query in indexsearch to "True". > However it didn't work well. The result is neither OR nor AND. After > changing, I only got strings which

Re: [translate-pootle] search by phrase in Pootle

2008-11-28 Thread Lars Kruse
Hi, > > I just commited revision 9020. It splits the search input into words > > (separated by whitespace) and appends each word to the "AND" query, > > I tested it with a xapian engine and with Pootle and the toolkit at revision > > 8822 due to some issues, that I did not investigate at that mome

Re: [translate-pootle] Problem with names of PO Files

2009-05-21 Thread Lars Kruse
Hi, Am Thu, 21 May 2009 15:37:41 -0400 schrieb Evelyn Eastmond : > However, when I go to the Pootle interface, I see the label > 'Scratch.po' instead of 'ar.po', and it's an empty file. Scratch.po > does not actually exist as a file anywhere in the Pootle filesystem, > but it still insists in sh

Re: [translate-pootle] Python problem while installing 1.3 beta on FC10 server

2009-09-19 Thread Lars Kruse
Hi David, > [...] > Installing index for pootle_notifications.Notices model > > Any ideas per chance? Thanks if so, :) could you try to install "strace" and run "strace -o strace.log ./PootleServer"? The log file would help to track down the problem, I guess ... regards, Lars -