Uploaded image for project: 'Apache Cordova'
  1. Apache Cordova
  2. CB-266

weinre runtime error if you don't have a ~/.weinre/server.settings file

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None

      Description

      Console log of running weinre with a server settings file, and without

      > weinre -V
      2012-02-20T14:30:54.511Z weinre: version:              1.7.0-pre-2012-02-17--16-47-15
      2012-02-20T14:30:54.514Z weinre: option httpPort:      8081
      2012-02-20T14:30:54.514Z weinre: option boundHost:     -all-
      2012-02-20T14:30:54.514Z weinre: option verbose:       true
      2012-02-20T14:30:54.514Z weinre: option debug:         false
      2012-02-20T14:30:54.514Z weinre: option readTimeout:   5
      2012-02-20T14:30:54.514Z weinre: option deathTimeout:  15
      2012-02-20T14:30:54.574Z weinre: starting server at http://localhost:8081
      ^C
      
      > mv ~/.weinre ~/.weinre-tmp
      
      > weinre -V
      
      node.js:201
              throw e; // process.nextTick error, or 'error' event on first tick
                    ^
      ---------------------------------------------------------
      error: ReferenceError: options is not defined
      ---------------------------------------------------------
      stack: 
         cli.coffee:66  - getDotWeinreServerProperties()
      

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              pmuellr Patrick Mueller
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: