## LaTeX forum ⇒ BibTeX, biblatex and biber ⇒ IEEEtran | Error by "Missing Item" in Bibliography Topic is solved

Information and discussion about BiBTeX - the bibliography tool for LaTeX documents.
damien
Posts: 2
Joined: Wed Nov 26, 2008 8:23 am

### IEEEtran | Error by "Missing Item" in Bibliography

Hello all,

I am trying to migrate to LaTeX, using Kile under Ubuntu 8.04.

I am attempting to modify the example IEEE "bare_jrbl.tex" file to use the "IEEEexample.bib" file supplied - that is, I want to use a separate bibliography and want to rule out my own bibtex file as the problem.

I have change the tex file as follows. I have commented out the following, and added the following below:

% can use a bibliography generated by BibTeX as a .bbl file% BibTeX documentation can be easily obtained at:% http://www.ctan.org/tex-archive/biblio/bibtex/contrib/doc/% The IEEEtran BibTeX style support page is at:% http://www.michaelshell.org/tex/ieeetran/bibtex/\bibliographystyle{IEEEtran}% argument is your BibTeX string definitions and bibliography database(s)\bibliography{./IEEEexample}%% <OR> manually copy in the resultant .bbl file% set second argument of \begin to the number of references% (used to reserve space for the reference number labels box)% \begin{thebibliography}{1} % \bibitem{IEEEhowto:kopka}% H.~Kopka and P.~W. Daly, \emph{A Guide to \LaTeX}, 3rd~ed.\hskip 1em plus%   0.5em minus 0.4em\relax Harlow, England: Addison-Wesley, 1999. % \end{thebibliography}

And, I have added the following citation in the main section:

% Here we have the typical use of a "T" for an initial drop letter% and "HIS" in caps to complete the first word.\IEEEPARstart{T}{his} demo file is intended to serve as a starter file''for IEEE journal papers produced under \LaTeX\ usingIEEEtran.cls version 1.7 and later.% You must have at least 2 lines in the paragraph with the drop letter% (should never be an issue)I wish you the best of success. %%%%%%%%% ADDED LINE BELOW %%%%%%%%%%%%%\cite{IEEEwebsite}

However, I get the following error message in the window below:
[LaTeX] bare_jrnl.tex => bare_jrnl.dvi (latex)[LaTeX] finished with exit status 1./bare_jrnl.tex:525: Citation IEEEwebsite' on page 1 undefined on input line 525../bare_jrnl.bbl:24:Something's wrong--perhaps a missing \item. \end{thebibliography}./bare_jrnl.tex:0: There were undefined references.[LaTeX] 1 error, 2 warnings, 0 badboxes

And the following bbl file gets generated:
% Generated by IEEEtran.bst, version: 1.12 (2007/01/11)\begin{thebibliography}{0}\providecommand{\url}[1]{#1}\csname url@samestyle\endcsname\providecommand{\newblock}{\relax}\providecommand{\bibinfo}[2]{#2}\providecommand{\BIBentrySTDinterwordspacing}{\spaceskip=0pt\relax}\providecommand{\BIBentryALTinterwordstretchfactor}{4}\providecommand{\BIBentryALTinterwordspacing}{\spaceskip=\fontdimen2\font plus\BIBentryALTinterwordstretchfactor\fontdimen3\font minus   \fontdimen4\font\relax}\providecommand{\BIBforeignlanguage}[2]{{%\expandafter\ifx\csname l@#1\endcsname\relax\typeout{** WARNING: IEEEtran.bst: No hyphenation pattern has been}%\typeout{** loaded for the language #1'. Using the pattern for}%\typeout{** the default language instead.}%\else\language=\csname l@#1\endcsname\fi#2}}\providecommand{\BIBdecl}{\relax}\BIBdecl \end{thebibliography}

And finally, if it helps anyone, the following latex output gets generated
**********     LaTeX output: *****     cd '/home/damien/phd/Publications/templates/IEEE'*****     latex -interaction=nonstopmode 'bare_jrnl.tex'*****This is pdfTeXk, Version 3.141592-1.40.3 (Web2C 7.5.6)  %&-line parsing enabled.entering extended mode(./bare_jrnl.texLaTeX2e <2005/12/01>Babel <v3.8h> and hyphenation patterns for english, usenglishmax, dumylang, nohyphenation, arabic, farsi, croatian, ukrainian, russian, bulgarian, czech, slovak, danish, dutch, finnish, basque, french, german, ngerman, ibycus, greek, monogreek, ancientgreek, hungarian, italian, latin, mongolian, norsk, icelandic, interlingua, turkish, coptic, romanian, welsh, serbian, slovenian, estonian, esperanto, uppersorbian, indonesian, polish, portuguese, spanish, catalan, galician, swedish, ukenglish, loaded.(./IEEEtran.clsDocument Class: IEEEtran 2007/03/05 V1.7a by Michael Shell-- See the "IEEEtran_HOWTO" manual for usage information.-- http://www.michaelshell.org/tex/ieeetran/(/usr/share/texmf-texlive/tex/latex/psnfss/ot1ptm.fd)-- Using 8.5in x 11in (letter) paper.-- Using DVI output.-- This is a 10 point document.) (./bare_jrnl.aux) LaTeX Warning: Citation IEEEwebsite' on page 1 undefined on input line 525. (./bare_jrnl.bbl ! LaTeX Error: Something's wrong--perhaps a missing \item. See the LaTeX manual or LaTeX Companion for explanation.Type  H <return>  for immediate help.  ...                                               l.24 \end{thebibliography} ) [1] (./bare_jrnl.aux) LaTeX Warning: There were undefined references.   )(see the transcript file for additional information)Output written on bare_jrnl.dvi (1 page, 2888 bytes).Transcript written on bare_jrnl.log.

I'm now at a bit of a loss, so if anyone could point me in the correct direction, it would be very much appreciated.

Cheers
Damien

damien
Posts: 2
Joined: Wed Nov 26, 2008 8:23 am
OK, I have lost a day on this, but I have managed to work it out.

1. Update your IEEE Template from CTAN (downloading the zip is easiest): http://www.ctan.org/tex-archive/macros/ ... /IEEEtran/

2. Clean out any latex-generated files from your project/directory.

3. Test the following using kile (or the command line, if you are comfortable with with it)
Build -> Compile -> latex
Build -> Compile -> Bibtex
Build -> Compile -> latex
Build -> Compile -> latex (yes, twice after bibtex)
Build -> View -> ViewDVI

If it comes out as you expect, then it's time to update your quick-build button. By default (at least in Ubuntu 8.04, Hardy Heron) it does not automatically follow the steps above. To do so:
Settings -> Configure Kile
Click on "tools -> Build"
Go down to "QuickBuild" under "select a tool"
Under "select a configuration", choose "Latex+BibTex+ViewDVI", or just add the steps yourself with the "Tool" drop-down box and the buttons below.

Hopefully this helps someone else. It really, really frustrated me!

crobar
Posts: 12
Joined: Mon Nov 16, 2009 4:41 pm
Thank you, I had the same problem, no doubt you've saved me hours of gnashing of teeth followed by much forehead slapping. Here's to meaningful error messages!

Posts: 2
Joined: Tue Aug 16, 2011 9:53 am
Thanks a lot for posting this query and reply. It saved a lot of time for me.

linhtdh1k49
Posts: 1
Joined: Mon Dec 26, 2011 11:07 am
Thank you for posting this solution for Bibtex.
In my case, I am using
TexMaker 3.2
MikTex 2.9

I am also having a problem with IEEEtran package.

1, Line 24, LaTeX errors: Something's wrong-perhaps a missing \item.
2, Line 525, Citation IEEEwebsite on page 1 undefined on input line 525.
3, Line 1, There were undefined references.

I think it's exactly what you have met before.

But when I do quick build, clean out all stuffs, and change sequence of compliler :LATEX --> BIBTEX --> LATEX --> LATEX.

Unfortunately, it still happened same errors.

I have been stuck in this error for long time, although searching and trying to change sequence. But it did not work.

evaampe
Posts: 1
Joined: Thu Jan 19, 2012 6:07 pm
Hi,

I have the same problem. I also use the newest IEEEtran I just downloaded from the website. But in two column mode I get the error:

./bare_jrnl.tex:0: There were undefined references.

I do: pdflatex bibtex pdflatex pdflatex

Any idea?

Cheers
Eva


vanqru
Posts: 1
Joined: Fri Sep 21, 2012 11:14 pm
I followed the instructions and it did help. Two important things I found out is that in your paper, you should have at least one reference for your bibtex to work and you should point correctly your command of bibtex to the bibtex program, e.g. (in my case: "C:/Program Files (x86)/MiKTeX 2.9/miktex/bin/bibtex.exe" %.aux" (%.aux instead of % or %.tex)
Hope it helps

majidraf
Posts: 2
Joined: Tue Nov 22, 2011 9:31 pm
damien wrote:OK, I have lost a day on this, but I have managed to work it out.

1. Update your IEEE Template from CTAN (downloading the zip is easiest): http://www.ctan.org/tex-archive/macros/ ... /IEEEtran/

2. Clean out any latex-generated files from your project/directory.

3. Test the following using kile (or the command line, if you are comfortable with with it)
Build -> Compile -> latex
Build -> Compile -> Bibtex
Build -> Compile -> latex
Build -> Compile -> latex (yes, twice after bibtex)
Build -> View -> ViewDVI

If it comes out as you expect, then it's time to update your quick-build button. By default (at least in Ubuntu 8.04, Hardy Heron) it does not automatically follow the steps above. To do so:
Settings -> Configure Kile
Click on "tools -> Build"
Go down to "QuickBuild" under "select a tool"
Under "select a configuration", choose "Latex+BibTex+ViewDVI", or just add the steps yourself with the "Tool" drop-down box and the buttons below.

Hopefully this helps someone else. It really, really frustrated me!

I spent two days to solve this problem until I found your solution. So appreciated for your help.

DarkChoclate
Posts: 1
Joined: Tue Apr 28, 2015 11:46 am
I have the same problem, I tried to Compile .bib but I've got the following error: "Bibtex returned exit code 1 indicate that some problem might have occurred during compilation".
I tried for 2 hours but i could not solve the problem. Any help is very very much appreciated!

Here is my texfile:

Johannes_B
Site Moderator
Posts: 4116
Joined: Thu Nov 01, 2012 4:08 pm
Hi and welcome,

you haven't given us much information. What is the error BibTeX is reporting? Please show us the log file of BibTeX, it has the file ending blg`.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.