Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MikTeX Update Wizard break with API 3 Error #52

Closed
Matthiasss opened this issue Jan 30, 2018 · 9 comments
Closed

MikTeX Update Wizard break with API 3 Error #52

Matthiasss opened this issue Jan 30, 2018 · 9 comments
Assignees

Comments

@Matthiasss
Copy link

Bug report

The last update Installation breaks with Windows (10) API 3 Error. Image attached. The error is, that Miktex will start mpm from the path F:\MiKTeX\miktex/bin/x64\mpm.exe.
But the real path is F:\MiKTeX\texmf\bin\x64\mpm.exe.
I have nothing changed in installation before update and the path is unchanged written in Windows PATH.
Now MiKteX doesnt start started from WinEdt.

miktex-snap

update.log

Matthias

@edocevoli
Copy link
Member

How did you start the update wizard? From the Windows start menu?

I am asking because you mentioned WinEdt.

@edocevoli edocevoli self-assigned this Jan 30, 2018
@edocevoli edocevoli added the bug label Jan 30, 2018
@Matthiasss
Copy link
Author

Yes, I started it from start menu as Admin.

@Matthiasss
Copy link
Author

Oh sorry, this was a mistake: I didn't know what "Close and comment" means ... I'm still waiting for help.

@edocevoli
Copy link
Member

edocevoli commented Jan 30, 2018

I will try to create an installation like yours in order to reproduce the bug. Can you guide me how to do it? I think the main installation directory will be F:\MiKTeX\texmf. Anything else I have to consider?

@edocevoli
Copy link
Member

What I don't yet understand: you say the mpm executable can be found in F:\MiKTeX\texmf\bin\x64\mpm.exe. But if if F:\MiKTeX\texmf is your main installation directory, then the path should be F:\MiKTeX\texmf\miktex\bin\x64\mpm.exe. I think you have done something special. Can you show the output of initexmf --report?

@Matthiasss
Copy link
Author

Matthiasss commented Jan 30, 2018

You are right: F:\MiKTeX\texmf\miktex\bin\x64\mpm.exe is the right path: I typed it manually and forgot the miktex part ...

initexmf --report.txt

@edocevoli
Copy link
Member

Thank you. I was able to reproduce the bug and will make a fix available later this week.

As a workaround: you can start the update wizard directly:

F:\MiKTeX\texmf\miktex\bin\x64\internal\miktex-update_admin.exe

The bug only occurs if MiKTeX is installed in a path ending with \texmf.

@Matthiasss
Copy link
Author

Thank you for help.

@edocevoli
Copy link
Member

I think this has been fixed. The new updater finish with out an error message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants