Bibtex.exe Windows Api Error 161 The Specified Path Is Invalid
Contents |
from GoogleSign inHidden fieldsSearch for groups or messages
here for a quick overview of the site Help Center Detailed answers to any questions you might have Meta Discuss the workings and policies of this site About Us Learn more about Stack Overflow the company Business Learn more about hiring developers or posting ads with us TeX - LaTeX Questions Tags Users Badges Unanswered Ask Question _ TeX - LaTeX Stack Exchange is a question and answer site for users of https://groups.google.com/d/topic/comp.text.tex/g-atLBpC1hc TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute: Sign up Here's how it works: Anybody can ask a question Anybody can answer The best answers are voted up and rise to the top Windows API error 1392 using hyperref up vote 0 down vote favorite When I compile the following very http://tex.stackexchange.com/questions/230795/windows-api-error-1392-using-hyperref M(N)WE with pdflatex I get the error message pdflatex: Windows API error 1392: The file or directory is corrupted and unreadable. pdflatex: Data: C:\Program Files (x86)\MiKTeX 2.9\tex/generic\dehyph-exptl Compilation exited abnormally with code 1 at Sun Mar 01 11:09:12 The code: \documentclass{article} \usepackage{hyperref} \begin{document} Hello, world \end{document} When I comment out \usepackage{hyperref} compilation is OK. It's also OK with \usepackage[draft]{hyperref}. Explicitly asking for \usepackage[pdftex]{hyperref} doesn't help. This started happening several days ago; there has been no change I know of to my environment. Edit. The same Windows error occurs when I try to compile a more complex document that does not use hyperref. Some other package is probably calling for file C:\Program Files (x86)\MiKTeX 2.9\tex/generic\dehyph-exptl Here's (most of) the terminal output for the example above. I can provide the full log file if that would help. -*- mode: compilation; default-directory: "~/tex/" -*- Compilation started at Sun Mar 01 11:14:07 pdflatex error1392 This is pdfTeX, Version 3.1415926-2.5-1.40.14 (MiKTeX 2.9) entering extended mode (c:\eb\tex\error1392.tex LaTeX2e <2011/06/27> Babel
SOMETHING to do with bibtex... Specifically the bibtex that is called by authorindex http://compgroups.net/comp.text.tex/authorindex-miktex-and-api-error/1925677 via Windows API. If I run authorindex on a drive other than the drive where \texmf is located, I get this strange error: Z:\My Documents\School\MastersThesis>authorindex optimal_foraging_theory bibtex: Windows API error 161: The specified path is invalid. BibTeX error. Aborting leaving all temporary files _autidx_.* If I copy that "MastersThesis" directory to my windows api "C" drive, I get this: C:\Documents and Settings\pavlict.ECE\Desktop \MastersThesis>authorindex optimal_foraging_theory This is BibTeX, Version 0.99c (MiKTeX 2.5) The top-level auxiliary file: _autidx_.aux The style file: _autidx_.bst Database file #1: optimal_foraging_theory.bib Database file #2: _autidx_.bib I thought this might have been a problem with some hard coding of pathnames into authorindex.exe, so I installed windows api error the Perl script and setup a BATch file to run it. Strangely, I get the same error on the Z drive: Z:\My Documents\School\MastersThesis>authorindex-perl optimal_foraging_theory bibtex: Windows API error 161: The specified path is invalid. BibTeX error. Aborting leaving all temporary files _autidx_.* and on the C drive: C:\Documents and Settings\pavlict.ECE\Desktop \MastersThesis>authorindex-perl opt imal_foraging_theory This is BibTeX, Version 0.99c (MiKTeX 2.5) The top-level auxiliary file: _autidx_.aux The style file: _autidx_.bst Database file #1: optimal_foraging_theory.bib Database file #2: _autidx_.bib Note that bibtex works on both drives: Z:\My Documents\School\MastersThesis>bibtex optimal_foraging_theory This is BibTeX, Version 0.99c (MiKTeX 2.5) The top-level auxiliary file: optimal_foraging_theory.aux The style file: abbrvnat.bst A level-1 auxiliary file: oft_ch0_ack.aux A level-1 auxiliary file: oft_ch0_vita.aux A level-1 auxiliary file: oft_ch1_intro.aux A level-1 auxiliary file: oft_ch2_model.aux A level-1 auxiliary file: oft_ch3_optimization_objectives.aux A level-1 auxiliary file: oft_ch4_optimization_results.aux A level-1 auxiliary file: oft_ch5_conclusion.aux A level-1 auxiliary file: oft_zapp_markov_encounter_sto_limits.aux Database file #1: optimal_foraging_theory.bib Warning--empty year in PP06 Warning--empty year in PP06 Warning--empty ye
be down. Please try the request again. Your cache administrator is webmaster. Generated Sun, 02 Oct 2016 09:47:01 GMT by s_hv996 (squid/3.5.20)