[browsershots-factories] Problem

Johann C. Rocholl johann at browsershots.org
Mon Sep 11 17:49:31 CEST 2006


On 9/11/06, Johann C. Rocholl <johann at browsershots.org> wrote:
> >     except appscript.specifier.CommandError:
> > AttributeError: 'module' object has no attribute 'specifier'
>
> It seems that this AppScript+JavaScript call fails sometimes. I think
> I'll have to catch this error and ignore it. Hang on a minute, I'll
> shout when the patch is in the Subversion repository.

Actually, the problem is that appscript has changed between my version
and yours, and appscript.specifier doesn't exist anymore. My quick fix
is to simply catch all exceptions during JavaScript calls:
http://trac.browsershots.org/changeset/763

Please svn update again and let me know if it works better now.

J.



More information about the browsershots-factories mailing list