You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@whimsical.apache.org by sebb <se...@gmail.com> on 2017/08/23 18:53:34 UTC

Re: [whimsy] branch master updated: ensure site is a string

It looks like this last commit has fixed the issue.

On 16 August 2017 at 16:01,  <ru...@apache.org> wrote:
> This is an automated email from the ASF dual-hosted git repository.
>
> rubys pushed a commit to branch master
> in repository https://gitbox.apache.org/repos/asf/whimsy.git
>
>
> The following commit(s) were added to refs/heads/master by this push:
>      new d40b4eb  ensure site is a string
> d40b4eb is described below
>
> commit d40b4eb14f0c0d2803f684fe632b031f82f8eaf6
> Author: Sam Ruby <ru...@intertwingly.net>
> AuthorDate: Wed Aug 16 11:00:08 2017 -0400
>
>     ensure site is a string
>
>     See:
>     https://lists.apache.org/thread.html/2499b2badde5417743b93fb0fe3ff8aa82927a14be3a2b41df3dec4e@%3Cdev.whimsical.apache.org%3E
>
>     This should either fail earlier, or make the problem go away.  I'm kinda hoping
>     the former so that we can track down what the real problem is.
> ---
>  tools/site-scan.rb | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/tools/site-scan.rb b/tools/site-scan.rb
> index f580179..07fa979 100755
> --- a/tools/site-scan.rb
> +++ b/tools/site-scan.rb
> @@ -25,7 +25,7 @@ end
>  IMAGE_DIR = ASF::SVN.find('asf/infrastructure/site/trunk/content/img')
>
>  def parse(id, site, name)
> -  uri, response, status = $cache.get(site)
> +  uri, response, status = $cache.get(site.to_s)
>    $stderr.puts "#{id} #{uri} #{status}"
>    doc = Nokogiri::HTML(response)
>
>
> --
> To stop receiving notification emails like this one, please contact
> ['"commits@whimsical.apache.org" <co...@whimsical.apache.org>'].