Bug#989423: anki: Anki not displaying any decks after clicking "Study Now"

2021-06-06 Thread Jack Thomson
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/j**query.js* and it seems fixed! Really
appreciate the help!

On Sun, Jun 6, 2021 at 2:08 AM Julian Gilbey  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  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
>


Bug#989423: anki: Anki not displaying any decks after clicking "Study Now"

2021-06-04 Thread Jack Thomson
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  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
>


Bug#989423: anki: Anki not displaying any decks after clicking "Study Now"

2021-06-03 Thread Jack Thomson
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?

   * What outcome did you expect instead?

   I expected to be able to see the deck! It seems like it's not
   rendering at all.


-- System Information:
Debian Release: 11.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.10.0-6-amd64 (SMP w/4 CPU threads)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages anki depends on:
ii  libjs-jquery3.5.1+dfsg+~3.5.5-7
ii  libjs-jquery-flot   4.2.1+dfsg-5
ii  libjs-jquery-ui 1.12.1+dfsg-8
ii  libjs-mathjax   2.7.9+dfsg-1
ii  libqt5core5a5.15.2+dfsg-5
ii  python3 3.9.2-3
ii  python3-bs4 4.9.3-1
ii  python3-decorator   4.4.2-2
ii  python3-distro  1.5.0-1
ii  python3-distutils   3.9.2-1
ii  python3-jsonschema  3.2.0-3
ii  python3-markdown3.3.4-1
ii  python3-pyaudio 0.2.11-1.3+b1
ii  python3-pyqt5   5.15.2+dfsg-3
ii  python3-pyqt5.qtwebchannel  5.15.2+dfsg-3
ii  python3-pyqt5.qtwebengine   5.15.2-2
ii  python3-requests2.25.1+dfsg-2
ii  python3-send2trash  1.6.0~b1+git20210122.2eb3242-1

Versions of packages anki recommends:
ii  python3-matplotlib  3.3.4-1

Versions of packages anki suggests:
pn  dvipng   
ii  lame 3.100-3
ii  mplayer  2:1.4+ds1-1

-- no debconf information