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.

Errors in Firefox console during import of channel

See original GitHub issue

Observed behavior

When importing a channel, some errors show in the Firefox’s console.

On the side, I don’t know if the above error causes this “131% progress” error coz I cannot reproduce this consistently. But during import the progress bar moves back and forth and the values indicate … 20%, 50%, 25%, 65%,… 90%, 131%, 93%, 100% in order.

I managed to capture this screenshot. Screen Shot 2020-06-12 at 8 24 43 PM

Try 2 When I tried again, it showed the errors but the progress bar is ok: 2020-06-12-fri--import channel bug 1

Try 3 Re-tried again and this time the import did not proceed and showed a “Something went wrong!” page: Screen Shot 2020-06-12 at 9 17 20 PM

This is the console error:

21:17:31.263 TypeError: An id must be specified api-resource.js:752

Here’s the log: console-export-2020-6-12_21-21-4.txt

Expected behavior

No errors must show during content import.

User-facing consequences

Import functionality may be broken due to those errors.

Errors and logs

Try 1 and 2 debug.txt kolibri.txt console-export-2020-6-12_21-2-48.txt

Steps to reproduce

  1. Delete the ~/.kolibri/ folder - make a backup if needed.
  2. Checkout release-v0.14.x.
  3. Follow the Setting up Kolibri for Development.
  4. Make sure to show the Firefox Console window to notice the errors.
  5. Do a Quick Setup of Kolibri, then import Kolibri QA Channel from Studio using the token nakav-mafak. You can also do the usual import by selecting resources.
  6. Notice the errors shown in the Firefox console.

Context

  • Kolibri version: release-v0.14.x branch
  • Operating system: macOS v10.14.6 Mojave
  • Browser: Firefox v77.0.1
  • Python: v3.7.7

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:11 (11 by maintainers)

github_iconTop GitHub Comments

1reaction
rtibblescommented, Jun 23, 2020

Note the main error here is actual the final one in the second screenshot TypeError: id must be defined - here an actual error is occurring as the frontend code is asking the API resource layer to fetch an object with id undefined.

0reactions
MisRobcommented, Jun 26, 2020

@indirectlylit Sure. Here are the issues: #7197, #7196 (Could you please add labels? I am not sure what priority are they) and a PR containing 404 logging as it was faster than opening a new issue 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Console doesn't display content script errors - Mozilla Discourse
During an extension development, I noticed that the Firefox debugger console doesn't display any errors while injecting content scripts, ...
Read more >
New backend for storage.local API - The Mozilla Blog
How to retrieve migrated data and re-import the extension data ... Go to about:config and check the setting for extensions.webextensions.
Read more >
How to fix console errors? | Firefox Support Forum
Hello! My name is Kevin, I work as a novice developer on a small site. Recently, my employer saw errors in the browser...
Read more >
javascript console? | Firefox Support Forum
I was playing a browser based game and it popped up with the error saying: an error occured running the unity content on...
Read more >
Browser Console — Firefox Source Docs documentation
from the menu: select “Browser Console” from the Browser Tools submenu in the Firefox Menu (or Tools menu if you display the menu...
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