Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-17 Thread Роман Мещеряков
Created pull request, put link to it in the #9084's comments. I look forward for feedback. -- Kind regards, Roman Mescheryakov   16.03.2017, 12:27, "Craig Rodrigues" : On Thursday, March 16, 2017, Роман Мещеряков wrote: OK, got it. Back to the subject of this e-mail, I

[Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-16 Thread Craig Rodrigues
On Thursday, March 16, 2017, Роман Мещеряков > wrote: > > OK, got it. > > Back to the subject of this e-mail, I created ticket #9084 > and attached proposed fix to > it. Of course, there are many newbie questions related to that: > >1. Did I filled

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-16 Thread Роман Мещеряков
 OK, got it. Back to the subject of this e-mail, I created ticket #9084 and attached proposed fix to it. Of course, there are many newbie questions related to that:Did I filled bug correctly?Is it right that I uploaded fix immediately to the just-created bug?Is proposed fix file named correctly? Wh

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-15 Thread Glyph Lefkowitz
> On Mar 15, 2017, at 8:28 AM, Роман Мещеряков > wrote: > > > > Are you running the latest `tox`? (tox --version == 2.6.0) > Yes > > > This is not the first time you've run 'tox', or it would have the > > 'narrativedocs create' line above. Did you see what happened on the > > earlier run

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-15 Thread Роман Мещеряков
 > Are you running the latest `tox`? (tox --version == 2.6.0)Yes > This is not the first time you've run 'tox', or it would have the 'narrativedocs create' line above.  Did you see what happened on the earlier runs?  Did they all fail?Yes, they all failed. I don't have tox output from previous runs

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-14 Thread Glyph Lefkowitz
> On Mar 14, 2017, at 6:28 AM, Роман Мещеряков > wrote: > > I installed libffi-dev and libssl-dev Raspbian packages, and run "tox -e > narrativedocs" again. Now the error was about missing "sphinx-build" > executable. So I activated virtualenv where Sphinx was previously installed > and agai

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-14 Thread Роман Мещеряков
I installed libffi-dev and libssl-dev Raspbian packages, and run "tox -e narrativedocs" again. Now the error was about missing "sphinx-build" executable. So I activated virtualenv where Sphinx was previously installed and again issued "tox -e narrativedocs". Now the output was: (twisted-dev-env) pi

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-14 Thread Glyph Lefkowitz
> On Mar 14, 2017, at 12:53 AM, Роман Мещеряков > wrote: > > I decided to try Glyph's suggestion first. > By the way, I'm trying to compile twisted documentation on Raspbian, is this > platform suitable for that? > The steps I performed just were: > sudo pip install tox (Glyph said I shouldn't

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-14 Thread Роман Мещеряков
I decided to try Glyph's suggestion first.By the way, I'm trying to compile twisted documentation on Raspbian, is this platform suitable for that?The steps I performed just were:sudo pip install tox (Glyph said I shouldn't install packages globally but it's too late for this Raspbian installation..

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-13 Thread Glyph Lefkowitz
> On Mar 13, 2017, at 9:24 PM, Craig Rodrigues wrote: > > > > On Mon, Mar 13, 2017 at 12:58 PM, Роман Мещеряков > mailto:romanmescherya...@yandex.ru>> wrote: > > > Exception occurred: > File "conf.py", line 45, in > from twisted import version as twisted_version_object > ImportErro

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-13 Thread Craig Rodrigues
On Mon, Mar 13, 2017 at 12:58 PM, Роман Мещеряков < romanmescherya...@yandex.ru> wrote: > > > Exception occurred: > File "conf.py", line 45, in > from twisted import version as twisted_version_object > ImportError: No module named twisted > > Looks like Twisted needs to be installed in orde

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-13 Thread James Broadhead
Hey there -- One way would be to use virtualenv to gather the dependencies without installing them globally: mkdir -p ~/venv virtualenv ~/venv/twisted_docs # `sudo pip install virtualenv` first if you don't have this command source ~/venv/twisted_docs/bin/activate pip install sphinx twisted cd

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-13 Thread Роман Мещеряков
 Hello, I managed to read documentation finally. I made a fork of Twisted repository using these commands: git clone https://github.com//twisted.git Twisted cd Twisted git remote add upstream https://github.com/twisted/twisted.git git fetch upstream git branch -u upstream/trunk trunkThen created py

Re: [Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-03 Thread Jean-Paul Calderone
On Fri, Mar 3, 2017 at 2:57 AM, Роман Мещеряков wrote: > Hi everyone, > > > *On the documentation web page > https://twistedmatrix.com/documents/current/core/howto/application.html > > in the “Customizing twistd logging” se

[Twisted-Python] Minor fixes in the “Customizing twistd logging” section

2017-03-02 Thread Роман Мещеряков
Hi everyone, On the documentation web page https://twistedmatrix.com/documents/current/core/howto/application.html in the “Customizing twistd logging” section there are 2 examples which as I can see are a bit outdated in terms of imported module names and some other minor details. I would like to f