You are not logged in.
Pages: 1
If I run git instaweb I get:
[xan@argonia apunts-acces-uib-per-a-majors-de-25-anys]$ git instaweb
(process:5009): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
[xan@argonia apunts-acces-uib-per-a-majors-de-25-anys]$
(process:5012): GLib-CRITICAL **: g_slice_set_config: assertion 'sys_page_size == 0' failed
and blank page in the firefox.
I don't know why? Anyone could help me?
Last edited by xanb (2015-10-30 11:38:10)
Owning one OpenRC (artoo way) and other three systemd machines
Offline
I had a similar problem and resolved it by installing perl-cgi
$ sudo pacman -S perl-cgi
And now this works
$ cd my-git-project-root
$ git instaweb
Specifically I was getting a 500 error with "Premature end of script headers: /usr/share/gitweb/gitweb.cgi" and I then tried running the script
$ cd /usr/share/gitweb/
$ ./gitweb.cgi
Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at ./gitweb.cgi line 13.
BEGIN failed--compilation aborted at ./gitweb.cgi line 13.
So that prompted the installation of perl-cgi.
Last edited by eldog (2015-10-29 11:47:56)
Offline
It can be a couple of things.. Permissions, config of repo folders, not using bare repos... These are just some problems that crossed my mind.
Offline
Thanks a lot, eldog. It works now. Perhaps in the package we should mark it with perl-cgi dependency, should we?
I had a similar problem and resolved it by installing perl-cgi
$ sudo pacman -S perl-cgi
And now this works
$ cd my-git-project-root $ git instaweb
Specifically I was getting a 500 error with "Premature end of script headers: /usr/share/gitweb/gitweb.cgi" and I then tried running the script
$ cd /usr/share/gitweb/ $ ./gitweb.cgi Can't locate CGI.pm in @INC (you may need to install the CGI module) (@INC contains: /usr/lib/perl5/site_perl /usr/share/perl5/site_perl /usr/lib/perl5/vendor_perl /usr/share/perl5/vendor_perl /usr/lib/perl5/core_perl /usr/share/perl5/core_perl .) at ./gitweb.cgi line 13. BEGIN failed--compilation aborted at ./gitweb.cgi line 13.
So that prompted the installation of perl-cgi.
Owning one OpenRC (artoo way) and other three systemd machines
Offline
Pages: 1