Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-11568] Anvil: wrench is undefined in localMode.js

GitHub Issuen/a
TypeBug
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2013-03-21T18:52:12.000+0000
Affected Version/sn/a
Fix Version/sRelease 3.2.0
ComponentsAnvil
Labelsn/a
ReporterJon Alter
AssigneeIngo Muschenetz
Created2012-10-24T19:26:10.000+0000
Updated2017-03-09T18:55:10.000+0000

Description

Running anvil the first time is fine, but once "/tmp/driver/logs/json_results" has been created, when you run anvil a second time, "wrench" is undefined in "localMode.js".

Steps to repro:

1. run an anvil test or suite 1x (I tested this with the ti.cloud module) 2. once the test is complete, run the test again 3. notice the error saying that "wrench" is undefined

Comments

  1. Jon Alter 2012-10-24

    Pull Request: https://github.com/appcelerator/titanium_mobile/pull/3317
  2. Bill Dawson 2013-03-18

    Would be awesome to get this in. At the moment it's not possible to run Anvil from a script. (The error occurs particularly when launching Anvil with "--command..." as opposed to in interactive mode.)
  3. Allen Yeung 2013-03-21

    To reproduce this issue, I had to do the following: - Add 'this.customHarnessConfigDirs = [ "./anvil/configSet" ];' in your config.js - Clone the repo at https://github.com/appcelerator-modules/ti.cloud - Go into the ti.cloud/anvil directory - Run the command: 'node ~/titanium/titanium_mobile/anvil/driver/driver.js --mode=local --platform=ios --command="start"'
  4. Lee Morris 2017-03-09

    Closing ticket as fixed.

JSON Source