GithubHelp home page GithubHelp logo

Comments (14)

Vilhelm-Ian avatar Vilhelm-Ian commented on July 23, 2024 1

language.zip
I am not using an official anki version I compiled it from source when you released the first version of fsrs4anki. I am happy with the algorithm I have less reviews now

from fsrs4anki.

Vilhelm-Ian avatar Vilhelm-Ian commented on July 23, 2024 1

I tried with a different browser it worked. Look how few reviews I will have with fsrs4anki
image

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024 1

I tried with a different browser it worked. Look how few reviews I will have with fsrs4anki

Good news! And the figure shows that FSRS reduces the reviews nearly 30% than Anki.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

Could you help me test the fix version?

from fsrs4anki.

Vilhelm-Ian avatar Vilhelm-Ian commented on July 23, 2024
---------------------------------------------------------------------------
BadZipFile                                Traceback (most recent call last)
[<ipython-input-4-80db87752951>](https://localhost:8080/#) in <module>
     14 # Extract the collection file or deck file to get the .anki21 database.
     15 with zipfile.ZipFile(f'./{filename}', 'r') as zip_ref:
---> 16     zip_ref.extractall('./')
     17     print("Extract successfully!")
     18 if os.path.isfile("collection.anki21b"):

2 frames
[/usr/lib/python3.7/zipfile.py](https://localhost:8080/#) in open(self, name, mode, pwd, force_zip64)
   1522             fheader = struct.unpack(structFileHeader, fheader)
   1523             if fheader[_FH_SIGNATURE] != stringFileHeader:
-> 1524                 raise BadZipFile("Bad magic number for file header")
   1525 
   1526             fname = zef_file.read(fheader[_FH_FILENAME_LENGTH])

BadZipFile: Bad magic number for file header

when trying with an .apkg file I got the above error

BadZipFile: File is not a zip file

when I tried witth .colpkg file I got the above error

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

Please use the older version of Anki to export the .colpkg file.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

image

from fsrs4anki.

Vilhelm-Ian avatar Vilhelm-Ian commented on July 23, 2024

Please use the older version of Anki to export the .colpkg file.

I get the error with apkg also. And I marked that option

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

Please use the older version of Anki to export the .colpkg file.

I get the error with apkg also. And I marked that option

Could you share the apkg file with me? I assume it was caused by some new features in the latest version of Anki. By the way, which version did you use?

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

So weird. I use google colab to execute the optimizer with your language deck file. It works well. I don't know what caused the error in your case. I assume the colab is the same for us?

image

from fsrs4anki.

Vilhelm-Ian avatar Vilhelm-Ian commented on July 23, 2024

it should. I now this shouldn't affect the result maybe because I am using linux

from fsrs4anki.

tjbrn avatar tjbrn commented on July 23, 2024

Had same error. Tried with a different browser and worked.

from fsrs4anki.

L-M-Sherlock avatar L-M-Sherlock commented on July 23, 2024

Had same error.

Which browser did you use?

from fsrs4anki.

tjbrn avatar tjbrn commented on July 23, 2024

Had same error.

Which browser did you use?

FIrefox. Maybe some addon was the source of the error.

from fsrs4anki.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.