Peter J. Holzer wrote:
> On 2019-03-29 12:56:00 +0100, Thomas Jollans wrote:
>> On 29/03/2019 12.39, Tony van der Hoff wrote:
>> > Running in browser:
>> > http://localhost/~tony/private/home/learning/jinja/minimal/minimal.py
>> >
>> > In apache2.access.log:
>>
>> So it's running in apache!
>>
On 2019-03-29 12:56:00 +0100, Thomas Jollans wrote:
> On 29/03/2019 12.39, Tony van der Hoff wrote:
> > Running in browser:
> > http://localhost/~tony/private/home/learning/jinja/minimal/minimal.py
> >
> > In apache2.access.log:
>
> So it's running in apache!
>
> Now the question is what apache
On 29/03/2019 12.39, Tony van der Hoff wrote:
> On 29/03/2019 11:08, Chris Angelico wrote:
>> On Fri, Mar 29, 2019 at 9:12 PM Tony van der Hoff
>> wrote:
>>>
>>> Hello Chris.
>>> Thanks for your interest.
>>>
>>> On 28/03/2019 18:04, Chris Angelico wrote:
On Fri, Mar 29, 2019 at 4:10 AM Tony
On 29/03/2019 11:08, Chris Angelico wrote:
> On Fri, Mar 29, 2019 at 9:12 PM Tony van der Hoff
> wrote:
>>
>> Hello Chris.
>> Thanks for your interest.
>>
>> On 28/03/2019 18:04, Chris Angelico wrote:
>>> On Fri, Mar 29, 2019 at 4:10 AM Tony van der Hoff
>>> wrote:
This'll probably wo
On Fri, Mar 29, 2019 at 9:12 PM Tony van der Hoff wrote:
>
> Hello Chris.
> Thanks for your interest.
>
> On 28/03/2019 18:04, Chris Angelico wrote:
> > On Fri, Mar 29, 2019 at 4:10 AM Tony van der Hoff
> > wrote:
> >>
> >> This'll probably work:
> >
> > You have a python3 shebang, but are you d
On 29/03/2019 11.10, Tony van der Hoff wrote:
> and running it in a browser (tried both chrome and Firefox),
How?
> it fails as before: blank web page.
No traceback? There must be a traceback somewhere. In a log file perhaps.
--
https://mail.python.org/mailman/listinfo/python-list
Hello Chris.
Thanks for your interest.
On 28/03/2019 18:04, Chris Angelico wrote:
> On Fri, Mar 29, 2019 at 4:10 AM Tony van der Hoff
> wrote:
>>
>> This'll probably work:
>
> You have a python3 shebang, but are you definitely running this under Python
> 3?
>
Absolutely.
> Here's a much more
Tony van der Hoff writes:
> I have a MariaDB database, which contains accented (mostly French)
> characters. I need to display these on an HTML page. I'm using the Jinja
> templating engine.
Why do you (still) need this?
HTML is prepared to work all over the world - even in Asia
where few charact
On Fri, Mar 29, 2019 at 4:10 AM Tony van der Hoff wrote:
>
> This'll probably work:
>
> accent-test/accent-test.py:
> #
> #!/usr/bin/env python3
>
> import os
> from jinja2 import Environment, FileSystemLoader
>
> PATH = os.path.d
Tony van der Hoff wrote:
> On 28/03/2019 16:58, Chris Angelico wrote:
>> On Fri, Mar 29, 2019 at 3:47 AM Tony van der Hoff
>> wrote:
>>>
>>> On 28/03/2019 15:09, Peter Otten wrote:
Tony van der Hoff wrote:
> On 28/03/2019 12:46, Jon Ribbens wrote:
>> On 2019-03-28, Tony van der
On 28/03/2019 16:58, Chris Angelico wrote:
> On Fri, Mar 29, 2019 at 3:47 AM Tony van der Hoff
> wrote:
>>
>> On 28/03/2019 15:09, Peter Otten wrote:
>>> Tony van der Hoff wrote:
>>>
On 28/03/2019 12:46, Jon Ribbens wrote:
> On 2019-03-28, Tony van der Hoff wrote:
>> Thanks, Chris.
On Fri, Mar 29, 2019 at 3:47 AM Tony van der Hoff wrote:
>
> On 28/03/2019 15:09, Peter Otten wrote:
> > Tony van der Hoff wrote:
> >
> >> On 28/03/2019 12:46, Jon Ribbens wrote:
> >>> On 2019-03-28, Tony van der Hoff wrote:
> Thanks, Chris. The problem is not with the browser, but Jinja cra
On 28/03/2019 15:09, Peter Otten wrote:
> Tony van der Hoff wrote:
>
>> On 28/03/2019 12:46, Jon Ribbens wrote:
>>> On 2019-03-28, Tony van der Hoff wrote:
Thanks, Chris. The problem is not with the browser, but Jinja crashes.
Probably a bug, but I'm too wedded to that engine to change
Tony van der Hoff wrote:
> On 28/03/2019 12:46, Jon Ribbens wrote:
>> On 2019-03-28, Tony van der Hoff wrote:
>>> Thanks, Chris. The problem is not with the browser, but Jinja crashes.
>>> Probably a bug, but I'm too wedded to that engine to change now. I'll
>>> raise it on the Jinja bug site.
>>
On 28/03/2019 12:46, Jon Ribbens wrote:
> On 2019-03-28, Tony van der Hoff wrote:
>> Thanks, Chris. The problem is not with the browser, but Jinja crashes.
>> Probably a bug, but I'm too wedded to that engine to change now. I'll
>> raise it on the Jinja bug site.
>
> It'll almost certainly be a m
> On Mar 28, 2019, at 7:53 AM, Tony van der Hoff wrote:
> Thanks, Chris. The problem is not with the browser, but Jinja crashes.
> Probably a bug, but I'm too wedded to that engine to change now. I'll
> raise it on the Jinja bug site.
>
Using Google, it says that Jinja2 is Unicode capable, if
On 2019-03-28, Tony van der Hoff wrote:
> Thanks, Chris. The problem is not with the browser, but Jinja crashes.
> Probably a bug, but I'm too wedded to that engine to change now. I'll
> raise it on the Jinja bug site.
It'll almost certainly be a mistake in the way you're using Jinja.
I can't bel
On Thu, Mar 28, 2019 at 10:55 PM Tony van der Hoff wrote:
>
> On 28/03/2019 11:02, Chris Angelico wrote:
> > On Thu, Mar 28, 2019 at 8:58 PM Tony van der Hoff
> > wrote:
> >>
> >> Hi,
> >>
> >> I have a MariaDB database, which contains accented (mostly French)
> >> characters. I need to display
On 28/03/2019 11:02, Chris Angelico wrote:
> On Thu, Mar 28, 2019 at 8:58 PM Tony van der Hoff
> wrote:
>>
>> Hi,
>>
>> I have a MariaDB database, which contains accented (mostly French)
>> characters. I need to display these on an HTML page. I'm using the Jinja
>> templating engine.
>>
>> So, fo
On 28/03/2019 10:19, Antoon Pardon wrote:
> On 28/03/19 10:38, Tony van der Hoff wrote:
>> Hi,
>>
>> I have a MariaDB database, which contains accented (mostly French)
>> characters. I need to display these on an HTML page. I'm using the Jinja
>> templating engine.
>>
>> So, for instance, é needs t
On Thu, Mar 28, 2019 at 8:58 PM Tony van der Hoff wrote:
>
> Hi,
>
> I have a MariaDB database, which contains accented (mostly French)
> characters. I need to display these on an HTML page. I'm using the Jinja
> templating engine.
>
> So, for instance, é needs to be replaced by é and so on. I've
On 28/03/19 10:38, Tony van der Hoff wrote:
> Hi,
>
> I have a MariaDB database, which contains accented (mostly French)
> characters. I need to display these on an HTML page. I'm using the Jinja
> templating engine.
>
> So, for instance, é needs to be replaced by é and so on. I've had
> some succe
22 matches
Mail list logo