These are chat archives for collectiveaccess/support

29th
Jan 2018
Kehan Harman
@kehh
Jan 29 2018 01:33
@bowbot_twitter I'd suggest this is a good candidate for git bisect. That should show the commit the broke the migration.
CollectiveAccess
@collectiveaccess
Jan 29 2018 02:48
@bowbot_twitter What are you mapping to entity_id? How matching is performed on those values has changed somewhat in the past few versions.
The error means simply that "120" doesn't match any entities. Is it meant to be an actual entity_id? Or an idno?
askaandfish
@askaandfish
Jan 29 2018 04:10
Hi, I have a problem in generating pdf report using wkhtmltopdf in 1.7.5. I use default Print templates in 1.6.3 without problem. But in 1.7.5 using default Print templates comes with 1.7.5 installation, I found that the pdf load too long that I had to terminate the wkhtmltopdf process. Error log in Apache said
CollectiveAccess
@collectiveaccess
Jan 29 2018 04:11
Have you tried it without wkhtmltopdf?
@mbutel_twitter I don't think there's a profile that specifically fits this. There are some profiles that specifically implement MARC for books
I can try to dig one of those up for you
@kehh I haven't noticed this. Is this with v1.7.5
askaandfish
@askaandfish
Jan 29 2018 04:15
@collectiveaccess PhantomJS also can't generate pdf, with similar Apache error
CollectiveAccess
@collectiveaccess
Jan 29 2018 04:15
Try it with domPDF
PhantomJS as a project is ending, and we'll end support for it as well
askaandfish
@askaandfish
Jan 29 2018 04:19
domPDF also cannot generate
PHP Warning: file_get_contents(C:\Users\user_name\AppData\Local\Temp\wkhtmltopdf13260978341516.pdf): failed to open stream: No such file or directory in C:\Apache24\htdocs\providence_test\app\lib\core\Plugins\PDFRenderer\wkhtmltopdf.php on line 117, referer: http://(mydomain)/providence_test/index.php/find/BrowseObjects/Index/reset/preference%3Apersistent_search/parameter:type_id/+
CollectiveAccess
@collectiveaccess
Jan 29 2018 04:20
If you're getting that error wkhtmltopdf is still being used
askaandfish
@askaandfish
Jan 29 2018 04:20
this is the Apache error for wkhtmltopdf
CollectiveAccess
@collectiveaccess
Jan 29 2018 04:21
Set the path to wkhtmttopdf in external_applications.conf to something that does not exist
and try again
askaandfish
@askaandfish
Jan 29 2018 04:27
OK I erased the path setting for wkhtmltopdf and PhantomJS and saved. Still wait for very long time and nothing generated. Apache error is PHP Warning: file_get_contents(/C:/Apache24/htdocs/providence_test/app/printTemplates/results/checklist.php): failed to open stream: Invalid argument in C:\Apache24\htdocs\providence_test\app\lib\core\View.php on line 195, referer: http://(mydomain)/providence_test/index.php/find/BrowseObjects/modifyCriteria/facet/entity_facet/id/22/mod_id/0
CollectiveAccess
@collectiveaccess
Jan 29 2018 04:28
Ok well ht exactly are you trying to generate here? Do you get this message all of the time, or just for some browses?
askaandfish
@askaandfish
Jan 29 2018 04:37
I'm trying to generate a checklist report for browse result of ca_objects. I get this browse result by filtering an Entity in ca_objects records. There are 54 records. I have tried IE and Chrome, both with same message
askaandfish
@askaandfish
Jan 29 2018 05:38
I tested that domPDF actually can generate a report in chrome, but the waiting time is half an hour, and the pdf generated cannot open (adobe reader error: the file is damaged and could not be repaired)
Kehan Harman
@kehh
Jan 29 2018 08:12
We found dompdf to be quite slow to render especially if the output content was potentially invalid html. Check your display syntax of your fields, and switch to a different display if you can.
askaandfish
@askaandfish
Jan 29 2018 08:14
Thanks @collectiveaccess @kehh ! Will take a look in it.
CollectiveAccess
@collectiveaccess
Jan 29 2018 11:57
@askaandfish Do other browses result in the same PDF error when using wkhtmltopdf?