https://bugzilla.wikimedia.org/show_bug.cgi?id=62240
Bug ID: 62240
Summary: pip install phpsh fails because HOME isn't defined
Product: MediaWiki-Vagrant
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: General
Assignee: [email protected]
Reporter: [email protected]
CC: [email protected], [email protected]
Web browser: ---
Mobile Platform: ---
Testing with a slightly different precise image (maybe this is the cause? if it
is, this should still be fixed)
Log:
Error: Could not update: Execution of '/usr/bin/pip install -q phpsh==1.3.4'
returned 1: Command python setup.py egg_info failed with error code 1
Storing complete log in /root/.pip/pip.log
pip.log shows:
Running setup.py egg_info for package phpsh
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/vagrant/build/phpsh/setup.py", line 20, in <module>
config_dir = os.getenv("HOME") + "/.phpsh"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Complete output from command python setup.py egg_info:
Traceback (most recent call last):
File "<string>", line 14, in <module>
File "/home/vagrant/build/phpsh/setup.py", line 20, in <module>
config_dir = os.getenv("HOME") + "/.phpsh"
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'
Able to reproduce this when logging in with "vagrant ssh" only after "unset
HOME"...
Most straightforward fix is to fix phpsh, but reporting here so it can be
tracked.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l