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

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 eve...@media.mit.edu: 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

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 moment. But I

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-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] 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 considered all

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 merged during

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, you really wanted to

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 have

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 from the version control

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

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 code 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] 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, as

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

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

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 real life situation with pootle. So please

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 about

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 this may be useful for others as well, I'll give

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

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] 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] 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

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 --version git

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 introducing a

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

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] 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] 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 a result so

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

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] 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 sure,

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. From debugging

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 newer

[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: start File /usr/lib/python2.4/site-packages/Pootle/users.py, line 259, in handle page = self.getpage(pathwords, session, argdict) File

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 try

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 correctly:

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 server has been

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 missing).

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] 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 ISP to

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] 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 the

[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] 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 you

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

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