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 Waxavi, Today, 02:10 AM
                    0 responses
                    6 views
                    0 likes
                    Last Post Waxavi
                    by Waxavi
                     
                    Started by TradeForge, Today, 02:09 AM
                    0 responses
                    11 views
                    0 likes
                    Last Post TradeForge  
                    Started by Waxavi, Today, 02:00 AM
                    0 responses
                    2 views
                    0 likes
                    Last Post Waxavi
                    by Waxavi
                     
                    Started by elirion, Today, 01:36 AM
                    0 responses
                    4 views
                    0 likes
                    Last Post elirion
                    by elirion
                     
                    Started by gentlebenthebear, Today, 01:30 AM
                    0 responses
                    5 views
                    0 likes
                    Last Post gentlebenthebear  
                    Working...
                    X