MiKTeX and proTeXtWindows API Error during Package Installation

Information and discussion about MikTeX distribution for Windows and the related proTeXt: Installing, updating, configuring
Post Reply
ASHoudini
Posts: 1
Joined: Fri Aug 05, 2011 4:17 am

Windows API Error during Package Installation

Post by ASHoudini »

Hello,

I'm very new to LaTeX/MikTeX. I'm running 0.4.3 TeXworks / MiKTeX 2.9 64-bit on Windows 7, and I'm trying to use tikz to make a flowchart.

Using the following code, I tried to install the necessary packages using TeXworks to run the following code in "processing mode" pdfLaTex+MakeIndex+BibTeX:

Code: Select all

\documentclass{article}

\usepackage[latin1]{inputenc}
\usepackage{tikz}

\begin{document}
\end{document}
Everything seemed to be ok (it prompted me to install something that looked like tikz, then did so), but then it asked to install everyshi.sty, and subsequently failed with the following output:

Code: Select all

======================================================================
starting package maintenance...
installation directory: "C:\Program Files\MiKTeX 2.9"
package repository: ftp://indian.cse.msu.edu/pub/mirrors/CTAN/systems/win32/miktex/tm/packages/
lightweight database digest: 335539a044ad308b9c0a4e34848dc7c1
going to download 80552 bytes
going to install 14 file(s) (1 package(s))
downloading ftp://indian.cse.msu.edu/pub/mirrors/CTAN/systems/win32/miktex/tm/packages/ms.tar.lzma...
80552 bytes, 6.54 KB/Sec
extracting files from ms.tar.lzma...
pdflatex.EXE: Windows API error 87: The parameter is incorrect.

pdflatex.EXE: Data: C:\ProgramData\MiKTeX\2.9\miktex/data/le\be48a8a88e3570f31e8be8fd4a43a2fd.fndb
======================================================================


! LaTeX Error: File `everyshi.sty' not found.

Type X to quit or <RETURN> to proceed,
or enter new name. (Default extension: sty)
I googled around a little bit for what I thought might be identifying features of this problem (i.e. everyshi.sty, Windows API Error 87). There seems to be a fair amount of chatter about both, but the fixes I understood didn't work and I don't really know enough to generalize the others to fit my exact situation.

How can I get this to render a blank page (that IS what it should do, right)? Thanks for your help, and I hope I've posted in the right place.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
svanan
Posts: 3
Joined: Thu Dec 15, 2011 4:46 pm

Re: Windows API Error during Package Installation

Post by svanan »

Hi,

1. Go to your MiKTex Package manager
2. Look for and install a package called "ms"

See if MiKTex complaining again.

Wish you well.

rgds
Saravanan Kandasamy
fedecon15L
Posts: 1
Joined: Wed May 09, 2012 4:58 pm

Re: Windows API Error during Package Installation

Post by fedecon15L »

Installing the "ms" package worked for me, too. Thanks! (Your effective solution made my hours of futile solutions worthwhile.)
Post Reply