From notifications-return-1643-archive-asf-public=cust-asf.ponee.io@superset.apache.org Wed Jun 6 04:33:32 2018 Return-Path: X-Original-To: archive-asf-public@cust-asf.ponee.io Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by mx-eu-01.ponee.io (Postfix) with SMTP id CED10180625 for ; Wed, 6 Jun 2018 04:33:31 +0200 (CEST) Received: (qmail 28396 invoked by uid 500); 6 Jun 2018 02:33:30 -0000 Mailing-List: contact notifications-help@superset.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@superset.apache.org Delivered-To: mailing list notifications@superset.apache.org Received: (qmail 28387 invoked by uid 99); 6 Jun 2018 02:33:30 -0000 Received: from ec2-52-202-80-70.compute-1.amazonaws.com (HELO gitbox.apache.org) (52.202.80.70) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 06 Jun 2018 02:33:30 +0000 From: GitBox To: notifications@superset.apache.org Subject: [GitHub] xzGithu opened a new issue #5142: when try the Sankey visualization --An error occurred while rendering the visualization: TypeError: n.replace is not a function Message-ID: <152825241009.25175.17548543896776051492.gitbox@gitbox.apache.org> Date: Wed, 06 Jun 2018 02:33:30 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit xzGithu opened a new issue #5142: when try the Sankey visualization --An error occurred while rendering the visualization: TypeError: n.replace is not a function URL: https://github.com/apache/incubator-superset/issues/5142 Make sure these boxes are checked before submitting your issue - thank you! - [ ] I have checked the superset logs for python stacktraces and included it here as text if any - [ ] I have reproduced the issue with at least the latest released version of superset - [√] I have checked the issue tracker for the same issue and I haven't found one similar ### Superset version {"GIT_SHA": "", "version": "0.25.6"} ### Expected results wants to render a sankey visualization ### Actual results An error occurred while rendering the visualization: TypeError: n.replace is not a function ### Steps to reproduce I add one oracle ds and then add one table to visualize the sankey, the log shows me : 2018-06-06 10:13:00,789:DEBUG:root:[stats_logger] (incr) loaded_from_source 2018-06-06 10:14:35,760:DEBUG:root:[stats_logger] (incr) explore 2018-06-06 10:14:38,219:DEBUG:root:[stats_logger] (incr) explore_json 2018-06-06 10:14:38,372:DEBUG:parsedatetime:eval now with context - False, False 2018-06-06 10:14:38,374:INFO:root:Cache key: 970010ac38299dc9a480a1de33a67 2018-06-06 10:14:38,378:INFO:root:Database.get_sqla_engine(). Masked URL: oracle://ultracmdb1:XXXXXXXXXX@192.168.18.9:1521/nms 2018-06-06 10:14:38,392:INFO:root:SELECT cis, cid, "SUM(linkcount)" FROM (SELECT cis AS cis, cid AS cid, SUM(linkcount) AS "SUM(linkcount)" FROM (select cis,cid,linkcount from ultracmdb1.app_link_counts where rownum<10) expr_qry GROUP BY cis, cid ORDER BY SUM(linkcount) DESC) WHERE ROWNUM <= 100 2018-06-06 10:14:38,406:INFO:root:Database.get_sqla_engine(). Masked URL: oracle://ultracmdb1:XXXXXXXXXX@192.168.18.9:1521/nms 2018-06-06 10:14:38,498:DEBUG:root:[stats_logger] (incr) loaded_from_source 2018-06-06 10:14:38,599:DEBUG:root:[stats_logger] (incr) log ########## but the web show me that error **An error occurred while rendering the visualization: TypeError: n.replace is not a function** and the data i use like this cis cid counts 50874 50733 60 50991 51081 30 50620 50645 24 51006 51213 18 50761 51069 15 51075 50810 15 51078 50843 12 51192 51091 12 51189 50878 3 ---------------------------------------------------------------- This is an automated message from the Apache Git Service. To respond to the message, please log on GitHub and use the URL above to go to the specific comment. For queries about this service, please contact Infrastructure at: users@infra.apache.org With regards, Apache Git Services --------------------------------------------------------------------- To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org For additional commands, e-mail: notifications-help@superset.apache.org