[Twisted-Python] OSX 10.9 Trial ZipPath issue

HawkOwl hawkowl at atleastfornow.net
Wed Jun 25 18:47:16 MDT 2014


On 26 Jun 2014, at 6:31, Jason J. W. Williams <jasonjwwilliams at gmail.com> wrote:

> Since upgrading to OSX 10.9 I seem to have this issue when running trial (tried it with Twisted 13.0.0, 13.2.0 and 14.0.0):
> 
> Unexpected error while writing cache file
> Traceback (most recent call last):
>   File "/usr/local/lib/python2.7/site-packages/twisted/scripts/trial.py", line 472, in postOptions
>     _BasicOptions.postOptions(self)
>   File "/usr/local/lib/python2.7/site-packages/twisted/scripts/trial.py", line 382, in postOptions
>     self['reporter'] = self._loadReporterByName(self['reporter'])
>   File "/usr/local/lib/python2.7/site-packages/twisted/scripts/trial.py", line 369, in _loadReporterByName
>     for p in plugin.getPlugins(itrial.IReporter):
>   File "/usr/local/lib/python2.7/site-packages/twisted/plugin.py", line 209, in getPlugins
>     allDropins = getCache(package)
> --- <exception caught here> ---
>   File "/usr/local/lib/python2.7/site-packages/twisted/plugin.py", line 181, in getCache
>     dropinPath.setContent(pickle.dumps(dropinDotCache))
> 
> The only zip on the path is the pseudo python27.zip.
> 
> Any ideas?
> 
> -J

Have you tried running it in a virtualenv?

It looks like it’s trying to write the dropin.cache file — but I don’t think you can do that if you’re not admin?

-hawkowl

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 455 bytes
Desc: Message signed with OpenPGP using GPGMail
URL: <http://twistedmatrix.com/pipermail/twisted-python/attachments/20140626/daf93bda/attachment.pgp>


More information about the Twisted-Python mailing list