Bug#589196: gnome-shell: FTBFS: AttributeError: 'NoneType' object has no attribute 'endswith'

Gustavo Noronha Silva gustavo.noronha at collabora.co.uk
Thu Jul 15 19:16:20 UTC 2010


clone 589196
reassign -1 gobject-introspection 0.6.15~git20100713-1
retitle -1 may pass bad values to os.path.join, causing bad things to happen
thanks

On Thu, 2010-07-15 at 20:29 +0200, Emilio Pozuelo Monfort wrote:
> On 15/07/10 20:04, Gustavo Noronha Silva wrote:
> > On Thu, 2010-07-15 at 19:43 +0200, Cyril Brulebois wrote:
> >> looks like the path == None case isn't taken into account?
> > [...]
> >> |   File "/usr/lib/gobject-introspection/giscanner/cachestore.py", line 80, in _check_cache_version
> >> |     version = os.path.join(self._directory, _CACHE_VERSION_FILENAME)
> >> |   File "/usr/lib/python2.6/posixpath.py", line 67, in join
> >> |     elif path == '' or path.endswith('/'):
> >> | AttributeError: 'NoneType' object has no attribute 'endswith'
> >> | make[4]: *** [St-1.0.gir] Error 1
> >>
> >> Full build logs:
> >>   https://buildd.debian.org/status/package.php?p=gnome-shell&suite=experimental
> > 
> > Seems to be the case. It's a bug in either gobject-introspection or
> > python2.6, though =(
> 
> Looks like a gobject-introspection one in any case. path isn't a String there.

I tend to agree. I'll reassign, and patch gobject-introspection later
today.

Cheers,

-- 
Gustavo Noronha Silva <gustavo.noronha at collabora.co.uk>
Collabora Ltd.







More information about the pkg-gnome-maintainers mailing list