Anki - error with executing Latex equations
up vote
0
down vote
favorite
So I have installed Anki and want to show latex equations in it. Downloaded Miktex and ensured that new packages will be installed on the fly. When I run an ANKI with an equation the following error shows up (after a lot of text):
Sorry, but dvipng did not succeed.
So I also downloaded an extra add on found in ANKI (https://ankiweb.net/shared/info/937148547). Still gives same error.
When I open up the log file from the error it states the following:
2017-03-17 08:23:28,852+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:28,852+0100 FATAL dvipng - Info:
2017-03-17 08:23:28,852+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:28,852+0100 FATAL dvipng - Line: 45
2017-03-17 08:23:29,775+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:29,775+0100 FATAL dvipng - Info:
2017-03-17 08:23:29,775+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:29,775+0100 FATAL dvipng - Line: 45
Can anybody help??
miktex anki
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
add a comment |
up vote
0
down vote
favorite
So I have installed Anki and want to show latex equations in it. Downloaded Miktex and ensured that new packages will be installed on the fly. When I run an ANKI with an equation the following error shows up (after a lot of text):
Sorry, but dvipng did not succeed.
So I also downloaded an extra add on found in ANKI (https://ankiweb.net/shared/info/937148547). Still gives same error.
When I open up the log file from the error it states the following:
2017-03-17 08:23:28,852+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:28,852+0100 FATAL dvipng - Info:
2017-03-17 08:23:28,852+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:28,852+0100 FATAL dvipng - Line: 45
2017-03-17 08:23:29,775+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:29,775+0100 FATAL dvipng - Info:
2017-03-17 08:23:29,775+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:29,775+0100 FATAL dvipng - Line: 45
Can anybody help??
miktex anki
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
2
Welcome to TeX.SX! Please try to update MikTeX with its update manager. Are there any errors?
– TeXnician
Mar 17 '17 at 7:53
Do the update in both Admin and User mode (there will be 'MikTeX Update' in user mode and 'MikTeX Update (Admin)' in amdin mode). Due to MikTeX's update system you might have to run both updaters twice. The problem you describe seems as though the on-the-fly installation cannot open the installation window. I have seen this happening to some people. Do you have the install package on the fly option set to 'yes' or 'ask me first'? If you are using 'ask me first', does it help to go over to 'yes'?
– moewe
Mar 17 '17 at 9:12
@TeXnician There are no errrors when I update it. There used to be (like before I made the post) but then I reinstalled MikTex and there now are none.
– Mia Jakobsen
Mar 21 '17 at 12:24
@moewe I have already set both to "yes" and it makes no difference.
– Mia Jakobsen
Mar 21 '17 at 12:26
add a comment |
up vote
0
down vote
favorite
up vote
0
down vote
favorite
So I have installed Anki and want to show latex equations in it. Downloaded Miktex and ensured that new packages will be installed on the fly. When I run an ANKI with an equation the following error shows up (after a lot of text):
Sorry, but dvipng did not succeed.
So I also downloaded an extra add on found in ANKI (https://ankiweb.net/shared/info/937148547). Still gives same error.
When I open up the log file from the error it states the following:
2017-03-17 08:23:28,852+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:28,852+0100 FATAL dvipng - Info:
2017-03-17 08:23:28,852+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:28,852+0100 FATAL dvipng - Line: 45
2017-03-17 08:23:29,775+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:29,775+0100 FATAL dvipng - Info:
2017-03-17 08:23:29,775+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:29,775+0100 FATAL dvipng - Line: 45
Can anybody help??
miktex anki
So I have installed Anki and want to show latex equations in it. Downloaded Miktex and ensured that new packages will be installed on the fly. When I run an ANKI with an equation the following error shows up (after a lot of text):
Sorry, but dvipng did not succeed.
So I also downloaded an extra add on found in ANKI (https://ankiweb.net/shared/info/937148547). Still gives same error.
When I open up the log file from the error it states the following:
2017-03-17 08:23:28,852+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:28,852+0100 FATAL dvipng - Info:
2017-03-17 08:23:28,852+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:28,852+0100 FATAL dvipng - Line: 45
2017-03-17 08:23:29,775+0100 FATAL dvipng - GUI framework cannot be initialized.
2017-03-17 08:23:29,775+0100 FATAL dvipng - Info:
2017-03-17 08:23:29,775+0100 FATAL dvipng - Source: LibrariesMiKTeXUIQtmikuiqt.cpp
2017-03-17 08:23:29,775+0100 FATAL dvipng - Line: 45
Can anybody help??
miktex anki
miktex anki
edited Apr 5 '17 at 16:24
gernot
26.4k22960
26.4k22960
asked Mar 17 '17 at 7:50
Mia Jakobsen
11
11
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
bumped to the homepage by Community♦ yesterday
This question has answers that may be good or bad; the system has marked it active so that they can be reviewed.
2
Welcome to TeX.SX! Please try to update MikTeX with its update manager. Are there any errors?
– TeXnician
Mar 17 '17 at 7:53
Do the update in both Admin and User mode (there will be 'MikTeX Update' in user mode and 'MikTeX Update (Admin)' in amdin mode). Due to MikTeX's update system you might have to run both updaters twice. The problem you describe seems as though the on-the-fly installation cannot open the installation window. I have seen this happening to some people. Do you have the install package on the fly option set to 'yes' or 'ask me first'? If you are using 'ask me first', does it help to go over to 'yes'?
– moewe
Mar 17 '17 at 9:12
@TeXnician There are no errrors when I update it. There used to be (like before I made the post) but then I reinstalled MikTex and there now are none.
– Mia Jakobsen
Mar 21 '17 at 12:24
@moewe I have already set both to "yes" and it makes no difference.
– Mia Jakobsen
Mar 21 '17 at 12:26
add a comment |
2
Welcome to TeX.SX! Please try to update MikTeX with its update manager. Are there any errors?
– TeXnician
Mar 17 '17 at 7:53
Do the update in both Admin and User mode (there will be 'MikTeX Update' in user mode and 'MikTeX Update (Admin)' in amdin mode). Due to MikTeX's update system you might have to run both updaters twice. The problem you describe seems as though the on-the-fly installation cannot open the installation window. I have seen this happening to some people. Do you have the install package on the fly option set to 'yes' or 'ask me first'? If you are using 'ask me first', does it help to go over to 'yes'?
– moewe
Mar 17 '17 at 9:12
@TeXnician There are no errrors when I update it. There used to be (like before I made the post) but then I reinstalled MikTex and there now are none.
– Mia Jakobsen
Mar 21 '17 at 12:24
@moewe I have already set both to "yes" and it makes no difference.
– Mia Jakobsen
Mar 21 '17 at 12:26
2
2
Welcome to TeX.SX! Please try to update MikTeX with its update manager. Are there any errors?
– TeXnician
Mar 17 '17 at 7:53
Welcome to TeX.SX! Please try to update MikTeX with its update manager. Are there any errors?
– TeXnician
Mar 17 '17 at 7:53
Do the update in both Admin and User mode (there will be 'MikTeX Update' in user mode and 'MikTeX Update (Admin)' in amdin mode). Due to MikTeX's update system you might have to run both updaters twice. The problem you describe seems as though the on-the-fly installation cannot open the installation window. I have seen this happening to some people. Do you have the install package on the fly option set to 'yes' or 'ask me first'? If you are using 'ask me first', does it help to go over to 'yes'?
– moewe
Mar 17 '17 at 9:12
Do the update in both Admin and User mode (there will be 'MikTeX Update' in user mode and 'MikTeX Update (Admin)' in amdin mode). Due to MikTeX's update system you might have to run both updaters twice. The problem you describe seems as though the on-the-fly installation cannot open the installation window. I have seen this happening to some people. Do you have the install package on the fly option set to 'yes' or 'ask me first'? If you are using 'ask me first', does it help to go over to 'yes'?
– moewe
Mar 17 '17 at 9:12
@TeXnician There are no errrors when I update it. There used to be (like before I made the post) but then I reinstalled MikTex and there now are none.
– Mia Jakobsen
Mar 21 '17 at 12:24
@TeXnician There are no errrors when I update it. There used to be (like before I made the post) but then I reinstalled MikTex and there now are none.
– Mia Jakobsen
Mar 21 '17 at 12:24
@moewe I have already set both to "yes" and it makes no difference.
– Mia Jakobsen
Mar 21 '17 at 12:26
@moewe I have already set both to "yes" and it makes no difference.
– Mia Jakobsen
Mar 21 '17 at 12:26
add a comment |
1 Answer
1
active
oldest
votes
up vote
0
down vote
I realize this is kind of an old question, but I just struggled with the same and thought I'd share my answer.
The error message seen in the log file FATAL dvipng - GUI framework cannot be initialized
I believe is MiKTeX trying to load the "install-missing-package?" prompt-window, but is unable to load its GUI when it's actioned through Anki.
What worked for me was to navigate to the .tex Anki is trying to compile, in powershell, and call dvipng manually from the commandline:
cd ~/AppData/Local/Temp/anki_temp/
dvipng tmp.tex
This trigged the Install package window, and let me install the missing package.
After installing the missing package Anki and latex worked together like they should :-)
add a comment |
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
0
down vote
I realize this is kind of an old question, but I just struggled with the same and thought I'd share my answer.
The error message seen in the log file FATAL dvipng - GUI framework cannot be initialized
I believe is MiKTeX trying to load the "install-missing-package?" prompt-window, but is unable to load its GUI when it's actioned through Anki.
What worked for me was to navigate to the .tex Anki is trying to compile, in powershell, and call dvipng manually from the commandline:
cd ~/AppData/Local/Temp/anki_temp/
dvipng tmp.tex
This trigged the Install package window, and let me install the missing package.
After installing the missing package Anki and latex worked together like they should :-)
add a comment |
up vote
0
down vote
I realize this is kind of an old question, but I just struggled with the same and thought I'd share my answer.
The error message seen in the log file FATAL dvipng - GUI framework cannot be initialized
I believe is MiKTeX trying to load the "install-missing-package?" prompt-window, but is unable to load its GUI when it's actioned through Anki.
What worked for me was to navigate to the .tex Anki is trying to compile, in powershell, and call dvipng manually from the commandline:
cd ~/AppData/Local/Temp/anki_temp/
dvipng tmp.tex
This trigged the Install package window, and let me install the missing package.
After installing the missing package Anki and latex worked together like they should :-)
add a comment |
up vote
0
down vote
up vote
0
down vote
I realize this is kind of an old question, but I just struggled with the same and thought I'd share my answer.
The error message seen in the log file FATAL dvipng - GUI framework cannot be initialized
I believe is MiKTeX trying to load the "install-missing-package?" prompt-window, but is unable to load its GUI when it's actioned through Anki.
What worked for me was to navigate to the .tex Anki is trying to compile, in powershell, and call dvipng manually from the commandline:
cd ~/AppData/Local/Temp/anki_temp/
dvipng tmp.tex
This trigged the Install package window, and let me install the missing package.
After installing the missing package Anki and latex worked together like they should :-)
I realize this is kind of an old question, but I just struggled with the same and thought I'd share my answer.
The error message seen in the log file FATAL dvipng - GUI framework cannot be initialized
I believe is MiKTeX trying to load the "install-missing-package?" prompt-window, but is unable to load its GUI when it's actioned through Anki.
What worked for me was to navigate to the .tex Anki is trying to compile, in powershell, and call dvipng manually from the commandline:
cd ~/AppData/Local/Temp/anki_temp/
dvipng tmp.tex
This trigged the Install package window, and let me install the missing package.
After installing the missing package Anki and latex worked together like they should :-)
answered Oct 24 at 17:31
Christian Fosli
1
1
add a comment |
add a comment |
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function () {
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f358911%2fanki-error-with-executing-latex-equations%23new-answer', 'question_page');
}
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function () {
StackExchange.helpers.onClickDraftSave('#login-link');
});
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
2
Welcome to TeX.SX! Please try to update MikTeX with its update manager. Are there any errors?
– TeXnician
Mar 17 '17 at 7:53
Do the update in both Admin and User mode (there will be 'MikTeX Update' in user mode and 'MikTeX Update (Admin)' in amdin mode). Due to MikTeX's update system you might have to run both updaters twice. The problem you describe seems as though the on-the-fly installation cannot open the installation window. I have seen this happening to some people. Do you have the install package on the fly option set to 'yes' or 'ask me first'? If you are using 'ask me first', does it help to go over to 'yes'?
– moewe
Mar 17 '17 at 9:12
@TeXnician There are no errrors when I update it. There used to be (like before I made the post) but then I reinstalled MikTex and there now are none.
– Mia Jakobsen
Mar 21 '17 at 12:24
@moewe I have already set both to "yes" and it makes no difference.
– Mia Jakobsen
Mar 21 '17 at 12:26