Giter Site home page Giter Site logo

Comments (3)

plexoos avatar plexoos commented on July 17, 2024

The problem may be related to #150
The output from the test jobs looks normal. So, I suspect the initialization of the ostringstream buffer utilized by the STAR logger is not performed correctly as demonstrated by the sample macro... TBC

If no solution offered by the end of the day #150 should be reverted on the main branch until fully understood.

from star-sw.

plexoos avatar plexoos commented on July 17, 2024
$ root -l -b -q test.C | cat -v
*** Start at Date : Fri Oct  8 19:58:57 2021

Processing test.C...
StInfo: --------------Error Codes-------------------------
^@StInfo:      nStOK   nStWarn    nStEOF    nStErr  nStFatal
^@StInfo:          0         0         0         0         0
^@StInfo: --------------------------------------------------
^@
This is the end of STAR ROOT -- Goodbye

Looks like there is still a NUL character added to the end of the buffer (by endm?)

LOG_INFO << "--------------Error Codes-------------------------" << endm;
LOG_INFO << " nStOK nStWarn nStEOF nStErr nStFatal" << endm;
TString tail("");
for( Int_t i=0; i<=kStFatal; i++) tail += Form("%10d",fgTallyMaker[i]);
if (tail != "")
LOG_INFO << (const Char_t *)tail << endm;
LOG_INFO << "--------------------------------------------------" << endm;

from star-sw.

veprbl avatar veprbl commented on July 17, 2024

@plexoos Good catch. In my last commit I've basically introduced the same kind of error as the one I was fixing. This line had become an extra:

from star-sw.

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.