Git Product home page Git Product logo

vue-data-board's Issues

AttributeError: 'str' object has no attribute 'decode'

in python 3.9
Internal Server Error: /api/source/tables/31fd290a-2f2e-44d1-a1c9-c5866c079229
Traceback (most recent call last):
File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
response = get_response(request)
File "C:\ProgramData\Anaconda3\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
File "C:\ProgramData\Anaconda3\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
return view_func(*args, **kwargs)
File "D:\code\databoard-dashboard\py_vislib-master\vislib\views\source.py", line 129, in sourceTables
tableName = list(table.values())[0].decode('utf-8')
AttributeError: 'str' object has no attribute 'decode'
[21/Dec/2021 11:45:26] "GET /api/source/tables/31fd290a-2f2e-44d1-a1c9-c5866c079229 HTTP/1.1" 500 78080

modify:
# tableName = list(table.values())[0].decode('utf-8')
tableName = list(table.values())[0]

缺少代码

你好,vue.config.js 中 有 proxy: {
'^/api': {
target: 'http://localhost:8000'
}
} 代码,
导致npm run serve,无法运行,请问下这个后端模拟数据项目地址有吗?

看板分享的链接无效

进入看板,点击分享,弹出获取到链接,然后浏览器输入链接,打开还是首页?

您好,请问动态添加图表的实现思路

您好,请问vue动态添加组件的思路是什么呢,比如我想像您一样,在页面上添加图表,然后可拖拽,可拖拽和缩放部分是vue-grid-layout, 动态添加呢?是用slot方式吗,比如我要在一个div下添加一个element的card,并且添加的时候还想传给这个card title

'passwd' is an invalid keyword argument for connect()

in python 3.9 mysqlclient 1.3.14
'passwd' is an invalid keyword argument for connect()

db=MySQLdb._mysql.connect(
chang to:
db=MySQLdb.connect(
  host=host,
  port=int(port),
  user=username,
  passwd=password,
  db=database,
  charset='utf8',
  use_unicode=True
)

如何动态获取数据?

比如说,运营的需求是获取周看盘(上周七天的数据)或月看盘。这样的话,只能每次都重新编辑该看板下的图表的筛选条件吗?有没有什么思路呢?

登录失败

请问按照步骤安装后,不管是新建账号还是用默认账号都登录失败,会是什么原因呢?

buildFilterSentence 中valueObj 可能为undefined

export function buildFilterSentence(filter) { let filterSentence let valueObj if (trimColType(filter.colType).needQuotation) { valueObj = addQuotation(filter.value) } if (filter.operatorParamNum === 1) { filterSentence = ${filter.filteCol} ${filter.filterOperator} ${valueObj.value1}} else if (filter.operatorParamNum === 2) { filterSentence =${filter.filteCol} ${filter.filterOperator} ${valueObj.value1} and ${valueObj.value2}} else { filterSentence =${filter.filteCol} ${filter.filterOperator} ('${valueObj.arrValue.join(',')}')} return filterSentence function addQuotation(valueObj) { return { value1:'${valueObj.value1}', value2: '${valueObj.value2}', arrValue: valueObj.arrValue.map(value => '${value}') } }

如果needQuotation 为false, valueObj为undefined

编辑现有图表,部分会有错误提示

编辑现有图表,部分会有错误提示。如测试账号下,北京仪表盘,新增订单渠道来源分布 图表。

dbbychart接口作用是什么? 是不是已经弃用了

管理表 保存失败

Internal Server Error: /api/source/tables/save
Traceback (most recent call last):
  File "C:\Program Files\Python38\lib\site-packages\django\core\handlers\exception.py", line 47, in inner
    response = get_response(request)
  File "C:\Program Files\Python38\lib\site-packages\django\core\handlers\base.py", line 181, in _get_response
    response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "C:\Program Files\Python38\lib\site-packages\django\views\decorators\csrf.py", line 54, in wrapped_view
    return view_func(*args, **kwargs)
  File "C:\Users\zp\mystuff\vueDataBoard\py_vislib\vislib\views\source.py", line 154, in sourceTableSave
    table_alias=table['table_alias'],
KeyError: 'table_alias'

index.html favicon的URL出错

index.html的代码里,favicon是这样写的

<link rel="icon" href="<%= BASE_URL %>favicon.ico">

这个BASE_URL没有被正确转化,在浏览器里面,还是以<%= BASE_URL %>的形式显示

报错

URIError: Failed to decode param '/%3C%=%20BASE_URL%20%%3Efavicon.ico'
at decodeURIComponent ()
at decode_param (/Users/adam429/Projects/vue-data-board/node_modules/express/lib/router/layer.js:172:12)

浏览器的Developer模式看到的

image

后端node代码在哪里

你好,启动项目登录找不到后端接口,github上的文档地址访问失败,这个后端要单独启动node服务吗

Manual Document not accessible

Hi,
I tried to install this script, but cannot find any docs file. Got Request failed with status code 500 on login
Please help

Thanks,

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.