New issue
Advanced search Search tips

Issue 708695 link

Starred by 1 user

Issue metadata

Status: WontFix
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: ----
OS: Chrome
Pri: 1
Type: Bug



Sign in to add a comment

deploy_chrome: ImportError: No module named packaging.version

Project Member Reported by warx@chromium.org, Apr 5 2017

Issue description

on tot chrome:

(sdk veyron_minnie R59-9428.0.0) warx@warx0 ~/chromium/src $ deploy_chrome --build-dir=out_veyron_minnie/Release --target-dir=/usr/local/chrome --mount-dir=/opt/google/chrome --to=100.96.49.79      
Traceback (most recent call last):
  File "/usr/local/google/home/warx/chromium/src/third_party/chromite/bin/deploy_chrome", line 76, in <module>
    from chromite.lib import commandline
  File "/usr/local/google/home/warx/chromium/src/third_party/chromite/bin/deploy_chrome", line 68, in load_module
    return __import__(mod)
  File "/usr/local/google/home/warx/chromium/src/third_party/chromite/__init__.py", line 8, in <module>
    import pkg_resources
  File "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py", line 70, in <module>
    import packaging.version
ImportError: No module named packaging.version

cc some people for triage
 
Cc: derat@chromium.org gurcheta...@chromium.org teravest@chromium.org achuith@chromium.org
Owner: achuith@chromium.org
achuith@ or gurchetansingh@, can you PTAL? This may be an artifact of the most recent chromite roll?

I am using deploy_chrome with the 9428 version, but not with --build-dir or --target-dir (and IIRC there's an extra step to use those? I forget what it is though).

Owner: gurcheta...@chromium.org
I'm on TOT chrome (as of 30 min ago), and deploy_chrome worked for me. How do you not use --build-dir?
Sorry, I meant --target-dir and --mount-dir

Comment 4 by warx@chromium.org, Apr 5 2017

Status: WontFix (was: Untriaged)
I deleted the "/usr/local/lib/python2.7/dist-packages/pkg_resources/__init__.py" then everything worked for me.

I don't know why I keep hitting this similar problems.

Sign in to add a comment