Announcement

Collapse
No announcement yet.

Partner 728x90

Collapse

B8 export fails with more than a couple of files, crashes NT

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    #16
    @NinjaTrader_ShawnB ... any news on this one? was the additional able to uncover anything new for you?

    Comment


      #17
      Hello RanchoDinero,

      Can you please provide the trace file pertaining to the "unable to write wrapper file" error message that appears in your most recent screen shot?
      Zachary G.NinjaTrader Customer Service

      Comment


        #18
        sadly that exception didn't end up in the trace.
        Attached Files

        Comment


          #19
          Hello RanchoDinero,

          Just to clarify, does this only occur when you are attempting to export an assembly with your script contained within it or does it also occur when you attempt to export only the default indicators/strategies included with NinjaTrader 8 as well?
          Zachary G.NinjaTrader Customer Service

          Comment


            #20
            exporting several system indicators works as expected. seems that uses a different code path? curious to know what's different when those are exported compared to exporting other code.

            Comment


              #21
              Hello RanchoDinero,

              I was unable to reproduce this on several custom created scripts on my end.

              Would it be possible to create a simple toy script that can replicate the behavior you are getting?
              Zachary G.NinjaTrader Customer Service

              Comment


                #22
                are you also including agile.net in your attempts to repro?

                Comment


                  #23
                  Astonishingly, and completely by accident, I found the cause. One of my files had a space character before the 'namespace' keyword. This is the cause of the crash.

                  You can repro the issue with this script, attached.

                  Notice that this one space also prevents NT from auto-generating the needed glue code for the indicator. Which is kind of nuts... this is perfectly valid code otherwise. At least the C# compiler thinks so.
                  Attached Files

                  Comment


                    #24
                    Hello RanchoDinero,

                    I am able to reproduce this behavior on my end with the sample script you have provided. Great find!

                    I will be submitting this as a bug report.

                    Please, let us know if we may be of further assistance.
                    Zachary G.NinjaTrader Customer Service

                    Comment

                    Latest Posts

                    Collapse

                    Topics Statistics Last Post
                    Started by kevinenergy, 02-17-2023, 12:42 PM
                    118 responses
                    2,778 views
                    1 like
                    Last Post kevinenergy  
                    Started by briansaul, Today, 05:31 AM
                    0 responses
                    9 views
                    0 likes
                    Last Post briansaul  
                    Started by traderqz, Yesterday, 12:06 AM
                    11 responses
                    28 views
                    0 likes
                    Last Post NinjaTrader_Gaby  
                    Started by PaulMohn, Today, 03:49 AM
                    0 responses
                    8 views
                    0 likes
                    Last Post PaulMohn  
                    Started by inanazsocial, Today, 01:15 AM
                    1 response
                    10 views
                    0 likes
                    Last Post NinjaTrader_Jason  
                    Working...
                    X