openzim / openedx

Open edX (to zim) scraper
GNU General Public License v3.0
8 stars 7 forks source link

RTL templates not usable #158

Closed Popolechien closed 4 years ago

Popolechien commented 4 years ago

Capture d’écran 2020-10-20 à 08 37 20

Looking at phzh_core-arabic-one_ar, the ZIM is not usable at all due to UI issues:

@satyamtg please take a look and open sub issues if required. zimfarm run has its log full of 404 errors.

satyamtg commented 4 years ago
  • only videos are displayed
  • rest of pages are blank
  • side menu is too shrunk

@satyamtg please take a look and open sub issues if required. zimfarm run has its log full of 404 errors.

That's strange. Looks like there's an issue with the content not being scraped properly (as RTL has nothing to do with missing content). Looking into this. As for the sidebar, I'm not very sure. I'm looking at the logs.

satyamtg commented 4 years ago

Okay, I got why we have missing content. It's because the runs for PHZH in english, arabic and german were all started at once, using the same registered e-mail ID. So, due to the nature of the scraper and openedx platform, only the connection with the latest run prevails and all other are disconnected. We can also see missing content in the english version.

This explains the presence of 404s after a certain point in the log of the arabic version.

Though this limitation is documented in the readme, I think that we shall make this clearer.

rgaudin commented 4 years ago

OK, not sure how we should handle this but relaunching them all one by one

rgaudin commented 4 years ago

Following up on that, recipes have been updated with individual credentials and the ZIM redone. @Popolechien the demo have been updated. I am closing this ticket.

Popolechien commented 4 years ago

@rgaudin Well the videos are not working this time around. Should I reopen a ticket or blame it on some bad run (and restart the scraper on the farm)?

rgaudin commented 4 years ago

Open a new ticket please ; this one was specific and handled.