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

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Blocker
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: cordova-weinre
    • 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()
      

        Activity

        Show
        pmuellr Patrick Mueller added a comment - Fixed by Haitao Feng in commit: https://git-wip-us.apache.org/repos/asf?p=incubator-cordova-weinre.git;a=commitdiff;h=23e971f1beb3c2931f630681e80f02fb1642fc27 Sourced from GitHub pull request: https://github.com/apache/incubator-cordova-weinre/pull/2

          People

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

            Dates

            • Created:
              Updated:
              Resolved:

              Development