wikipathways / wikipathways-upgrade-UM

0 stars 0 forks source link

batchdownload not working or working differently? #21

Open mkutmon opened 5 years ago

mkutmon commented 5 years ago

http://www.wikipathways.org//wpi/batchDownload.php?species=Homo%20sapiens&fileType=gpml&tag=Curation:Reactome_Approved is something that should work on the new page as well

nunogit commented 5 years ago

We tried

http://137.120.17.147/extensions/WikiPathways/maintenance/batch-download.php?species=Homo%20sapiens&fileType=gpml&tag=Curation:Reactome_Approved

which apparently replaces the old script but we get a 500 error

mkutmon commented 5 years ago

https://github.com/wikipathways/wikipathways.org/blob/master/wpi/batchDownload.php

nunogit commented 5 years ago

The first bug was solved. wfDebug function was not found, so the line was commented. The second bugo, class BatchDownloader is not being found:

/home/manager/wikipathways-upgrade-2017/logs/error.log:[Tue Apr 09 10:58:28.578179 2019] [php7:error] [pid 17843] [client 137.120.203.177:50506] PHP Fatal error:  Uncaught Error: Class 'BatchDownloader' not found in /home/manager/wikipathways-upgrade-2017/extensions/WikiPathways/maintenance/batch-download.php:15\nStack trace:\n#0 {main}\n  thrown in /home/manager/wikipathways-upgrade-2017/extensions/WikiPathways/maintenance/batch-download.php on line 15
/home/manager/wikipathways-upgrade-2017/logs/error.log:[Tue Apr 09 10:58:34.663457 2019] [php7:error] [pid 17893] [client 137.120.203.177:50512] PHP Fatal error:  Uncaught Error: Class 'BatchDownloader' not found in /home/manager/wikipathways-upgrade-2017/extensions/WikiPathways/maintenance/batch-download.php:15\nStack trace:\n#0 {main}\n  thrown in /home/manager/wikipathways-upgrade-2017/extensions/WikiPathways/maintenance/batch-download.php on line 15