I was expecting a `,` or a `}`











up vote
7
down vote

favorite












So I have some code which always gives a weird error, even when there is clearly not an error in the code.



The error it gives me is:



The style file: apalike.bst
Database file #1: Hoofdstukken/Bibliografie.bib
I was expecting a `,' or a `}'---line 58 of file Hoofdstukken/Bibliografie.bib
:
: @article{boehm1988spiral,
(Error may have been on previous line)
I'm skipping whatever remains of this entry


So in my table of contents I am referring to a .bib file:



addcontentsline{toc}{chapter}{Referenties}
bibliographystyle{apalike}
bibliography{Hoofdstukken/Bibliografie}


And in my .bib file is the following:



@article{balaji2012waterfall,
title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},
author={Balaji, S and Murugaiyan, M Sundararajan},
journal={International Journal of Information Technology and Business Management},
volume={2},
number={1},
pages={26--30},
year={2012}
}


@article{boehm1988spiral, \line 58 here
title={A spiral model of software development and enhancement},
author={Boehm, Barry W},
journal={Computer},
volume={21},
number={5},
pages={61--72},
year={1988},
publisher={IEEE}
}


I commented every single @article in my document but it does not make any difference ...



Now when I have an error in other code, it will give me the error of the .bib file, while the error is definitely not in the .bib file.



So why is it doing this? I am using the following documentclass:



documentclass[11 pt, twoside, openright, tikz]{report}









share|improve this question




























    up vote
    7
    down vote

    favorite












    So I have some code which always gives a weird error, even when there is clearly not an error in the code.



    The error it gives me is:



    The style file: apalike.bst
    Database file #1: Hoofdstukken/Bibliografie.bib
    I was expecting a `,' or a `}'---line 58 of file Hoofdstukken/Bibliografie.bib
    :
    : @article{boehm1988spiral,
    (Error may have been on previous line)
    I'm skipping whatever remains of this entry


    So in my table of contents I am referring to a .bib file:



    addcontentsline{toc}{chapter}{Referenties}
    bibliographystyle{apalike}
    bibliography{Hoofdstukken/Bibliografie}


    And in my .bib file is the following:



    @article{balaji2012waterfall,
    title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},
    author={Balaji, S and Murugaiyan, M Sundararajan},
    journal={International Journal of Information Technology and Business Management},
    volume={2},
    number={1},
    pages={26--30},
    year={2012}
    }


    @article{boehm1988spiral, \line 58 here
    title={A spiral model of software development and enhancement},
    author={Boehm, Barry W},
    journal={Computer},
    volume={21},
    number={5},
    pages={61--72},
    year={1988},
    publisher={IEEE}
    }


    I commented every single @article in my document but it does not make any difference ...



    Now when I have an error in other code, it will give me the error of the .bib file, while the error is definitely not in the .bib file.



    So why is it doing this? I am using the following documentclass:



    documentclass[11 pt, twoside, openright, tikz]{report}









    share|improve this question


























      up vote
      7
      down vote

      favorite









      up vote
      7
      down vote

      favorite











      So I have some code which always gives a weird error, even when there is clearly not an error in the code.



      The error it gives me is:



      The style file: apalike.bst
      Database file #1: Hoofdstukken/Bibliografie.bib
      I was expecting a `,' or a `}'---line 58 of file Hoofdstukken/Bibliografie.bib
      :
      : @article{boehm1988spiral,
      (Error may have been on previous line)
      I'm skipping whatever remains of this entry


      So in my table of contents I am referring to a .bib file:



      addcontentsline{toc}{chapter}{Referenties}
      bibliographystyle{apalike}
      bibliography{Hoofdstukken/Bibliografie}


      And in my .bib file is the following:



      @article{balaji2012waterfall,
      title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},
      author={Balaji, S and Murugaiyan, M Sundararajan},
      journal={International Journal of Information Technology and Business Management},
      volume={2},
      number={1},
      pages={26--30},
      year={2012}
      }


      @article{boehm1988spiral, \line 58 here
      title={A spiral model of software development and enhancement},
      author={Boehm, Barry W},
      journal={Computer},
      volume={21},
      number={5},
      pages={61--72},
      year={1988},
      publisher={IEEE}
      }


      I commented every single @article in my document but it does not make any difference ...



      Now when I have an error in other code, it will give me the error of the .bib file, while the error is definitely not in the .bib file.



      So why is it doing this? I am using the following documentclass:



      documentclass[11 pt, twoside, openright, tikz]{report}









      share|improve this question















      So I have some code which always gives a weird error, even when there is clearly not an error in the code.



      The error it gives me is:



      The style file: apalike.bst
      Database file #1: Hoofdstukken/Bibliografie.bib
      I was expecting a `,' or a `}'---line 58 of file Hoofdstukken/Bibliografie.bib
      :
      : @article{boehm1988spiral,
      (Error may have been on previous line)
      I'm skipping whatever remains of this entry


      So in my table of contents I am referring to a .bib file:



      addcontentsline{toc}{chapter}{Referenties}
      bibliographystyle{apalike}
      bibliography{Hoofdstukken/Bibliografie}


      And in my .bib file is the following:



      @article{balaji2012waterfall,
      title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},
      author={Balaji, S and Murugaiyan, M Sundararajan},
      journal={International Journal of Information Technology and Business Management},
      volume={2},
      number={1},
      pages={26--30},
      year={2012}
      }


      @article{boehm1988spiral, \line 58 here
      title={A spiral model of software development and enhancement},
      author={Boehm, Barry W},
      journal={Computer},
      volume={21},
      number={5},
      pages={61--72},
      year={1988},
      publisher={IEEE}
      }


      I commented every single @article in my document but it does not make any difference ...



      Now when I have an error in other code, it will give me the error of the .bib file, while the error is definitely not in the .bib file.



      So why is it doing this? I am using the following documentclass:



      documentclass[11 pt, twoside, openright, tikz]{report}






      bibtex errors






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Aug 12 '17 at 13:52









      Johannes_B

      20.7k249198




      20.7k249198










      asked Oct 1 '16 at 11:17









      user3201911

      15629




      15629






















          2 Answers
          2






          active

          oldest

          votes

















          up vote
          8
          down vote



          accepted










          The error was detected in line 58, but its cause is before:



          @article{balaji2012waterfall,
          title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},


          The title value misses the closing curly brace at the end of the value:



          @article{balaji2012waterfall,
          title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC}},





          share|improve this answer























          • wow... im so blind. This is indeed the answer
            – user3201911
            Oct 1 '16 at 11:24


















          up vote
          0
          down vote













          I had this error on Overleaf and it would not go away even if I deleted the text. Compiling a different file and then recompiling the .bib file made the error disappear.





          share





















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "85"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f332117%2fi-was-expecting-a-or-a%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            2 Answers
            2






            active

            oldest

            votes








            2 Answers
            2






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes








            up vote
            8
            down vote



            accepted










            The error was detected in line 58, but its cause is before:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},


            The title value misses the closing curly brace at the end of the value:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC}},





            share|improve this answer























            • wow... im so blind. This is indeed the answer
              – user3201911
              Oct 1 '16 at 11:24















            up vote
            8
            down vote



            accepted










            The error was detected in line 58, but its cause is before:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},


            The title value misses the closing curly brace at the end of the value:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC}},





            share|improve this answer























            • wow... im so blind. This is indeed the answer
              – user3201911
              Oct 1 '16 at 11:24













            up vote
            8
            down vote



            accepted







            up vote
            8
            down vote



            accepted






            The error was detected in line 58, but its cause is before:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},


            The title value misses the closing curly brace at the end of the value:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC}},





            share|improve this answer














            The error was detected in line 58, but its cause is before:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC},


            The title value misses the closing curly brace at the end of the value:



            @article{balaji2012waterfall,
            title={Waterfall vs. {V}-Model vs. Agile: A comparative study on {SDLC}},






            share|improve this answer














            share|improve this answer



            share|improve this answer








            edited Aug 12 '17 at 13:54









            JPi

            9,53421450




            9,53421450










            answered Oct 1 '16 at 11:21









            Heiko Oberdiek

            228k17549900




            228k17549900












            • wow... im so blind. This is indeed the answer
              – user3201911
              Oct 1 '16 at 11:24


















            • wow... im so blind. This is indeed the answer
              – user3201911
              Oct 1 '16 at 11:24
















            wow... im so blind. This is indeed the answer
            – user3201911
            Oct 1 '16 at 11:24




            wow... im so blind. This is indeed the answer
            – user3201911
            Oct 1 '16 at 11:24










            up vote
            0
            down vote













            I had this error on Overleaf and it would not go away even if I deleted the text. Compiling a different file and then recompiling the .bib file made the error disappear.





            share

























              up vote
              0
              down vote













              I had this error on Overleaf and it would not go away even if I deleted the text. Compiling a different file and then recompiling the .bib file made the error disappear.





              share























                up vote
                0
                down vote










                up vote
                0
                down vote









                I had this error on Overleaf and it would not go away even if I deleted the text. Compiling a different file and then recompiling the .bib file made the error disappear.





                share












                I had this error on Overleaf and it would not go away even if I deleted the text. Compiling a different file and then recompiling the .bib file made the error disappear.






                share











                share


                share










                answered 9 mins ago









                Pro Q

                1185




                1185






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to TeX - LaTeX Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.





                    Some of your past answers have not been well-received, and you're in danger of being blocked from answering.


                    Please pay close attention to the following guidance:


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2ftex.stackexchange.com%2fquestions%2f332117%2fi-was-expecting-a-or-a%23new-answer', 'question_page');
                    }
                    );

                    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







                    Popular posts from this blog

                    サソリ

                    広島県道265号伴広島線

                    Accessing regular linux commands in Huawei's Dopra Linux