YunoHost-Apps / bibliogram_ynh

Bibliogram package for YunoHost
GNU General Public License v3.0
5 stars 1 forks source link

Instagram changes broke my instance #9

Closed stemy2 closed 3 years ago

stemy2 commented 3 years ago

Describe the bug My instance is unusable, any username give me the message "Unexpected end of JSON input". According the upstream app developer, it's because some instagram changes and i have to "update and type npm install". I actually can't do anything but wait until you update the package.

Versions

To Reproduce Steps to reproduce the behavior.

  1. Go to Page main app
  2. Type some username

Expected behavior The actual instagram page

ericgaspar commented 3 years ago

@stemy2 I have installed a fresh version and the app works as expected. Edit: well I get an error at the end of the page...

◸―――――――――――――――――――――――――――――――――――――◹ ···< | 500. That's an error. | >··· ◺―――――――――――――――――――――――――――――――――――――◿ ╱ Are you visiting this website? Not sure what's going on? ╲ ╲ You might want to come back later. ╱ TypeError: Cannot read property 'json' of undefined at /var/www/bibliogram/src/lib/collectors.js:284:18 at processTicksAndRejections (internal/process/task_queues.js:97:5) at async Timeline.fetchUpToPage (/var/www/bibliogram/src/lib/structures/Timeline.js:58:19) at async Object.code (/var/www/bibliogram/src/site/api/routes.js:202:24)

can you try to:

Can you also link the upstream sources you are refering to.

I also want to point out that the developper of Bibliogram stopped maintaining this app... So it is likely that this app will not work in the future. :[

stemy2 commented 3 years ago

The fix worked fine !