pkp / ots

PKP XML Parsing Service
GNU General Public License v3.0
32 stars 19 forks source link

Installation Error (unitttest.sh) #90

Closed shaharyarahmad closed 7 years ago

shaharyarahmad commented 7 years ago

I get the following error when I run the unittest.sh

There was 1 error:

1) BibtexreferencesConversionTest\Model\Queue\BibtexreferencesJobTest::testConversion Exception: Couldn't find the stage document

/var/www/html/module/BibtexreferencesConversion/src/BibtexreferencesConversion/Model/Queue/Job/BibtexreferencesJob.php:29 /var/www/html/module/BibtexreferencesConversion/test/BibtexreferencesConversionTest/Model/Queue/BibtexreferencesJobTest.php:47

FAILURES! Tests: 31, Assertions: 95, Errors: 1.

shaharyarahmad commented 7 years ago

Wanted to update that the installation was made using the vagrant shell script. The current CERMINE is 1.11, this issue seems similar to the one posted by Vitaliy.

Vitaliy-1 commented 7 years ago

And what the Open Typesetting Stack? What errors you see there? I think that this error is not crucial. I have used manual installation - created Ubuntu 14 on virtual box to control every step. Also I applied minor changes in composer.json to install all correctly. That was adding line 8 and 9:

"minimum-stability": "dev",
"prefer-stable": true, 

and change in line 92:

"zendframework/zen-developer-tools": "1.*",

After downloading cermine 1.11 there is a need to change global.php line about the cermine path

shaharyarahmad commented 7 years ago

I installed using the vagrant script, which included CERMINE 1.11 by default and had no need to download it myself. I installed all the dependencies automatically.

I also agree the error might not be extremely fatal, but I am having an issue an issue with the citation style selector. I get the following error when trying to select citation styles.

Error loading CSL style file. Libxml error: Start tag expected, '<' not found

I hope @axfelix might be able to help.

axfelix commented 7 years ago

Just pushed a fix that should fix your Cermine dying issues, causing the unit test to fail. The CSL tag error is a permissions problem that I thought I'd fixed a while back but will double-check later today.

axfelix commented 7 years ago

Closing this unless we hear more... feel free to reopen.