Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-4354] Tooling: verify.py Detect Missing Python Modules. Give install instructions

GitHub Issuen/a
TypeNew Feature
PriorityMedium
StatusClosed
ResolutionFixed
Resolution Date2011-06-15T09:43:20.000+0000
Affected Version/sRelease 1.8.0
Fix Version/sSprint 2011-24, Release 1.8.0
ComponentsTooling
Labelsn/a
ReporterDon Thorp
AssigneeBill Dawson
Created2011-06-09T09:11:50.000+0000
Updated2017-03-03T17:42:22.000+0000

Description

When I tried to run validate the first time I was missing the yaml module. Detect 3rd party modules missing and help users install like we do in our other scripts. sudo easy_install pyyaml

Comments

  1. Bill Dawson 2011-06-14

    For test when the fix is available: * Check to see if you already have pyyaml installed by going into python and entering import yaml. * If you get an error, then proceed to next step. If not, that means you already have pyyaml, and you'll want to uninstall/rename it to test this. [Enjoy that](http://stackoverflow.com/questions/1231688/how-do-i-remove-packages-installed-with-pythons-easy-install). :) * Go to the apidoc/ folder in your titanium_mobile source folder and enter python validate.py. * You should get a useful error message telling you you don't have pyyaml and how to install it.
  2. Don Thorp 2011-06-15

    Reviewed.
  3. Lee Morris 2017-03-03

    Closing ticket due to time passed and irrelevance of ticket.

JSON Source