On 22 January 2013 13:16, Lionel TRESSENS <lio...@tressens.net> wrote:
> Sometimes I think I am the good beta tester when I know nothing about an > environnement, which is the case with python :) > > The procedure starts with : > > $ sudo pip install virtualenvwrapper$ mkvirtualenv <env-name> > > > Well, installing virtualenvwrapper was ok, but after that, I have several > new commands like "virtualenv" etc... but no "mkvirtualenv" > I assume your doing this on Ubuntu. The docs for virtualenvwrapper are here http://virtualenvwrapper.readthedocs.org/en/latest/ You might need to start a new shell as I think the wrappers are actually a number of command aliases. I'm afraid beyond that the best place to find instructions on virtualenvwrapper is from your distro and from virtualenvwrapper docs. > > I tried creating my virtual env with "virtualenv" and then activating it > but sourcing bin/activate, but I don't know if it does what mkvirtualenv is > supposed to do. > mkvirtualenv wraps virtualenv and simply makes virtaulenv's easier to manage and use. e.g. doing: workon pootle would active the pootle env from anywhere in the code. Which is neater then having to issue: . <env-name>/bin/activate > > Then I installed the requirements for the dev environnement and everything > was ok... > Let's see where I can go with this ;) > > Lionel > > > 2013/1/21 Dwayne Bailey <dwa...@translate.org.za> > >> >> >> >> On 19 January 2013 14:49, Lionel TRESSENS <lio...@tressens.net> wrote: >> >>> Dwayne, >>> >>> I wanted to install 2.5 this week-end, but not very familiar with the >>> python environment, I was unable to get rid of errors I had using the >>> virtualenv/pip installation instructions : >>> >>> This is how "pip install pootle" ends : >>> >>> Installing collected packages: pootle, translate-toolkit >>> Running setup.py install for pootle >>> usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] >>> or: -c --help [cmd1 cmd2 ...] >>> or: -c --help-commands >>> or: -c cmd --help >>> >>> error: option --single-version-externally-managed not recognized >>> Complete output from command /var/www/pootle/bin/python -c "import >>> setuptools;__file__='/var/www/pootle/build/pootle/setup.py';exec(compile(open(__file__).read().replace('\r\n', >>> '\n'), __file__, 'exec'))" install --record >>> /tmp/pip-0FVOGy-record/install-record.txt >>> --single-version-externally-managed --install-headers >>> /var/www/pootle/include/site/python2.6: >>> usage: -c [global_opts] cmd1 [cmd1_opts] [cmd2 [cmd2_opts] ...] >>> >>> >>> I hope this feedback will help you in preparing the release 2.5 ! >>> >> >> Can you point me to the instructions you are following. We haven't put >> 2.5 up at pypi.org so you are pulling in an old Pootle version. >> >> You can have a look at these instructions >> https://pootle.readthedocs.org/en/latest/developers/hacking.html that >> will work against 2.5 in Git. >> >> The essentials are that you have a checkout and then >> pip install -e <checkout> >> >> That should work. >> >> >>> >>> Regards, >>> >>> Lionel >>> >>> >>> 2013/1/9 Dwayne Bailey <dwa...@translate.org.za> >>> >>>> >>>> >>>> >>>> On 9 January 2013 11:16, Lionel TRESSENS <lio...@tressens.net> wrote: >>>> >>>>> >>>>> Dwayne, >>>>> >>>>> Thanks for answering back. >>>>> >>>>> >>>>> 2013/1/9 Dwayne Bailey <dwa...@translate.org.za> >>>>> >>>>>> Hi Lionel, >>>>>> >>>>>> >>>>>> On 5 January 2013 17:09, Lionel TRESSENS <lio...@tressens.net> wrote: >>>>>> >>>>>>> Hello, >>>>>>> >>>>>>> I am running Pootle 2.1.6 and sometimes I cannot edit the latest >>>>>>> entries in >>>>>>> a file. >>>>>>> >>>>>>> For exemple the file contains 45 entries, I am on the latest page, I >>>>>>> can >>>>>>> see the latest entry (numbered #44), I click on the link on "44" and >>>>>>> I am >>>>>>> directed to a page where entry #44 is not present, and the page >>>>>>> numbering >>>>>>> is strange (before I click on "44" I had 6 pages, now that I have >>>>>>> clicked, >>>>>>> I have 19 pages and I can see entries from 40 to 43...) >>>>>>> >>>>>> >>>>>> Have you tried using next and previous to get to the same unit? Does >>>>>> it create the same issue? >>>>>> >>>>>> >>>>> >>>>> >>>>> yes, same issue. >>>>> >>>>> >>>>> >>>>>> >>>>>>> Other example of something that seems strange : I have a file with 48 >>>>>>> entries numbered from #0 to #47. They are displayed on 6 pages : >>>>>>> - page 1 : #0 to #7 >>>>>>> - page 2 : #3 to #10 (why 3 ?) >>>>>>> - page 3 : #12 to #20 (where is #11 ????) >>>>>>> - page 4 : #21 to #30 >>>>>>> - page 5 : #31 to #39 >>>>>>> - page 6 : #40 to #47 >>>>>>> >>>>>>> You can have a look at it, it is public, on : >>>>>>> >>>>>>> http://pootle.dev.loungeup.com/en_EN/portal/welcome.properties/translate/?page=1 >>>>>>> >>>>>> >>>>>> Indeed that is odd. Also the #7 is duplicated on that page. I >>>>>> wonder if refresh_stats might help fix this? >>>>>> >>>>>> >>>>> >>>>> No, unfortunately >>>>> >>>>> >>>>>> >>>>>>> Did you already encounter such a weird behavior with pages ? >>>>>>> >>>>>> >>>>>> I honestly haven't seen that before. But I'm using 2.5 beta at the >>>>>> moment, I'd recommend that you do also as we'll be retiring 2.1.* series >>>>>> once 2.5 is out. >>>>>> >>>>>> >>>>> >>>>> That's what I am planning to do soon ! Hope it will work as expected ;) >>>>> >>>> >>>> Please let me know how that goes, fixing this problem on 2.1.6 at the >>>> moment isn't the best use of our resource, we'd rather get the nicer 2.5 >>>> released. >>>> >>>> >>>>> >>>>> >>>>>> >>>>>>> Thanks for any advice, >>>>>>> >>>>>>> Lionel >>>>>>> >>>>>>> ------------------------------------------------------------------------------ >>>>>>> Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, >>>>>>> MVC, Windows 8 Apps, JavaScript and much more. Keep your skills >>>>>>> current >>>>>>> with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft >>>>>>> MVPs and experts. SALE $99.99 this month only -- learn more at: >>>>>>> http://p.sf.net/sfu/learnmore_122912 >>>>>>> _______________________________________________ >>>>>>> Translate-pootle mailing list >>>>>>> Translate-pootle@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/translate-pootle >>>>>>> >>>>>> >>>>>> >>>>>> >>>>>> -- >>>>>> Dwayne >>>>>> >>>>>> *Translate* >>>>>> +27 12 460 1095 >>>>>> >>>>> >>>>> >>>> >>>> >>>> -- >>>> Dwayne >>>> >>>> *Translate* >>>> +27 12 460 1095 >>>> >>> >>> >> >> >> -- >> Dwayne >> >> *Translate* >> +27 12 460 1095 >> > > -- Dwayne *Translate* +27 12 460 1095 ------------------------------------------------------------------------------ Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS, MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft MVPs and experts. ON SALE this month only -- learn more at: http://p.sf.net/sfu/learnnow-d2d _______________________________________________ Translate-pootle mailing list Translate-pootle@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/translate-pootle