 
     html_process_output_mesg: (mesg, mark) ->
         out = null
+        # console.log 'html_process_output_mesg', mesg, mark
         if mesg.stdout?
             # assertion: for stdout, `mark` might be undefined
             out = "<div class='output stdout'>#{mesg.stdout}</div>"

                @html_process_output_mesg(mesg_stdout)
                mesg_stdout = {stdout : ''}

        process_lines = (cb) =>
            # process lines in an async loop to avoid blocking on large documents
            line = 0

                    console.debug("write_text_file_to_project.resp: '#{resp}'")
                    cb?(err)

        async.parallel([sagews_data, process_lines, embed_videos], finalize)

# registering printers
printers = {}
