Hi Jack,

Well, that's weird: /usr/share/javascript/jquery/jquery.js is included
in the libjs-jquery package, so I have no idea why you didn't have it
on your system.

Anyway, pleased to hear that it's now working!

Best wishes,

   Julian

On Sun, Jun 06, 2021 at 12:04:12PM -0400, Jack Thomson wrote:
> Ahhh that totally fixed it. I had only the minified version of jquery at
> /usr/share/javascript/jquery/jquery.min.js A quick symlink over to
> /usr/share/javascript/jquery/jquery.js and it seems fixed! Really appreciate 
> the
> help!
> On Sun, Jun 6, 2021 at 2:08 AM Julian Gilbey <jul...@d-and-j.net> wrote:
> 
>   Hi Jack,
> 
>   OK, this is weird; these exactly match the versions I have on my
>   system.
> 
>   My best guess is that anki is somehow not detecting the jquery library
>   on your system, but I don't know why that would be the case.  I'm
>   presuming that you do have the file
>   /usr/share/javascript/jquery/jquery.js on your system, and that it's
>   world readable?
> 
>   Best wishes,
> 
>      Julian
> 
>   On Fri, Jun 04, 2021 at 11:23:12AM -0400, Jack Thomson wrote:
>   > Appreciate the response! I totally believe it's one of my packages. Here's
>   my
>   > versions:
>   > Running dpkg-query --show | grep for each package:
>   > python3-pyqt5.qtwebengine 5.15.2-2
>   > python3-pyqt5.qtwebchannel 5.15.2+dfsg-3
>   > libjs-jquery 3.5.1+dfsg+~3.5.5-7
>   > libjs-jquery-flot 4.2.1+dfsg-5
>   > libjs-jquery-ui 1.12.1+dfsg-8
>   > libjs-mathjax 2.7.9+dfsg-1
>   > Are any of those unexpected to you?
>   > On Fri, Jun 4, 2021 at 4:13 AM Julian Gilbey <jul...@d-and-j.net> wrote:
>   >
>   >   tags 989423 +moreinfo
>   >   thanks
>   >
>   >   On Thu, Jun 03, 2021 at 07:37:14AM -0400, Jack Thomson wrote:
>   >   > Package: anki
>   >   > Version: 2.1.15+dfsg-3
>   >   > Severity: important
>   >   >
>   >   > Dear Maintainer,
>   >   >
>   >   >    * What led up to the situation?
>   >   >    - I installed anki via apt, and neither creating decks nor 
> importing
>   >   >      decks seems to work. The terminal constantly prints:
>   >   >
>   >   >      "JS error on line 1: Uncaught ReferenceError: $ is not defined
>   >   >       JS error on line 34: Uncaught ReferenceError: $ is not defined
>   >   >       JS error on line 99: Uncaught ReferenceError: $ is not defined
>   >   >       JS error on line 109: Uncaught ReferenceError: $ is not defined"
>   >   >
>   >   >     All the menus, seem to function well enough. I'm not too educated 
> on
>   >   >     the matter, but could it be something to do with Wayland?
>   >
>   >   Dear Jack,
>   >
>   >   Thanks for reporting this.  I'm a little bit stuck, as I cannot
>   >   reproduce this error on my machine.  The error you have found seems to
>   >   be some sort of issue in jsQuery or some JavaScript that uses jsQuery,
>   >   by the looks of things.  But there do not seem to be any JavaScript
>   >   files in the Anki package which would give the errors you have got.
>   >
>   >   What versions do you have installed of the following packages:
>   >
>   >   python3-pyqt5.qtwebengine, python3-pyqt5.qtwebchannel, libjs-jquery,
>   >   libjs-jquery-ui, libjs-jquery-flot, libjs-mathjax
>   >
>   >   I'm wondering whether it's something in one of those, perhaps?
>   >
>   >   Best wishes,
>   >
>   >      Julian

Reply via email to