<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to bugs</title><link>https://sourceforge.net/p/pywebtool/bugs/</link><description>Recent changes to bugs</description><atom:link href="https://sourceforge.net/p/pywebtool/bugs/feed.rss" rel="self"/><language>en</language><lastBuildDate>Wed, 01 Feb 2017 23:01:19 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/pywebtool/bugs/feed.rss" rel="self" type="application/rss+xml"/><item><title>#7 Needs to be pip installable!</title><link>https://sourceforge.net/p/pywebtool/bugs/7/?limit=25#3a68</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Yeah, I'm on 2.3 - I was just typing fast, and didn't actually remember what version I was on. &lt;/p&gt;
&lt;p&gt;I really dove into pip/PyPI looking for 'literate' and friends, and HOLY COW! There's a lot! Including, I noticed, one already owned by S.Lott - PyLit3. Is that yours? &lt;/p&gt;
&lt;p&gt;Anyway, how about pyweblit? It's not too far off the current name...&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Austin Hastings</dc:creator><pubDate>Wed, 01 Feb 2017 23:01:19 -0000</pubDate><guid>https://sourceforge.netbf9a3fd35b3898afcee182af4caada1266f6f3ac</guid></item><item><title>#7 Needs to be pip installable!</title><link>https://sourceforge.net/p/pywebtool/bugs/7/?limit=50#256f</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Due to a really dumb choice of names, this is difficult. There's a setup.py available in the source directory. But. Putting this on PyPI is difficult without picking a smarter name.&lt;br/&gt;
&lt;/p&gt;
&lt;p&gt;Also. Use version 2.3.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steven F. Lott</dc:creator><pubDate>Wed, 01 Feb 2017 12:30:22 -0000</pubDate><guid>https://sourceforge.nete76ccae77c25230590af7133f5bf74f143f8e66f</guid></item><item><title>Needs to be pip installable!</title><link>https://sourceforge.net/p/pywebtool/bugs/7/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am actually using this to write a "book".  Well, a bunch of web pages all in a row with "Chapter xx" at the top of each one, anyway.&lt;/p&gt;
&lt;p&gt;And I'm going to share the source. So I'd like the tools to be installable. Can you submit this so that I can add pyweb==1.4 (or something) to my requirements.pip file?&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Austin Hastings</dc:creator><pubDate>Mon, 30 Jan 2017 22:24:28 -0000</pubDate><guid>https://sourceforge.net64e33f91c01505b98fc4f015708ed6b004a18c7c</guid></item><item><title>#6 Docutils 0.12 chokes on |loz| tags</title><link>https://sourceforge.net/p/pywebtool/bugs/6/?limit=25#7244</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;One difference might be python 3.5.1 vs 3.4.3, but I was able to reproduce it cold this morning:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;mkdir pyweb-bug6
cd pyweb-bug6/
pyvenv .
source bin/activate
pip install docutils
cd ../pyweb-2.3.2
python setup.py install
cd -
pip list
vi test.w
python -m pyweb test.w
ls
rst2html.py test.rst test.html
python -V
history
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Here's my test.w file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;This is a test.

@o test.py
@{# test.py
@}
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Here's my python -V and pip list:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;python -V
Python 3.5.1

&lt;span class="nv"&gt;$ &lt;/span&gt;pip list
docutils &lt;span class="o"&gt;(&lt;/span&gt;0.12&lt;span class="o"&gt;)&lt;/span&gt;
pip &lt;span class="o"&gt;(&lt;/span&gt;8.0.2&lt;span class="o"&gt;)&lt;/span&gt;
pyweb &lt;span class="o"&gt;(&lt;/span&gt;2.3.2&lt;span class="o"&gt;)&lt;/span&gt;
setuptools &lt;span class="o"&gt;(&lt;/span&gt;18.2&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Here's my output:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;rst2html.py test.rst test.html
test.rst:15: &lt;span class="o"&gt;(&lt;/span&gt;ERROR/3&lt;span class="o"&gt;)&lt;/span&gt; Undefined substitution referenced: &lt;span class="s2"&gt;"loz"&lt;/span&gt;.
&lt;/pre&gt;&lt;/div&gt;

&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Austin Hastings</dc:creator><pubDate>Mon, 15 Feb 2016 16:48:28 -0000</pubDate><guid>https://sourceforge.net95d74c90652b116de367453833e44315b8e4ff24</guid></item><item><title>#6 Docutils 0.12 chokes on |loz| tags</title><link>https://sourceforge.net/p/pywebtool/bugs/6/?limit=50#b746</link><description>&lt;div class="markdown_content"&gt;&lt;div class="codehilite"&gt;&lt;pre&gt;MacBookPro-SLott:pyweb slott$ rst2html.py --version
rst2html.py (Docutils 0.12 [release], Python 3.4.3, on darwin)
MacBookPro-SLott:pyweb slott$ ls *.rst
jedit.rst   pyweb.rst   testweaver.rst
MacBookPro-SLott:pyweb slott$ rst2html.py pyweb.rst pyweb_t.html
MacBookPro-SLott:pyweb slott$ open pyweb_t.html
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;Can't reproduce it.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steven F. Lott</dc:creator><pubDate>Mon, 15 Feb 2016 16:28:10 -0000</pubDate><guid>https://sourceforge.net1e4265aafaba1f6e58b2a3953f62ba9e6fc17433</guid></item><item><title>Docutils 0.12 chokes on |loz| tags</title><link>https://sourceforge.net/p/pywebtool/bugs/6/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;When I try to use pyweb on my own code, I get an error on &lt;code&gt;|loz|&lt;/code&gt; tags.&lt;/p&gt;
&lt;p&gt;I'm using a virtualenv, with Python 3 and these packages:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span class="nv"&gt;$ &lt;/span&gt;pip list
docutils &lt;span class="o"&gt;(&lt;/span&gt;0.12&lt;span class="o"&gt;)&lt;/span&gt;
pip &lt;span class="o"&gt;(&lt;/span&gt;8.0.2&lt;span class="o"&gt;)&lt;/span&gt;
py &lt;span class="o"&gt;(&lt;/span&gt;1.4.31&lt;span class="o"&gt;)&lt;/span&gt;
pytest &lt;span class="o"&gt;(&lt;/span&gt;2.8.7&lt;span class="o"&gt;)&lt;/span&gt;
pyweb &lt;span class="o"&gt;(&lt;/span&gt;2.3.2&lt;span class="o"&gt;)&lt;/span&gt;
setuptools &lt;span class="o"&gt;(&lt;/span&gt;18.2&lt;span class="o"&gt;)&lt;/span&gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;I can fix the issue by adding these lines in my main &lt;code&gt;.w&lt;/code&gt; file:&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;   .. include:: &amp;lt;xhtml1-lat1.txt&amp;gt;
   .. include:: &amp;lt;xhtml1-special.txt&amp;gt;
   .. include:: &amp;lt;xhtml1-symbol.txt&amp;gt;
&lt;/pre&gt;&lt;/div&gt;


&lt;p&gt;The &lt;code&gt;&amp;amp;loz;&lt;/code&gt; entity is in the &lt;code&gt;-symbol&lt;/code&gt; file, but I threw the rest in to avoid having to look them up again later. &lt;/p&gt;
&lt;p&gt;Given that lozenge use is part of the standard structure, I think the &lt;code&gt;-symbol&lt;/code&gt; file, at the minimum, should be included automatically. (Or you could just copy the one definition out into the standard boilerplate.)&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Austin Hastings</dc:creator><pubDate>Sun, 14 Feb 2016 23:06:12 -0000</pubDate><guid>https://sourceforge.net748778204018470a2816bc15c400ab085f2c26df</guid></item><item><title>#5 How to install pyWeb 2.3.1?</title><link>https://sourceforge.net/p/pywebtool/bugs/5/?limit=50#a533</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;assigned_to&lt;/strong&gt;: Steven F. Lott&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steven F. Lott</dc:creator><pubDate>Fri, 05 Dec 2014 00:16:36 -0000</pubDate><guid>https://sourceforge.net12c66862efe1aa4d2976c403f8c954763a23421d</guid></item><item><title>#5 How to install pyWeb 2.3.1?</title><link>https://sourceforge.net/p/pywebtool/bugs/5/?limit=50#eca8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;In Python 3.3 this seems to work.  Therefore, it seems likely to be some kind of Python3.4 incompatibility in my codebase. &lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steven F. Lott</dc:creator><pubDate>Thu, 04 Dec 2014 12:58:02 -0000</pubDate><guid>https://sourceforge.net11948c67b9ae0456c6a644aaf872fc42b29216d9</guid></item><item><title>#5 How to install pyWeb 2.3.1?</title><link>https://sourceforge.net/p/pywebtool/bugs/5/?limit=50#0fb8</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;There's a README. &lt;a href="http://pywebtool.sourceforge.net/#the-readme-file"&gt;http://pywebtool.sourceforge.net/#the-readme-file&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;But that's not obvious enough. I'll look at revising the documentation to make it more clear.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Steven F. Lott</dc:creator><pubDate>Thu, 04 Dec 2014 12:55:58 -0000</pubDate><guid>https://sourceforge.neta13561f0c61e55756cf9ddaa39f8269ca12f1106</guid></item><item><title>How to install pyWeb 2.3.1?</title><link>https://sourceforge.net/p/pywebtool/bugs/5/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I couldn't find install instructions at &lt;a href="http://pywebtool.sourceforge.net"&gt;http://pywebtool.sourceforge.net/&lt;/a&gt;,&lt;br /&gt;
so I faked it.  Here's what I did, after moving the tarball to the&lt;br /&gt;
site-packages directory of my Python 3.4 virtual environment:&lt;/p&gt;
&lt;p&gt;$ tar xvzf pyweb-2.3.1.ta.gz&lt;br /&gt;
$ cd pyweb-2.3.1&lt;br /&gt;
$ python setup.py install&lt;/p&gt;
&lt;p&gt;That seemed to work okay; I have a pyweb-2.3.1-py3.4.egg-info file.&lt;/p&gt;
&lt;p&gt;Then I tried the RST test:&lt;/p&gt;
&lt;p&gt;$ cd test&lt;br /&gt;
$ python3 -m pyweb -wRST test_rst.w&lt;/p&gt;
&lt;p&gt;And got this stack trace:&lt;/p&gt;
&lt;p&gt;$ python3 -m pyweb -wRST test_rst.w&lt;br /&gt;
Traceback (most recent call last):&lt;br /&gt;
  File "/opt/local/stow/python-3.4.2/lib/python3.4/runpy.py", line 170, in _run_module_as_main&lt;br /&gt;
    "&lt;strong&gt;main&lt;/strong&gt;", mod_spec)&lt;br /&gt;
  File "/opt/local/stow/python-3.4.2/lib/python3.4/runpy.py", line 85, in _run_code&lt;br /&gt;
    exec(code, run_globals)&lt;br /&gt;
  File "/home/wdg.nrao.edu/content/Envs/p3/lib/python3.4/site-packages/pyweb.py", line 1913, in &amp;lt;module&amp;gt;&lt;br /&gt;
    main( )&lt;br /&gt;
  File "/home/wdg.nrao.edu/content/Envs/p3/lib/python3.4/site-packages/pyweb.py", line 1909, in main&lt;br /&gt;
    a.process(config)&lt;br /&gt;
  File "/home/wdg.nrao.edu/content/Envs/p3/lib/python3.4/site-packages/pyweb.py", line 1841, in process&lt;br /&gt;
    self.logger.info( "Weaver {:s}".format(config.theWeaver) )&lt;br /&gt;
TypeError: non-empty format string passed to object.&lt;strong&gt;format&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Where did I go off the rails?&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;
John W. Shipman, Web Developer, National Radio Astronomy Observatory&lt;br /&gt;
jshipman@nrao.edu, P. O. Box O, Socorro, NM 87801, cell (505)249-3839&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">John Shipman</dc:creator><pubDate>Wed, 03 Dec 2014 20:02:48 -0000</pubDate><guid>https://sourceforge.netf042cc7fd835f2f018edf7b90dc4f75ebcc7b721</guid></item></channel></rss>