Closed Bug 949572 Opened 11 years ago Closed 10 years ago

Can't get the validator to run locally: ImportError: No module named cssutils

Categories

(Marketplace Graveyard :: Validation, defect, P4)

Avenir
x86
macOS
defect

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: sole, Unassigned)

Details

I followed the instructions in the README and then tried to validate a local app, but I got the following trace:

host-7-75:app-validator sole$ python app-validator ~/data/rtcamera
Traceback (most recent call last):
  File "app-validator", line 2, in <module>
    import appvalidator.main
  File "/Users/sole/data/app-validator/appvalidator/__init__.py", line 1, in <module>
    from validate import validate_app, validate_packaged_app
  File "/Users/sole/data/app-validator/appvalidator/validate.py", line 4, in <module>
    import loader
  File "/Users/sole/data/app-validator/appvalidator/loader.py", line 1, in <module>
    import testcases.content
  File "/Users/sole/data/app-validator/appvalidator/testcases/content.py", line 3, in <module>
    import markup.csstester as testendpoint_css
  File "/Users/sole/data/app-validator/appvalidator/testcases/markup/csstester.py", line 3, in <module>
    import cssutils
ImportError: No module named cssutils

I even closed the terminal and reopened it again, just in case it was missing some environment variables or what not, but no luck...
We talked about this last week. I've added a section to the validator's README:

https://github.com/mozilla/app-validator/blob/master/README.md#ive-installed-all-the-dependencies-but-python-still-cant-find-some-modules

Let me know if there's anything else I can do for you on this front. Feel free to close at your leisure.
I'm marking this resolved, if you're still getting this error after Matt's suggestions let me know and I will reopen.
Status: NEW → RESOLVED
Closed: 10 years ago
Priority: -- → P4
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.