[librecat-dev] Internal error after git pull

Nicolas Steenlant Nicolas.Steenlant at UGent.be
Thu May 17 11:15:51 CEST 2018


There is now a pull request that that adds some backwards compatibility to the changes in LibreCat.pm:

https://github.com/LibreCat/LibreCat/pull/483

Cheers,
Nicolas

--
Nicolas Steenlant
software developer at University Library Ghent


On 16 May 2018, at 09:43, Jonathan NORRIS <jnorris at ist.ac.at<mailto:jnorris at ist.ac.at>> wrote:

Hey Patrick,

Yes this was the issue, I had a lot of differences between some of the 'lib' files in my layer and the newly updated 'lib' files. I merged the changes into my layer and now things seem to be working fine.

Thanks for your help!

Jonathan

On 05/16/2018 08:56 AM, Patrick Hochstenbach wrote:
Hi Jonathan

Are you by any chance using local layers that overwrite some of the Perl functionality? In the dev branch there are some changes how ‘LibreCat’ methods should be called that still require some backwards compatibility.

Patrick

On 15 May 2018, at 17:07, Jonathan NORRIS <jnorris at ist.ac.at<mailto:jnorris at ist.ac.at>> wrote:

Ok thanks for the advice. I wanted to use the dev branch to get the fix in 'issue_359', the fix that addresses the broken autocomplete for the 'Link to LibreCat record' field. After the pull of the latest dev and the running of 'carton install', 'make generate' fails with the same error message:

Can't use string ("LibreCat") as a HASH ref while "strict refs" in use at (eval 93) line 20, <DATA> line 1003.
Makefile:12: recipe for target 'generate' failed
make: *** [generate] Error 255
But if there are some current issues to be worked out on this branch I can use the master branch.

On 05/15/2018 04:28 PM, Patrick Hochstenbach wrote:
Hi Jonathan

The ‘dev’ branch is currently in a volatile state. Can you try to pull again with the latest fixes.
Also it is required to rebuild the index (./index.sh reindex) and do all the ‘carton’ and ‘make generate’ commands.

Patrick

PS> The best advice is to use the ‘master’ branch for latest stable releases.


On 15 May 2018, at 16:14, Jonathan NORRIS <jnorris at ist.ac.at<mailto:jnorris at ist.ac.at>>
 wrote:

Hello,

I just pulled from the dev branch and got the 'internal error' page when trying to go to librecat. The error message in deployment.log is:

805 [8122] error @0.029295> [hit #1]request to GET / crashed: core - template - undef error - Can't use string ("LibreCat") as a HASH ref while "strict refs" in use at (eval 95) line 20.
806  at /var/storage/librecat/local/lib/perl5/Dancer/Template/Abstract.pm line 91. in /var/storage/librecat/local/lib/perl5/Dancer/Handler.pm l. 98

Any ideas why this might of happened? I believe my last pull was about 1 month ago.

Thanks,

Jonathan Norris

IST Austria

_______________________________________________
librecat-dev mailing list
- send list mails to
librecat-dev at lists.uni-bielefeld.de<mailto:librecat-dev at lists.uni-bielefeld.de>

- to unsubscribe or change options, visit
https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev

- project website:
http://librecat.org/

_______________________________________________
librecat-dev mailing list
- send list mails to librecat-dev at lists.uni-bielefeld.de<mailto:librecat-dev at lists.uni-bielefeld.de>
- to unsubscribe or change options, visit https://lists.uni-bielefeld.de/mailman2/cgi/unibi/listinfo/librecat-dev
- project website: http://librecat.org/

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.uni-bielefeld.de/mailman2/unibi/public/librecat-dev/attachments/20180517/e60afaa9/attachment.html>


More information about the librecat-dev mailing list