#2 Fix installation in gentoo

closed-fixed
nobody
None
5
2010-03-14
2010-03-14
Alex Dedul
No

In gentoo when installing using emerge/portage from ebuild it writes the following traceback:

python2.6 setup.py build
Traceback (most recent call last):
File "setup.py", line 10, in <module>
from googsystray import VERSION_STRING
File "/var/tmp/portage/x11-misc/googsystray-9999/work/googsystray-9999/googsystray/__init__.py", line 32, in <module>
temp_dir = "/tmp/googsystray-" + os.getenv("USER") + "/"
TypeError: cannot concatenate 'str' and 'NoneType' objects

I assume it somehow related to gentoo's sandboxing feature. Attaching trivial patch to fix this, so it installs okay.

Discussion

<< < 1 2 (Page 2 of 2)
  • Alex Dedul
    Alex Dedul
    2010-03-14

    I see, just tried installing from svn and now it works okay, thanks :).

     
  • Alex Dedul
    Alex Dedul
    2010-03-14

    • status: open --> closed-fixed
     
<< < 1 2 (Page 2 of 2)