Giter Club home page Giter Club logo

Comments (2)

pkyle avatar pkyle commented on August 24, 2024

The last message printed to the log has nothing to do with the error that caused the crash. Unfortunately there are some errors in XML files read to GCAM that cause the model to crash, but do not produce an explanatory message. For instance, if a subsector is created, but it doesn't have any technologies within it, I think that may cause a silent model crash. The way I've always debugged these is, on a Mac, running the model from Xcode, select Product -> Scheme -> Edit scheme -> Run -> Info-> check box for “debug executable”
Then when you run the model, and it crashes, that will launch a debugger that can be used to isolate what was happening when the crash occurred.

from gcam-core.

837288251 avatar 837288251 commented on August 24, 2024

The last message printed to the log has nothing to do with the error that caused the crash. Unfortunately there are some errors in XML files read to GCAM that cause the model to crash, but do not produce an explanatory message. For instance, if a subsector is created, but it doesn't have any technologies within it, I think that may cause a silent model crash. The way I've always debugged these is, on a Mac, running the model from Xcode, select Product -> Scheme -> Edit scheme -> Run -> Info-> check box for “debug executable” Then when you run the model, and it crashes, that will launch a debugger that can be used to isolate what was happening when the crash occurred.

Thank you for your answer^_^ Although I used the Window System, I managed to use the Code Comments line by line in Configuration.xml and finally located the wrong xml. Now it runs smoothly~

from gcam-core.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.