question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Channel UPDATE button doesn't work when importing from Studio Develop

See original GitHub issue

Observed behavior

We want to import the develop-version of a channel (v6), on a demosever that had v4 of a channel installed.

Using the second import option, screen shot 2018-11-29 at 12 24 39 pm and adding develop as a network location: screen shot 2018-11-29 at 12 24 45 pm

We are presented with this screen: kolibri_peer_import_doesn_update

where, clicking UPDATE does not update the files-available list (pressing UPDATE, kolibri progress bar shows up, things for a bit, then UI shows v4 file list again, exactly the same as before the UPDATE was clicked).

Expected behavior

Should see the file list from v6 of the channel

User-facing consequences

Users might not be able to update channels from USB if they already have installed channel from studio.

Not sure though — this could an issues specific to the fact we’re using a “hack” to import from develop studio as if it was a Kolibri peer.

Errors and logs

This is logs from an other occurence of the same bug, where v20 is available but Kolibri still shows v19 file list:

http://35.196.115.213/device/#/content/channels/f9d3e0e46ea25789bbed672ff6a399ed?address_id=1

INFO 2018-11-30 20:41:48,442 client Attempting connection to: https://develop.studio.learningequality.org/
INFO 2018-11-30 20:41:48,604 client Success! We connected to: https://develop.studio.learningequality.org/api/public/info/
INFO 2018-11-30 20:41:59,711 importchannel Downloading data for channel id f9d3e0e46ea25789bbed672ff6a399ed
WARNING 2018-11-30 20:42:02,549 channel_import Version 19 of channel f9d3e0e46ea25789bbed672ff6a399ed already exists in database; cancelling import of version 19

Meanwhile in the JS console we see a steady steam of tasks API call happening — as if waiting for soem status: screen shot 2018-11-29 at 12 17 58 pm

Steps to reproduce

  • Import a channel vN from studio
  • Try to update a channel vN+1 from develop studio

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:9 (9 by maintainers)

github_iconTop GitHub Comments

1reaction
jamalexcommented, Nov 30, 2018

The font errors are just because of bad HTML5 zip files with “…” references (in CSS or HTML) that point up above the top-level index.html path level. Not a Kolibri error (though we should probably just swallow that kind of error, or handle them in some way, because a lot of our ZIPs have this problem).

(Browser is requesting /zipcontent/fonts/NotoSansEthiopic-Regular.ttf…)

0reactions
ivanistheonecommented, Dec 3, 2018

This is really a studio (develop) issue, so moved here: https://github.com/learningequality/studio/issues/1124

Read more comments on GitHub >

github_iconTop Results From Across the Web

If Logic Pro isn't working - Apple Support
If the issue no longer occurs, choose Logic Pro > Settings (or Preferences), reapply your custom settings, and import your custom key commands....
Read more >
Channels and resources — Kolibri User Guide - Read the Docs
If you need to import resources from a private/unlisted channel, click on Import with token button above the channel list. Enter the channel ......
Read more >
How to START & SETUP a New YouTube Channel (The ...
Your browser can't play this video. Learn more. Switch camera.
Read more >
Refresh imported data - Microsoft Support
With Office Visio, you can refresh the data that is imported into a Visio diagram by using the Custom Import, Quick Import, and...
Read more >
Button | Android Developers
If you are not satisfied with the default button style, you can customize it. ... loss in performance due to the cost of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found