You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cordova.apache.org by "Patrick Mueller (Resolved) (JIRA)" <ji...@apache.org> on 2012/02/21 05:43:34 UTC

[jira] [Resolved] (CB-266) weinre runtime error if you don't have a ~/.weinre/server.settings file

     [ https://issues.apache.org/jira/browse/CB-266?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Patrick Mueller resolved CB-266.
--------------------------------

    Resolution: Fixed

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

                
> weinre runtime error if you don't have a ~/.weinre/server.settings file
> -----------------------------------------------------------------------
>
>                 Key: CB-266
>                 URL: https://issues.apache.org/jira/browse/CB-266
>             Project: Apache Callback
>          Issue Type: Bug
>          Components: weinre
>            Reporter: Patrick Mueller
>            Priority: Blocker
>
> Console log of running weinre with a server settings file, and without
> {code}
> > 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()
> {code}

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira