Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1bUxKh-0002CI-VO for pgadmin-hackers@arkaria.postgresql.org; Wed, 03 Aug 2016 14:39:44 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1bUxKh-0007wM-I8 for pgadmin-hackers@arkaria.postgresql.org; Wed, 03 Aug 2016 14:39:43 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1bUxKU-0007YS-4k for pgadmin-hackers@postgresql.org; Wed, 03 Aug 2016 14:39:30 +0000 Received: from mail-it0-x22d.google.com ([2607:f8b0:4001:c0b::22d]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1bUxKQ-0004sX-HS for pgadmin-hackers@postgresql.org; Wed, 03 Aug 2016 14:39:29 +0000 Received: by mail-it0-x22d.google.com with SMTP id j124so235855733ith.1 for ; Wed, 03 Aug 2016 07:39:26 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pgadmin-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=j60kGUcOdFK7Hj/8bEPQTcAauDWVVqxPUJihg/fPjVM=; b=XU1fRTdXkYCAgPmGohbEUDK9XuEdCt+R3NZYoKZ+eCDEpIQi4+L9zRP9ZOFIVU3/Et EJBU7d+k9XZxx89kfdloEUWubQXH3ZWupHc76wRa5stnieUp9pzhPrTbt0vc3toWe8YT 448AbDEbwonucCj2Z9OBfx2lYZONkAo1l3wzFol7TL6NFplc76GwW/dxL4gSgR+TLrrs GAOAdyBUyjCb5g7qrHoBYwbsmvhaDfV7hk8aYUo17CWzZ54RpeYUKHXF/wwIf4cAxDSg 2lT2yZ+7z/ysUkSRgCyghWbVXvPXf09J2oPfil9mz9JwGketrobsKtXM3d08RiBP4hUM gWGw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=j60kGUcOdFK7Hj/8bEPQTcAauDWVVqxPUJihg/fPjVM=; b=Tfr0YlpocG0jmwmV4yUlR7gp0X6XHnQ7VKBFUT5XUVUEiPxlyqGmsJGjgTr9znPS2P PNTibP441DcjilY9UdLzScKB+pjvy+gkZDb5lSxEs2UApjIVdM0ug3LPTveH7MFaXpLp 3frekNAK5fa0ZHIAwUI0vADFnucKj7m8B0Eng7QtAHDA3hwetRH2roCUJcrS3CWVal+R 2dSYbZR4yUvwfi2DHJ+aYbMcBO3F0fub0nBO/61ZhSziV/LsZIDfneV6XEopXE/3BiXu 7erSZnw0NHI5lz0Y6/EyJICtsmbAA/aH7QqjLPx3WLFTySFLC3+1E3E0952QrNmX3aAh HtjQ== X-Gm-Message-State: AEkoousryuZsm34zZxwrEC+2DGXKqgNr17px87pO2yyROjEeh18U9vqSF+Y4zZ3zFDX+WxDkGS6/2fczhsW0bw== X-Received: by 10.36.14.20 with SMTP id 20mr19474570ite.88.1470235164831; Wed, 03 Aug 2016 07:39:24 -0700 (PDT) MIME-Version: 1.0 Received: by 10.64.208.97 with HTTP; Wed, 3 Aug 2016 07:39:23 -0700 (PDT) In-Reply-To: References: From: Dave Page Date: Wed, 3 Aug 2016 15:39:23 +0100 Message-ID: Subject: Re: Patch for RM1500 other issues [pgAdmin4] To: Harshal Dhumal Cc: pgadmin-hackers Content-Type: text/plain; charset=UTF-8 X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgadmin-hackers Precedence: bulk Sender: pgadmin-hackers-owner@postgresql.org Thanks - applied. On Wed, Aug 3, 2016 at 2:39 PM, Harshal Dhumal wrote: > Hi Dave, > > Please find attached updated patch. I missed to change table __init__.py > file that why you got the error sorry for that. Also patch has changes for > both RM1500 and simplejson issue as both require changes in same file. > Please discard old patch of RM1500 and simplejson. > > > > > -- > Harshal Dhumal > Software Engineer > > EnterpriseDB India: http://www.enterprisedb.com > The Enterprise PostgreSQL Company > > On Wed, Aug 3, 2016 at 6:30 PM, Dave Page wrote: >> >> Hi >> >> On Wed, Aug 3, 2016 at 12:43 PM, Harshal Dhumal >> wrote: >> > Hi Dave, >> > >> > This because on python 2.X simplejson throws KeyError instead of >> > TypeError >> > if any error occurs while loading json data from given object. Now I >> > have >> > handled that exception as well in attached patch. >> > >> > I'm sending this as separate patch instead part of RM1500. >> >> I still see the same error, with both patches applied. I've restarted >> the app server and cleared the browser cache and reloaded etc. >> >> >> -- >> Dave Page >> Blog: http://pgsnake.blogspot.com >> Twitter: @pgsnake >> >> EnterpriseDB UK: http://www.enterprisedb.com >> The Enterprise PostgreSQL Company > > -- Dave Page Blog: http://pgsnake.blogspot.com Twitter: @pgsnake EnterpriseDB UK: http://www.enterprisedb.com The Enterprise PostgreSQL Company -- Sent via pgadmin-hackers mailing list (pgadmin-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgadmin-hackers