Hello everyone, I've built python3-pygments from sources (https://github.com/pygments/pygments) using the latest stable 2.6.1 tag. Using it with cgit v1.2.3 and git 2.25.1 leads to blank 'about' pages whereas everything works fine with 2.3.1+dfsg-1ubuntu2 on Ubuntu focal. Any suggestions? The deb package is available on Ubuntu focal at https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/p/python3-pygments. Cheers. -- Jean-Christophe
[-- Attachment #1: Type: text/plain, Size: 969 bytes --] jean-christophe manciot <actionmystique@gmail.com> on Wed, 2020/07/01 15:51: > Hello everyone, > > I've built python3-pygments from sources > (https://github.com/pygments/pygments) using the latest stable 2.6.1 > tag. > Using it with cgit v1.2.3 and git 2.25.1 leads to blank 'about' pages > whereas everything works fine with 2.3.1+dfsg-1ubuntu2 on Ubuntu > focal. > > Any suggestions? > > The deb package is available on Ubuntu focal at > https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/p/python3-pygments. > > Cheers. I use cgit with python-pygments 2.6.1-2 on Arch Linux. Everything works as expected, so looks like this is not a general issue with python-pygments. Any error messages in the logs? -- main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH" "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];) putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);} [-- Attachment #2: OpenPGP digital signature --] [-- Type: application/pgp-signature, Size: 488 bytes --]
Nothing related to this issue appears in uwsgi/nginx logs nor any
other log below /var/log.
Is there a way to log cgit trace?
On Wed, Jul 1, 2020 at 4:12 PM Christian Hesse <list@eworm.de> wrote:
>
> jean-christophe manciot <actionmystique@gmail.com> on Wed, 2020/07/01 15:51:
> > Hello everyone,
> >
> > I've built python3-pygments from sources
> > (https://github.com/pygments/pygments) using the latest stable 2.6.1
> > tag.
> > Using it with cgit v1.2.3 and git 2.25.1 leads to blank 'about' pages
> > whereas everything works fine with 2.3.1+dfsg-1ubuntu2 on Ubuntu
> > focal.
> >
> > Any suggestions?
> >
> > The deb package is available on Ubuntu focal at
> > https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/p/python3-pygments.
> >
> > Cheers.
>
> I use cgit with python-pygments 2.6.1-2 on Arch Linux. Everything works as
> expected, so looks like this is not a general issue with python-pygments.
>
> Any error messages in the logs?
> --
> main(a){char*c=/* Schoene Gruesse */"B?IJj;MEH"
> "CX:;",b;for(a/* Best regards my address: */=0;b=c[a++];)
> putchar(b-1/(/* Chris cc -ox -xc - && ./x */b/42*2-3)*42);}
--
Jean-Christophe
On 01/07/2020 14:51, jean-christophe manciot wrote:
> Hello everyone,
>
> I've built python3-pygments from sources
> (https://github.com/pygments/pygments) using the latest stable 2.6.1
> tag.
> Using it with cgit v1.2.3 and git 2.25.1 leads to blank 'about' pages
> whereas everything works fine with 2.3.1+dfsg-1ubuntu2 on Ubuntu
> focal.
>
> Any suggestions?
>
> The deb package is available on Ubuntu focal at
> https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/p/python3-pygments.
I use the highlight package instead, running cgit under uwsgi fronted by nginx.
When I restart the web server, the highlighted code is blank until I restart the
uwsgi service. I don't know why this is as there is no reported error, but the
symtom appears to mirror your own so I thought it was worth mentioning.
Roy
I tried to restart uwsgi then nginx systemd services after
python3-pygments upgrade, but the symptom persists.
On Wed, Jul 1, 2020 at 5:35 PM Roy Marples <roy@marples.name> wrote:
>
> On 01/07/2020 14:51, jean-christophe manciot wrote:
> > Hello everyone,
> >
> > I've built python3-pygments from sources
> > (https://github.com/pygments/pygments) using the latest stable 2.6.1
> > tag.
> > Using it with cgit v1.2.3 and git 2.25.1 leads to blank 'about' pages
> > whereas everything works fine with 2.3.1+dfsg-1ubuntu2 on Ubuntu
> > focal.
> >
> > Any suggestions?
> >
> > The deb package is available on Ubuntu focal at
> > https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/p/python3-pygments.
>
> I use the highlight package instead, running cgit under uwsgi fronted by nginx.
> When I restart the web server, the highlighted code is blank until I restart the
> uwsgi service. I don't know why this is as there is no reported error, but the
> symtom appears to mirror your own so I thought it was worth mentioning.
>
> Roy
--
Jean-Christophe
It appears it was actually caused by a packaging quirk where a
non-default python lib path was used by default.
I have rebuilt the package and now everything is fine.
On Wed, Jul 1, 2020 at 5:41 PM jean-christophe manciot
<actionmystique@gmail.com> wrote:
>
> I tried to restart uwsgi then nginx systemd services after
> python3-pygments upgrade, but the symptom persists.
>
> On Wed, Jul 1, 2020 at 5:35 PM Roy Marples <roy@marples.name> wrote:
> >
> > On 01/07/2020 14:51, jean-christophe manciot wrote:
> > > Hello everyone,
> > >
> > > I've built python3-pygments from sources
> > > (https://github.com/pygments/pygments) using the latest stable 2.6.1
> > > tag.
> > > Using it with cgit v1.2.3 and git 2.25.1 leads to blank 'about' pages
> > > whereas everything works fine with 2.3.1+dfsg-1ubuntu2 on Ubuntu
> > > focal.
> > >
> > > Any suggestions?
> > >
> > > The deb package is available on Ubuntu focal at
> > > https://git.sdxlive.com/PPA/tree/Ubuntu/pool/stable/p/python3-pygments.
> >
> > I use the highlight package instead, running cgit under uwsgi fronted by nginx.
> > When I restart the web server, the highlighted code is blank until I restart the
> > uwsgi service. I don't know why this is as there is no reported error, but the
> > symtom appears to mirror your own so I thought it was worth mentioning.
> >
> > Roy
>
>
>
> --
> Jean-Christophe
--
Jean-Christophe