Anki 2.1.0 Beta 38 / 39 / 40 / 41 / 42

Damien Elmes's Avatar

Damien Elmes

01 May, 2018 05:28 AM

Hi all,

A new beta is available. Please see the beta page for more info:

https://apps.ankiweb.net/docs/beta.html

If you run into any issues, please let me know.

  1. 1 Posted by colinsky on 02 May, 2018 12:27 AM

    colinsky's Avatar

    following up from the Beta 37 thread...using the "angle" keyword appears to avoid the freezing problem I was experiencing.

  2. Support Staff 2 Posted by Damien Elmes on 02 May, 2018 01:41 AM

    Damien Elmes's Avatar

    Ok, that indicates a bug either in your video drivers, or Qt's OpenGL drivers.

  3. 3 Posted by colinsky on 02 May, 2018 01:58 AM

    colinsky's Avatar

    Understood. For the record, I experienced this freeze on two different
    machines (both Windows 10), both with different vintage AMD Radeon adapters
    (one notebook, one desktop).

  4. 4 Posted by Rasmus Underbje... on 02 May, 2018 10:32 AM

    Rasmus Underbjerg Pinnerup's Avatar
    • When switching to a different window and then back to the Anki editor, the cursor position is no longer moved to the bottom of the field.
    • Fix a field getting overwritten when showing duplicates, and catch similar errors.

    Excellent! Thank you :)

  5. 5 Posted by mnhende2 on 03 May, 2018 11:51 PM

    mnhende2's Avatar

    I am a bit ashamed to say that I have been using an older version of the beta and only just updated to the most recent beta. Since the upgrade, I am facing constant freezing, forcing me to have to do a forced shutdown. I can't work more than two minutes without a freeze. Are others facing this problem? I can't pattern it other than it happens a lot, it happens when I work quickly, and it happens with something new is executed (a new search, show a new answer, replay audio, etc). I'm going to try to pattern it more, but wanted to see if others are facing similar problems. Right now, I've just tested on the main machine I use (Dell, Win 10).

    I just quickly dropped back down to Beta 33 and tested for 30 minutes with no freezing. I'll test other versions and 38 again tomorrow, off to bed now.

  6. Support Staff 6 Posted by Damien Elmes on 04 May, 2018 03:52 AM

    Damien Elmes's Avatar

    Do you get the same behaviour when forcing 'angle' and 'software' as mentioned on the beta page?

    If that doesn't help, please try the previous betas between 33 and the latest to see which one triggers the problem - off the top of my head I can't think of a change that would cause this.

  7. 7 Posted by mnhende2 on 05 May, 2018 01:11 PM

    mnhende2's Avatar

    I have only been able to do some partial testing. Been buried at work. But I've tested 33 and 37 and am not getting the freezings (that lead to a crash or killing Anki), but I am on 38. I tried the angle and software solution and they did not solve it. But I want to do another test of all of these things, and to test on another computer, but just wanted to give an initial report.

  8. 8 Posted by snowtimeglass on 05 May, 2018 03:26 PM

    snowtimeglass's Avatar

    On Beta 38, freeze always happens when I try to open the card type editor with a particular card type. In contrast, the card type is opened properly on the editor of Beta 37.

  9. 9 Posted by Rasmus Underbje... on 05 May, 2018 03:31 PM

    Rasmus Underbjerg Pinnerup's Avatar

    I've noted recently (also in beta 37) that Anki sometimes freezes for some time and then completely shuts down (that is, disappears without any trace, not a proper shutdown). I think it always happens in connection with paste operations, but I'm not sure and I can't seem to reproduce it, so for now this is just a headsup.

  10. 10 Posted by Joe on 06 May, 2018 02:01 PM

    Joe's Avatar

    I have not been able to sync. My network monitor complains that:

    On May 6, 2018, Anki tried to establish a connection to ankiweb.net. The request was denied automatically during Silent Mode because of an invalid code signature.

  11. 11 Posted by July@5am on 06 May, 2018 02:34 PM

    July@5am's Avatar

    Sometimes anki doesn't open external links in a browser when the link is based on an image (it worked okay in 2.0 branch). No pop-up on the left, just nothing. When I noticed it, anki was still able to open plain text-based links. Example of non-working type of link below:

    <a class="link" href="http://tangorin.com/kanji/{{text:Kanji}}"><img width=16px" height="16px" src="_tangorin.png"></a>
    
    Those working text links also contain card elements – like {{text:Kanji}} above – so, I guess the main problem isn't here.

    In the editing template window all the links do work (seems like always) + the effect remains after its closing. Going back to the decks' view and reopening the deck with those links → still working links. However:

    Clicking on non-working link -> «E» (edit card) -> edit template -> close edit template window -> the main window waits for edit window to be closed even though it is closed already; buttons in non-working state (cannot go into decks view)
    Clicking on non-working link -> decks view -> unable to open any deck.

    Also, sometimes it also crashes like this (probably, it's not the only possible log, but the only I've got now):

    Current thread 0x00002fdc (most recent call first):
      File "aqt\fields.py", line 30 in __init__
      File "aqt\editor.py", line 220 in _onFields
      File "aqt\editor.py", line 342 in <lambda>
      File "aqt\__init__.py", line 302 in _run
      File "aqt\__init__.py", line 230 in run
      File "runanki", line 4 in <module>
    
  12. 12 Posted by July@5am on 06 May, 2018 03:17 PM

    July@5am's Avatar

    Answering with space hangs the program. Just switched to the new schedule, so maybe this is the reason. Having problems to get a trace, but probably this is it (update; this trace follows editing a card while reviewing → crash; w/ old scheduler):

      File "aqt\preferences.py", line 32 in __init__
      File "aqt\__init__.py", line 78 in open
      File "aqt\main.py", line 822 in onPrefs
      File "aqt\__init__.py", line 302 in _run
      File "aqt\__init__.py", line 230 in run
      File "runanki", line 4 in <module>
    

    Interesting that the last time I tried to check it, I've even heard the sound of the following card as I should, but the windows itself has frozen dead. Disabling the scheduler v2 solves reverses the problem, so space is working again.

    Please, if it's possible, change the color of the nightmode. #FFFFFF is too brutal, reminds me the internet of 90s. Or it would be great to see just a couple of alternative presets (including that nice color of the popular nightmode addon). Thanks.

    ps.
    Win10, 64.
    And I approve, there's some bug with pasting into cards' fields. I've had a crash couple of minutes ago after some pasting + simple reviewing. No trace.

  13. Support Staff 13 Posted by Damien Elmes on 07 May, 2018 05:17 AM

    Damien Elmes's Avatar

    Re pastes causing crashes, is there a pattern to it? For example, does avoiding copying/cutting text from Anki fields and only copying from external sources make the problem go away?

    snowtime: would you mind exporting 1 card that uses that note type to an .apkg so I can try to reproduce the problem?

    Joe: please contact your network monitor for assistance.

    July: I can not reproduce your first problem - clicking on the image opens the link for me.

    When you say "hangs the program", do you mean it is closing down? I would not expect the new scheduler to cause the program to crash. Is it repeatable enough that you can give me some specific steps to try?

  14. 14 Posted by snowtimeglass on 07 May, 2018 12:45 PM

    snowtimeglass's Avatar

    I've sent the file on a private discussion. :-)

  15. 15 Posted by July@5am on 09 May, 2018 10:49 AM

    July@5am's Avatar

    This comment was split into a new discussion: Failing links

    On my machine that link problem is constant, I can reproduce it easily. Probably you should also try to use this style.

    .link:hover {
      opacity: 0.8;
      color: white;
      width: 16px;
      height: 16px;
    }
    a:link {
      color:inherit;
      text-decoration: none;
    }
    

    You could also try to use some kanji if it matters. Here's one to test: 丁. As for the hanging, yes, it's closing down. Don't know if it was the new scheduler, but when I've turned it off «space» problem solved.

    upd: changed the link's image to a simple character; the same style left → working with no problems.

  16. Support Staff 16 Posted by Damien Elmes on 10 May, 2018 04:54 AM

    Damien Elmes's Avatar

    Windows users, please delete mpv.exe from the program folder if you've upgraded from a previous beta without uninstalling - if mpv.exe is the Anki folder, Anki may freeze when it encounters a sound tag. I'll change the next beta to ignore mpv.exe if it exists.

  17. Support Staff 17 Posted by Damien Elmes on 10 May, 2018 06:58 AM

    Damien Elmes's Avatar

    Beta 39 is now available.

  18. 18 Posted by mnhende2 on 10 May, 2018 09:19 AM

    mnhende2's Avatar

    Thanks Damien. I have lots of cards with sound tags, so this might
    explain the extreme freezing I was encountering. I've been buried at
    work, and haven't been able to test much. But I can confirm that up to
    Beta 37 these problems didn't exist. I'll start testing Beta 39 today.
    Also, in the Betas on my computers, it takes a long time, for the very
    first audio file to load/play. Maybe up to 20 or 30 seconds on some
    computers even. After the first audio file plays, then subsequent files
    load and play without delay. I don't actually know what is happening in
    the background, but it feels like the audio player is needing to load,
    open, etc for the first audio file, then once it is open, it
    subsequently runs smoothly. That is probably not technically correct,
    but nevertheless there is a long delay on the first card with audio. Is
    there anything that can be done to overcome this delay? As part of Anki
    opening, could it load and play an almost no-audible sound so that it is
    ready to play the first audio file?

  19. Support Staff 19 Posted by Damien Elmes on 11 May, 2018 01:20 AM

    Damien Elmes's Avatar

    Does the delay exist on beta 39? If so, do you see it when any antivirus software is temporarily disabled?

  20. 20 Posted by John Smith on 11 May, 2018 07:27 AM

    John Smith's Avatar

    When dragging decks, the main page does not scroll.
    Windows 10
    Anki Beta39

  21. 21 Posted by Geovani on 12 May, 2018 01:49 PM

    Geovani's Avatar

    Suggestion: The error message that Anki gives when it can't sync because there's no Internet connection is one of those "scary messages" that seems a bit too much, because not having a stable connection that works all all the time is common in many places. It's not that I want to manually disable the default Automatically sync on profile open/close, because I do want it to sync if I have a connection; I just think the error message perhaps could be simpler, cleaner, since that's a very common problem.

    For reference, this is the message:

    Syncing failed:
    Traceback (most recent call last):
      File "site-packages/urllib3/connection.py", line 141, in _new_conn
      File "site-packages/urllib3/util/connection.py", line 60, in create_connection
      File "socket.py", line 743, in getaddrinfo
    socket.gaierror: [Errno -3] Temporary failure in name resolution
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "site-packages/urllib3/connectionpool.py", line 601, in urlopen
      File "site-packages/urllib3/connectionpool.py", line 346, in _make_request
      File "site-packages/urllib3/connectionpool.py", line 850, in _validate_conn
      File "site-packages/urllib3/connection.py", line 284, in connect
      File "site-packages/urllib3/connection.py", line 150, in _new_conn
    urllib3.exceptions.NewConnectionError: <urllib3.connection.VerifiedHTTPSConnection object at 0x7fd4790ad320>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "site-packages/requests/adapters.py", line 440, in send
      File "site-packages/urllib3/connectionpool.py", line 639, in urlopen
      File "site-packages/urllib3/util/retry.py", line 388, in increment
    urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='sync.ankiweb.net', port=443): Max retries exceeded with url: /sync/meta (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd4790ad320>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "aqt/sync.py", line 376, in _sync
      File "aqt/sync.py", line 356, in _abortingSync
      File "anki/sync.py", line 41, in sync
      File "anki/sync.py", line 623, in meta
      File "anki/sync.py", line 582, in req
      File "anki/sync.py", line 476, in post
      File "site-packages/requests/sessions.py", line 549, in post
      File "site-packages/requests/sessions.py", line 502, in request
      File "site-packages/requests/sessions.py", line 612, in send
      File "site-packages/requests/adapters.py", line 504, in send
    requests.exceptions.ConnectionError: HTTPSConnectionPool(host='sync.ankiweb.net', port=443): Max retries exceeded with url: /sync/meta (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fd4790ad320>: Failed to establish a new connection: [Errno -3] Temporary failure in name resolution',))
    
  22. 22 Posted by mnhende2 on 14 May, 2018 08:03 AM

    mnhende2's Avatar

    @Damien (responding to post #19): With the Beta 39 going back to mplayer, it no longer has the
    delay. The delay seems to have only been related to MPV.

  23. 23 Posted by mnhende2 on 14 May, 2018 06:23 PM

    mnhende2's Avatar

    This is not an error or bug, but an inconsistency. The five menu items at the top of the screen have the following shortcuts:
    Decks: D
    Add: A
    Browse: B
    Stats: Shift + S
    Sync: Y

    I wonder if the Stats shortcut should just become "S" to be consistent with the other shortcuts.

    In a similar way, Import is Ctrl + Shift + I , but Export is just Ctrl + E. Most sub-menu options are Ctrl + Shift, so I wonder if for consistency Export should have a Shift included.

  24. Support Staff 24 Posted by Damien Elmes on 15 May, 2018 11:43 AM

    Damien Elmes's Avatar

    S is used to move between the decks list, overview, and study screen. ctrl+i conflicts with another shortcut on Macs.

  25. 25 Posted by Tobias Predel on 17 May, 2018 02:54 PM

    Tobias Predel's Avatar

    Hello Damien,

    thanks for fixing the focus issue. Unfortunately it brings up another issue:
    When I record (F5) in order to add a new card, then focus will automatically switch back to the main window after a certain delay but normally you want to stay in the new card window. Can you reproduce this? Using latest git checkout on Linux. Thanks for your work. People should be glad about it instead of writing great wishlists.

    Regards,
    Tobias

  26. 26 Posted by Geovani on 17 May, 2018 07:49 PM

    Geovani's Avatar

    S is used to move between the decks list, overview, and study screen.

    What about using T for Stats, following the pattern of Y for Sync?

  27. Support Staff 27 Posted by Damien Elmes on 31 May, 2018 06:43 AM

    Damien Elmes's Avatar

    Beta 40 is now available.

  28. 28 Posted by sultanmajid on 05 Jun, 2018 01:06 AM

    sultanmajid's Avatar

    I'm having a problem with putting a video clip in my cards while on Version 2.1.0beta40
    Qt 5.9.2 PyQt 5.9 on Windows 10 1803.

    The video plays fine when I drag the mp4 into the note editor, but it does not play with the card comes up during a review. I've recorded a short video showing you what I'm experiencing.

  29. Support Staff 29 Posted by Damien Elmes on 05 Jun, 2018 08:36 AM

    Damien Elmes's Avatar

    Perhaps you have not included that field in the front or back of the card template.

  30. 30 Posted by 8f35f2ff on 14 Jun, 2018 12:00 PM

    8f35f2ff's Avatar

    FYI the JavaScript bug I reported in the previous thread[1] is still there in beta 40.

    (Also, the CookieMonster plugin makes all of my cards which have JavaScript stop working, but I'll report that separately.)

    [1] https://anki.tenderapp.com/discussions/beta-testing/1000-anki-210-beta-36/page/2#comment_44970038

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac