text:
接口请求报500错误

目前网站能正常访问，微信登录插件已经安装。
但编译小程序时接口报错500，用官方的api可以正常使用

请提供报错信息

请提供报错信息

下面是完整的报错信息
[自动热重载] 已开启代码文件保存后自动热重载
[system] WeChatLib: 3.0.1 (2023.8.30 19:21:49)
[system] Subpackages: N/A
[system] LazyCodeLoading: true
Current Wechat version do not support asynchronous getSystemInfo. "wx.getSystemInfoAsync" will be finished by synchronous implementation.
Lazy code loading is enabled. Only injecting required components.
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
function.js? [sm]:15 cache fresnsConfig
[pages/portal/index] Some selectors are not allowed in component wxss, including tag name selectors, ID selectors, and attribute selectors.(./miniprogram_npm/weui-miniprogram/tabbar/tabbar.wxss:1:5099)
function.js? [sm]:15 cache fresnsConfig
[system] Launch Time: 667 ms
request.js? [sm]:22 GET https://chaiquan.store/api/v2/common/ip-info 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
commonIpInfo @ common.js? [sm]:14
_callee2$ @ fresnsGlobalInfo.js? [sm]:103
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
init @ fresnsGlobalInfo.js? [sm]:194
_callee2$ @ app.js? [sm]:69
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
onShow @ app.js? [sm]:105
(anonymous) @ app.js? [sm]:13
(anonymous) @ VM6415:7
doWhenAllScriptLoaded @ VM6361:519
loadedCallback @ VM6361:17
async function (async)
window.loadBabelMod @ VM6329:9
(anonymous) @ slicedToArray.js:2
Error: MiniProgramError
{"data":"<!DOCTYPE html>\n\n    \n        <meta charset=\"utf-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n        <title>Server Error</title>\n\n        \n\n        \n    \n    \n
\n
\n
\n
\n                        500
\n\n
\n                        Server Error
\n
\n
\n
\n    \n\n","header":{"server":"nginx","content-type":"text/html; charset=UTF-8","cache-control":"no-cache, private","date":"Mon, 25 Sep 2023 08:06:08 GMT","access-control-allow-origin":"*"},"statusCode":500,"cookies":[],"errMsg":"request:ok"}
    at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at i (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Object.cb (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at V._privEmit (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at V.emit (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1
    at n (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Le (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)(env: Windows,mp,1.06.2308310; lib: 3.0.1)
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
Error: MiniProgramError
{"data":"<!DOCTYPE html>\n\n    \n        <meta charset=\"utf-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n        <title>Server Error</title>\n\n        \n\n        \n    \n    \n
\n
\n
\n
\n                        500
\n\n
\n                        Server Error
\n
\n
\n
\n    \n\n","header":{"server":"nginx","content-type":"text/html; charset=UTF-8","cache-control":"no-cache, private","date":"Mon, 25 Sep 2023 08:06:08 GMT","access-control-allow-origin":"*"},"statusCode":500,"cookies":[],"errMsg":"request:ok"}
    at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at i (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Object.cb (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at V._privEmit (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at V.emit (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1
    at n (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Le (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)(env: Windows,mp,1.06.2308310; lib: 3.0.1)
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ tabbar.js:110
_callee2$ @ tabbar.js:110
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
attached @ tabbar.js:134
Show 10 more frames
chaiquan.store/api/v2/global/configs:1 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
checkSiteMode.js? [sm]:23 site mode {cookies: Array(0), errMsg: "request:ok"}
function.js? [sm]:15 cache fresnsConfig
request.js? [sm]:22 GET https://chaiquan.store/api/v2/global/configs 500(env: Windows,mp,1.06.2308310; lib: 3.0.1)
_callee2$ @ request.js? [sm]:22
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ request.js? [sm]:87
request @ request.js? [sm]:11
globalConfigs @ global.js? [sm]:27
_callee$ @ function.js? [sm]:16
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
fresnsConfig @ function.js? [sm]:11
_callee$ @ index.js:21
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
onLoad @ index.js:30
_callee$ @ Mixins.js? [sm]:34
s @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
(anonymous) @ regeneratorRuntime.js:1
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
Promise.then (async)
asyncGeneratorStep @ asyncToGenerator.js:1
c @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
(anonymous) @ asyncToGenerator.js:1
Error: MiniProgramError
{"data":"<!DOCTYPE html>\n\n    \n        <meta charset=\"utf-8\">\n        <meta name=\"viewport\" content=\"width=device-width, initial-scale=1\">\n\n        <title>Server Error</title>\n\n        \n\n        \n    \n    \n
\n
\n
\n
\n                        500
\n\n
\n                        Server Error
\n
\n
\n
\n    \n\n","header":{"server":"nginx","content-type":"text/html; charset=UTF-8","cache-control":"no-cache, private","date":"Mon, 25 Sep 2023 08:06:11 GMT","access-control-allow-origin":"*"},"statusCode":500,"cookies":[],"errMsg":"request:ok"}
    at Object.errorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Function.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Object.thirdErrorReport (WAServiceMainContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at i (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Object.cb (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at V._privEmit (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at V.emit (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1
    at n (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)
    at Le (WASubContext.js?t=wechat&s=1695623143739&v=3.0.1:1)(env: Windows,mp,1.06.2308310; lib: 3.0.1)

https://docs.fresns.cn/guide/faq.html
必看第一条帖子，开启 APP_DEBUG=true
提供接口报错信息，不要全部日志给我

https://docs.fresns.cn/guide/faq.html
必看第二条帖子，提供接口报错信息给我，不要微信的日志
微信开发者工具也有 Network

抱歉耽误您时间了，因为我不是专业的开发者
下面这个应该是接口报错
{ "code": 21005, "message": "[Fresns][checkHeaders]: Command word request parameter error, reason: app id 必须是一个字符串。", "data": [ "app id 必须是一个字符串。" ] }

根据请求信息去处理就可以了，你 appId 不对，这是 Fresns API 的 app id 不是微信小程序的 app id

微信小程序的 app i

我在fresns.js里填写的确实是我在网站后台生成的小程序的appid和secret
并且用官方提供的网址appid和secret填写进去就没有问题，是否可能是我网站后台哪里没有配置好

你用自己的 appid 时，你的 host 是你自己的吗？

是的，已经备案过的域名，部署了ssl证书
https://chaiquan.store

抱歉耽误您时间了，因为我不是专业的开发者 下面这个应该是接口报错
{ "code": 21005, "message": "[Fresns][checkHeaders]: Command word request parameter error, reason: app id 必须是一个字符串。", "data": [ "app id 必须是一个字符串。" ] }

app id 必须是一个字符串。你填的是什么？

抱歉耽误您时间了，因为我不是专业的开发者 下面这个应该是接口报错
{ "code": 21005, "message": "[Fresns][checkHeaders]: Command word request parameter error, reason: app id 必须是一个字符串。", "data": [ "app id 必须是一个字符串。" ] }

app id 必须是一个字符串。你填的是什么？

填写的就是网站应用密钥创建的appid和appsecret，具体看截图，有需要的话我也能提供网站后台账号密码

logs记录如下，flareapp.io那个网站不太会用
[2023-09-26 15:50:09] production.ERROR: Fresns\DTO\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 {"exception":"[object] (TypeError(code: 0): Fresns\\DTO\\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 at /www/wwwroot/fresns/vendor/fresns/dto/src/DTO.php:33)
[stacktrace]
#0 /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php(61): Fresns\\DTO\\DTO->__construct()
#1 [internal function]: App\\Fresns\\Words\\Basic\\Basic->checkHeaders()
#2 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/CmdWord.php(133): call_user_func_array()
#3 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(106): Fresns\\CmdWordManager\\CmdWord->handle()
#4 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(112): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->forwardCmdWordCall()
#5 /www/wwwroot/fresns/app/Fresns/Api/Http/Middleware/CheckHeaderByWhitelist.php(21): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->__call()
#6 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Api\\Http\\Middleware\\CheckHeaderByWhitelist->handle()
#7 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#8 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Pipeline\\Pipeline->then()
#9 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\\Routing\\Router->runRouteWithinStack()
#10 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\\Routing\\Router->runRoute()
#11 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\\Routing\\Router->dispatchToRoute()
#12 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch()
#13 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#14 /www/wwwroot/fresns/app/Fresns/Install/Http/Middleware/DetectionRequestProtocol.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#15 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Install\\Http\\Middleware\\DetectionRequestProtocol->handle()
#16 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#17 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#18 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#19 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#21 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#22 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#23 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#24 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(89): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#26 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#27 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#28 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#29 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#30 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then()
#32 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#33 /www/wwwroot/fresns/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle()
#34 {main}
"}
[2023-09-26 15:50:09] production.ERROR: Fresns\DTO\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 {"exception":"[object] (TypeError(code: 0): Fresns\\DTO\\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 at /www/wwwroot/fresns/vendor/fresns/dto/src/DTO.php:33)
[stacktrace]
#0 /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php(61): Fresns\\DTO\\DTO->__construct()
#1 [internal function]: App\\Fresns\\Words\\Basic\\Basic->checkHeaders()
#2 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/CmdWord.php(133): call_user_func_array()
#3 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(106): Fresns\\CmdWordManager\\CmdWord->handle()
#4 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(112): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->forwardCmdWordCall()
#5 /www/wwwroot/fresns/app/Fresns/Api/Http/Middleware/CheckHeaderByWhitelist.php(21): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->__call()
#6 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Api\\Http\\Middleware\\CheckHeaderByWhitelist->handle()
#7 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#8 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Pipeline\\Pipeline->then()
#9 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\\Routing\\Router->runRouteWithinStack()
#10 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\\Routing\\Router->runRoute()
#11 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\\Routing\\Router->dispatchToRoute()
#12 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch()
#13 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#14 /www/wwwroot/fresns/app/Fresns/Install/Http/Middleware/DetectionRequestProtocol.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#15 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Install\\Http\\Middleware\\DetectionRequestProtocol->handle()
#16 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#17 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#18 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#19 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#21 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#22 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#23 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#24 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(89): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#26 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#27 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#28 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#29 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#30 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then()
#32 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#33 /www/wwwroot/fresns/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle()
#34 {main}
"}
[2023-09-26 15:50:11] production.ERROR: Fresns\DTO\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 {"exception":"[object] (TypeError(code: 0): Fresns\\DTO\\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 at /www/wwwroot/fresns/vendor/fresns/dto/src/DTO.php:33)
[stacktrace]
#0 /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php(61): Fresns\\DTO\\DTO->__construct()
#1 [internal function]: App\\Fresns\\Words\\Basic\\Basic->checkHeaders()
#2 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/CmdWord.php(133): call_user_func_array()
#3 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(106): Fresns\\CmdWordManager\\CmdWord->handle()
#4 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(112): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->forwardCmdWordCall()
#5 /www/wwwroot/fresns/app/Fresns/Api/Http/Middleware/CheckHeaderByWhitelist.php(21): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->__call()
#6 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Api\\Http\\Middleware\\CheckHeaderByWhitelist->handle()
#7 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#8 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Pipeline\\Pipeline->then()
#9 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\\Routing\\Router->runRouteWithinStack()
#10 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\\Routing\\Router->runRoute()
#11 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\\Routing\\Router->dispatchToRoute()
#12 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch()
#13 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#14 /www/wwwroot/fresns/app/Fresns/Install/Http/Middleware/DetectionRequestProtocol.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#15 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Install\\Http\\Middleware\\DetectionRequestProtocol->handle()
#16 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#17 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#18 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#19 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#21 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#22 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#23 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#24 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(89): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#26 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#27 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#28 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#29 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#30 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then()
#32 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#33 /www/wwwroot/fresns/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle()
#34 {main}
"}
[2023-09-26 15:50:13] production.ERROR: Fresns\DTO\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 {"exception":"[object] (TypeError(code: 0): Fresns\\DTO\\DTO::__construct(): Argument #1 ($data) must be of type array, null given, called in /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php on line 61 at /www/wwwroot/fresns/vendor/fresns/dto/src/DTO.php:33)
[stacktrace]
#0 /www/wwwroot/fresns/app/Fresns/Words/Basic/Basic.php(61): Fresns\\DTO\\DTO->__construct()
#1 [internal function]: App\\Fresns\\Words\\Basic\\Basic->checkHeaders()
#2 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/CmdWord.php(133): call_user_func_array()
#3 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(106): Fresns\\CmdWordManager\\CmdWord->handle()
#4 /www/wwwroot/fresns/vendor/fresns/cmd-word-manager/src/Traits/CmdWordProviderTrait.php(112): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->forwardCmdWordCall()
#5 /www/wwwroot/fresns/app/Fresns/Api/Http/Middleware/CheckHeaderByWhitelist.php(21): App\\Fresns\\Words\\Providers\\CmdWordServiceProvider->__call()
#6 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Api\\Http\\Middleware\\CheckHeaderByWhitelist->handle()
#7 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#8 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Pipeline\\Pipeline->then()
#9 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(777): Illuminate\\Routing\\Router->runRouteWithinStack()
#10 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(741): Illuminate\\Routing\\Router->runRoute()
#11 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Routing/Router.php(730): Illuminate\\Routing\\Router->dispatchToRoute()
#12 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(200): Illuminate\\Routing\\Router->dispatch()
#13 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#14 /www/wwwroot/fresns/app/Fresns/Install/Http/Middleware/DetectionRequestProtocol.php(22): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#15 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): App\\Fresns\\Install\\Http\\Middleware\\DetectionRequestProtocol->handle()
#16 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#17 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ConvertEmptyStringsToNull.php(31): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#18 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ConvertEmptyStringsToNull->handle()
#19 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TransformsRequest.php(21): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#20 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/TrimStrings.php(40): Illuminate\\Foundation\\Http\\Middleware\\TransformsRequest->handle()
#21 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\TrimStrings->handle()
#22 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/ValidatePostSize.php(27): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#23 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\ValidatePostSize->handle()
#24 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Middleware/PreventRequestsDuringMaintenance.php(89): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Foundation\\Http\\Middleware\\PreventRequestsDuringMaintenance->handle()
#26 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/HandleCors.php(62): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#27 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\HandleCors->handle()
#28 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Http/Middleware/TrustProxies.php(39): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#29 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Http\\Middleware\\TrustProxies->handle()
#30 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#31 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(175): Illuminate\\Pipeline\\Pipeline->then()
#32 /www/wwwroot/fresns/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(144): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#33 /www/wwwroot/fresns/public/index.php(51): Illuminate\\Foundation\\Http\\Kernel->handle()
#34 {main}
"}

找到问题了，可能是因为我把网站的模板改成moment，然后用的这个仓库的小程序调用就不行，换成官方应用商店的moment for wechat就好了。

找到问题了，可能是因为我把网站的模板改成moment，然后用的这个仓库的小程序调用就不行，换成官方应用商店的moment for wechat就好了。

网站模板和小程序没有直接关系，不会互相影响，你这个问题还是没解决。根据提示，就是你 appid 填写不对。

authors: Mekako jevantang

repo: fresns/wechat


text:
Typewriter active development?

Is typewriter under active development anymore?
If not, would you be open to me taking an active role in stewardship of typewriter?
My team at work uses typewriter everyday, it's an amazing tool and I would love to extend, add features, and continue to improve upon the great work that has already been completed.

@atotalnoob I don't think you guys are the only one :)
We've got two massive tst we are planning on open sourcing soon.

What can I do to contribute?
I'm assuming since there won't be any dependencies on the IDE, it will work in VSC as well?

if anyone's interested i released a small fork of typewriter, was mostly for self usage but why not share with this great community:
https://github.com/avilv/TypewriterX
its mostlys about adding more control over output
might tide you over till 2.0 is released here

@atotalnoob nothing right now, but once I get the new version up on GitHub there'll probably be plenty :)
Yes, it's a dotnet core global cli tool so any editor will work, but initially I'm focusing on intellisense-support for Visual Studio and Visual Studio Code only.

I will love to help with the new version. the current one is useful, but the new features are very promising to us.

@frhagn do you have a rough timeline/ETA?
I'm not here to question your process, but you have a few developers that are actively trying to contribute... Why not use them?

@frhagn do you have any update?

@frhagn do you have any update?

@frhagn any update?

@frhagn in 2.0 there should be a feature included to do roll up of all generated files into a single file or the ability to create an "index" file that includes references to all individually generated files.  The reason for this is that I'm running into a problem with webpack where it needs direct references to objects.  See my question on SO and the corresponding discussion at: DTOs and webpack

Other idea is Generate an nuGet Package for the code.model library, to make easy the external reference assembler feature. that helps building the reference every time the model changes.

@frhagn
I have created Typewriter.CLI that is .NET Core Command Line Interface port of Typewriter. It has only some restrictions on IncludeCurrentProject, IncludeReferencedProjects and IncludeAllProjects options. I hope it will speed up work on Typewriter version 2.0
Please take a look https://github.com/ReactiveThings/Typewriter/tree/cli

@ReactiveThings

I have created Typewriter.CLI that is .NET Core Command Line Interface port of Typewriter. It has only some restrictions on IncludeCurrentProject, IncludeReferencedProjects and IncludeAllProjects options. I hope it will speed up work on Typewriter version 2.0
Please take a look https://github.com/ReactiveThings/Typewriter/tree/cli

I'm having a lot of trouble getting this to work due to a problem trying to load System.Collections at runtime. I thought I would just need a binding redirect but can't figure it out. Am I missing something obvious? Here is the stack trace:
 Unhandled Exception: System.IO.FileLoadException: Could not load file or assembly 'System.Collections, Version=4.1.1.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a'. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)    at System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks, IntPtr ptrLoadContextBinder)    at System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, IntPtr ptrLoadContextBinder)    at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection)    at System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)    at System.Reflection.Assembly.Load(String assemblyString)    at Typewriter.TemplateEditor.Lexing.Roslyn.ShadowWorkspace.AddProjectWithDocument(String documentFileName, String text) in C:\Source\Github\Typewriter.Cli\src\Typewriter\TemplateEditor\Lexing\Roslyn\ShadowWorkspace.cs:line 57    at Typewriter.TemplateEditor.Lexing.Roslyn.ShadowClass..ctor() in C:\Source\Github\Typewriter.Cli\src\Typewriter\TemplateEditor\Lexing\Roslyn\ShadowClass.cs:line 52    at Typewriter.Generation.TemplateCodeParser.Parse(TemplateInfo templateProjectItem, String template, List1 extensions) in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\TemplateCodeParser.cs:line 28
at Typewriter.Generation.Template.b__12_0() in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Template.cs:line 93
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)    at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue()    at Typewriter.Generation.Template.<LazyConfiguration>b__11_0() in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Template.cs:line 61    at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)    at System.Lazy1.CreateValue()
at Typewriter.Generation.Template.get_Settings() in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Template.cs:line 29
at Typewriter.CLI.Typewriter.Generate(String solutionPath, String projectPath, IEnumerable1 templatePaths, BuildOptions buildOptions) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Typewriter.cs:line 41    at Typewriter.CLI.Program.Run(Options options) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Program.cs:line 47    at Typewriter.CLI.Program.<>c.<Main>b__0_0(Options options) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Program.cs:line 36    at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action)    at Typewriter.CLI.Program.Main(String[] args) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Program.cs:line 35

@valantonini
I'm got the same issue, My work around was:
Create the method on the template and call it. and returns IEnumerable avoiding dictionaries or similar.
It is not ideal but works.

@agustinbcu01
Thanks for the response. I don't think that will work for my particular case but I've found targeting coreapp2.1 or coreapp2.2 fixes the collections issue and it will work with enums but I'm now faced with the below when trying to run a template that deals with objects:
info: [0]
Builded 6 projects
warn: [0]
Template error: CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
fail: [0]
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
warn: [0]
Template error: CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
fail: [0]
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
warnUnhandled Exception: : [0]
Template error: CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
fail: [0]
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
warn: [0]
Template error: CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
fail: [0]
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
warn: [0]
Template error: CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
fail: [0]
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
warn: [0]
Template error: CS0012 The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
fail: [0]
The type 'Object' is defined in an assembly that is not referenced. You must add a reference to assembly 'mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089'.
System.Exception: Failed to compile template.
at Typewriter.Generation.Compiler.Compile(ShadowClass shadowClass) in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Compiler.cs:line 79
at Typewriter.Generation.TemplateCodeParser.Parse(TemplateInfo templateProjectItem, String template, List1 extensions) in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\TemplateCodeParser.cs:line 44    at Typewriter.Generation.Template.<LazyTemplate>b__12_0() in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Template.cs:line 85    at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)
at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)    at System.Lazy1.CreateValue()
at Typewriter.Generation.Template.b__11_0() in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Template.cs:line 61
at System.Lazy1.ViaFactory(LazyThreadSafetyMode mode)    at System.Lazy1.ExecutionAndPublication(LazyHelper executionAndPublication, Boolean useDefaultConstructor)
at System.Lazy1.CreateValue()    at Typewriter.Generation.Template.get_Settings() in C:\Source\Github\Typewriter.Cli\src\Typewriter\Generation\Template.cs:line 29    at Typewriter.CLI.Typewriter.Generate(String solutionPath, String projectPath, IEnumerable1 templatePaths, BuildOptions buildOptions) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Typewriter.cs:line 41
at Typewriter.CLI.Program.Run(Options options) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Program.cs:line 42
at Typewriter.CLI.Program.<>c.b__0_0(Options options) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Program.cs:line 33
at CommandLine.ParserResultExtensions.WithParsed[T](ParserResult1 result, Action1 action)
at Typewriter.CLI.Program.Main(String[] args) in C:\Source\Github\Typewriter.Cli\Typewriter.CLI\Program.cs:line 32

@valantonini It looks it doesn't work on Linux with .net core 2.0. I have updated it to .net core 2.1 and tested on docker image microsoft/dotnet:2.1-sdk. Please get the latest changes and check if it fixed your issue.

I see that you have another issue. Can you prepare a template that reproduce the error?

@ReactiveThings
Thanks, will do. It's a pretty complicated template using a dll we created that I can't post publicly. I will try to replicate the problem with a simplified version.

@valantonini Have you compiled dll with .NET Standard 2.0 target and reference to the new Typewriter.CodeModel?

@ReactiveThings Thanks very much.
Changing to a Typewriter.CodeModel appears to work. It worked perfectly for 2 fairly complicated projects. I am having trouble now with 1 final project that is just enums.
If I look at the Microsoft.CodeAnalysis.Workspaces.Projects in the RenderProject method in Typewriter.cs with the debugger, it says there are 0 documents. Any ideas?

@valantonini Please check if files have target Compile. Please also try to run with -c parameter and without -d

@ReactiveThings The -c option fixed my problems. Thank you so much for all your help and the awesome project. We can finally make test generation part of the build pipeline.
For those having issues here are some of the mistakes I made:

The --project is the project that contains the C# files to transpile not the project the .tst file resides in (if they live in different projects)
I had to use the --clean option not the default --design-time option (some of the symptoms of this were there were no templates being rendered and if you look at the Microsoft.CodeAnalysis.Workspaces.Projects variable in the Typewriter.cs>RenderProject method in the debugger you will see hasDocuments == false and no documents in the collection)
I use a custom dll in the .tst templates referenced using the #reference "~~\path\library.dll syntax. I had to recompile these using the dll generated from @ReactiveThings project

Legendary stuff!

Dear @frhagn, thanks for the tool. Any updates on the complete re-write and when you are planning rollout? The existing tool lacks properly recognizing enums and partial classes.

Hello @frhagn, just checking in to see how 2.0 is coming along. I haven't seen much public activity lately and it seems like you have folks here willing to help.
I've even seen forks starting to appear from this library (https://avilv.github.io/TypewriterX/, https://github.com/ReactiveThings/Typewriter/tree/cli). Perhaps its time to go public even with 2.0 incomplete so others can contribute and we can keep everybody on the same path. Thanks for this open source project, it has provided much help to my work!

source: gharchive/issue

authors: GJGowey-biBerk ReactiveThings Sc0tTyXL agustinbcu01 atotalnoob avilv frhagn pavangayakwad s4m0r4m4 valantonini

repo: frhagn/Typewriter

license_type: permissive

license_source: bigquery


text:
double slash in @1.0.39

After updating next-routes from 1.0.37 to 1.039 I get the error
Error when loading route: //c/HH
using next 3.0.1-beta.9 in production mode, on localhost is the same but the message is quite different

Can you please share some more info?

I see the problem, please update to 1.0.40

authors: Goluis fridays

repo: fridays/next-routes

license: MIT

license_source: github-api


text:
Added GitGuardian app

Sorry for the delay.

This looks good - is it possible to add listing of incidents and such though? E.g. this right here

Is there a hidden API?

This looks good - is it possible to add listing of incidents and such though? E.g. this right here
Is there a hidden API?

As of now its not possible to pull incidents via API. But here it says they're working on it.

This looks good - is it possible to add listing of incidents and such though? E.g. this right here
Is there a hidden API?

As of now its not possible to pull incidents via API. But here it says they're working on it.

It can be done using custom webhook though.

This looks good - is it possible to add listing of incidents and such though? E.g. this right here
Is there a hidden API?

As of now its not possible to pull incidents via API. But here it says they're working on it.

It can be done using custom webhook though.

Understood - let's keep it on the backburner for now, and get back to it if they release an "official" API

source: gharchive/pull-request

repo: frikky/Shuffle-apps


text:
Does image upload callbacks work??

Nice job with the angular integration... works well for me.
I'm wondering if callbacks for the image upload work fine?
should i put he callbacks on $scope.froalaOptions??
`.froalaeditor({
// Set the image upload parameter.
imageUploadParam: 'image_param',
    // Set the image upload URL.
    imageUploadURL: '/upload_image',

    // Additional upload params.
    imageUploadParams: {id: 'my_editor'},

    // Set request type.
    imageUploadMethod: 'POST',

    // Set max image size to 5MB.
    imageMaxSize: 5 * 1024 * 1024,

    // Allow to upload PNG and JPG.
    imageAllowedTypes: ['jpeg', 'jpg', 'png']
  })
  .on('froalaEditor.image.beforeUpload', function (e, editor, images) {
    // Return false if you want to stop the image upload.
  })
  .on('froalaEditor.image.uploaded', function (e, editor, response) {
    // Image was uploaded to the server.
  })
  .on('froalaEditor.image.inserted', function (e, editor, $img, response) {
    // Image was inserted in the editor.
  })
  .on('froalaEditor.image.replaced', function (e, editor, $img, response) {
    // Image was replaced in the editor.
  })`

@misawsneto You do put the callbacks on the options object but like this:
$scope.froalaOptions = {
     placeholderText: 'Add a Title',
     charCounterCount: false,
     toolbarInline: true,
     events: {
          'froalaEditor.initialized': function() {
               console.log('initialized');
          },
         'froalaEditor.image.beforeUpload': function (e, editor, images){
             //Your code
         }
     }
};

@cgallarno Hello,this events is image.beforeUpload，and then upload events how we write?thx you

authors: GZWZC cgallarno misawsneto

repo: froala/angular-froala

license: mit


text:
样式貌似有问题？！

删除掉默认主题后解决

authors: Thulof opsforce

repo: frostfan/hexo-theme-polarbear


text:
Set Route View id as self.path

I'm using SwiftUIRouter library on company Product, and encounter this issue frequently.
https://github.com/frzi/SwiftUIRouter/issues/39
I think that it is better to designate the Rotue's View id as self.path directly in the library than to individually.

Hm interesting. I figured if .id() was the fix for this cursed bug then it would be on the Route's Group view instead. I'll have a play with this before pulling.

Hey, do you have an update on it?

Sorry for the radio silence. There's still some testing regarding this - as this can be considered a breaking change. Adding an .id() to anything to SwiftUI can have dramatic side effects regarding states et al.

authors: 3a4oT frzi hxperl

repo: frzi/SwiftUIRouter


text:
Change name of keys and notifications

I also move FSHelpers to group Helpers

:+1:

:+1:

repo: fs/ios-base-swift


text:
Registration email does not reach the user.

Two users tried to register a new account. Both used their correct (zx-) account names but did not receive an email.
In order to prevent this, a better email sending system should be implemented. Preferably over smtp via the student union mail-server.

Is the issue that our PHP server is not accepted as sender for the university mail system? But then all mails sent by our server would be dropped? Yet, then no one could ever receive mails from our system. So, that seems unlikely. I have not enough expertise in mail sending topics, can not recommend how to proceed.

Fixed in e85436fac7d1303ba1a36a32c437ca12a149bb0a.

authors: caeze not-a-feature

repo: fsi-tue/ppi


text:
can't install on vs2013 premium

The latest version I could install was 0.30.4.
All later versions failed telling me no compatible products have been found.
Looking at the manifest I saw that the version range is 12-16, but only community edition.

/cc @hmemcpy

I was literally typing a comment, but forgot to press the button!!!
Hmm, Community is the "minimum" version, but I don't remember if they added this logic in 2013. Is your Visual Studio updated with the latest update?

Yes VS is updated.
in the vsixmanifest there's this:
  <Prerequisites>
    <Prerequisite Id="Microsoft.VisualStudio.Component.CoreEditor" Version="[15.0.26004.1,16.0)" DisplayName="Visual Studio core editor" />
  </Prerequisites>`````

The last version not containing this is installable on vs2013

Using VS2013 Ultimate Update 5.
I got round this by

(optional) Changing the .vsix to .zip
unzipping the vsix to a folder
editing the .vsixmanifest file, in my case I changed the InstallationTarget element to <InstallationTarget Version="[12.0,16.0)" Id="Microsoft.VisualStudio.Ultimate" /> (ref. https://msdn.microsoft.com/en-us/library/hh696828.aspx )
select all the files
right click, send to "Compressed folder"
change the extension back to .vsix
Double click to install

It then installs with no issue.
However I did not have nice icons on paket.dependencies or paket.references in my c# .net 4.6.2 dll projects, or in my solution folders. The tree view of packages does however show under the files, as do the icons on each depenency, and I have commands in the context menus as expected.

authors: AGBrown forki hmemcpy llehn


text:
s3fs 0.4.2 version fails with python3.7

S3fs (0.4.2) start to use fsspec==2023.3 which doesn't support python3.7.
So I'm getting the following error:
ModuleNotFoundError: No module named 'importlib.metadata

> import s3fs Traceback (most recent call last):   File "<stdin>", line 1, in <module>   File "/py3.7/lib/python3.7/site-packages/s3fs/__init__.py", line 1, in <module>     from .core import S3FileSystem, S3File   File "/py3.7/lib/python3.7/site-packages/s3fs/core.py", line 8, in <module>     from fsspec import AbstractFileSystem   File "/py3.7/lib/python3.7/site-packages/fsspec/__init__.py", line 1, in <module>     from importlib.metadata import entry_points ModuleNotFoundError: No module named 'importlib.metadata'

3.7 is not neither by fsspec nor s3fs anymore https://github.com/fsspec/s3fs/blob/4ff92133a9da6b2fe6cfb0fea7223a339c3cf0f8/setup.py#L23

Ah, I see you are using 0.4.2 still. You need to manually pin fsspec to an older version if you absolutely have to use that version. There is not much we can do about 0.4.2 🙁

ok, thank you @efiop  !


text:
Tailer is not streaming line if file is a symbolic link

Hi,
Seems like the Tailer is not pushing lines over the channel ( Lines() ) when the given filepath is a symbolic link.
I am instanciating the tailer this way:
logtailer := tailer.RunFseventFileTailer(filepath, false, true, logger)
the filepath is pointing to the file named access.log that is a symbolic link
-rw-r--r-- 1 dbenque dbenque  521 Feb 20 23:38 access0
lrwxrwxrwx 1 dbenque dbenque    7 Feb 20 23:38 access.log -> access0

At the same time I have process writting inside file access0. The lines finally arrive in one bulk when the process writting to the file access0 is terminated.
Would it be possible to support Symbolic Link for the tailer?
Note:
> uname -a
Linux ncelrnd0228 4.15.0-45-generic #48-Ubuntu SMP Tue Jan 29 16:28:13 UTC 2019 x86_64 x86_64 x86_64 GNU/Linux

Thanks,
David

The file tailer implementation doesn't support symbolic links. The reason is that the implementation reacts on file system events, like some process wrote to the file. With the symbolic link, these events don't occur because technically you don't write the symbolic link, but you write the file it points to.
Of course it would be possible to implement that (when the tailer sees a symbolic link, it could watch the file it points to instead of the link itselv), but this is currently not on the todo list.
The best workaround is to use the polling tailer instead. In grok_exporter you get that by configuring poll_interval_seconds, in code you get it with tailer.RunPollingFileTailer(...) or the new fswatcher.RunPollingFileTailer(...). I am currently refactoring the tailer implementations to add support for multiple log files, so if you use this in code be aware that this is internal api and will change in the near future.

authors: dbenque fstab


text:
Update sbt to 1.10.1

About this PR
📦 Updates org.scala-sbt:sbt from 1.9.9 to 1.10.1
📜 GitHub Release Notes - Version Diff
Usage
✅ Please merge!
I'll automatically update this PR to resolve conflicts as long as you don't change it yourself.
If you'd like to skip this version, you can just close this PR. If you have any feedback, just mention me in the comments below.
Configure Scala Steward for your repository with a .scala-steward.conf file.
Have a fantastic day writing Scala!

⚙ Adjust future updates
Add this to your .scala-steward.conf file to ignore future updates of this dependency:
updates.ignore = [ { groupId = "org.scala-sbt", artifactId = "sbt" } ]

Or, add this to slow down future updates of this dependency:
dependencyOverrides = [{
  pullRequests = { frequency = "30 days" },
  dependency = { groupId = "org.scala-sbt", artifactId = "sbt" }
}]

labels: library-update, early-semver-minor, semver-spec-minor, version-scheme:early-semver, commit-count:n:2

Superseded by #222.


text:
LICENSE file at top level?

I can see from the build.gradle and the pom that this is released under the MIT license, but it took a little digging.  Would you be willing to add the license file at the root folder level to make it clearer?
Thanks and sorry for the trouble.

Hi, sure, it makes sense

Done

authors: ftomassetti nkedel

repo: ftomassetti/kanvas


text:
Cannot log in using form - EU/Kia

Please check Services, Known Bug / Issues and Troubleshooting over here first: https://github.com/fuatakgun/kia_uvo/blob/master/README.md
Region and Brand of car
EU, E-Niro MY21
Describe the bug
A clear and concise description of what the bug is.
When configuring login credentials on the configuration form and submitting, the form times out after about a minute. The HA logs specifiy that the connection timed out.
Debug logs if an error occurred
2021-12-18 12:24:53 ERROR (MainThread) [custom_components.kia_uvo.config_flow] kia_uvo Exception in kia_uvo login : ('Connection aborted.', TimeoutE
rror(110, 'Operation timed out')) - traceback: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/local/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
TimeoutError: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 532, in increment
    raise six.reraise(type(error), error, _stacktrace)
  File "/usr/local/lib/python3.9/site-packages/urllib3/packages/six.py", line 769, in reraise
    raise value.with_traceback(tb)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 416, in connect
    self.sock = ssl_wrap_socket(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 449, in ssl_wrap_socket
    ssl_sock = _ssl_wrap_socket_impl(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/ssl_.py", line 493, in _ssl_wrap_socket_impl
    return ssl_context.wrap_socket(sock, server_hostname=server_hostname)
  File "/usr/local/lib/python3.9/ssl.py", line 500, in wrap_socket
    return self.sslsocket_class._create(
  File "/usr/local/lib/python3.9/ssl.py", line 1040, in _create
    self.do_handshake()
  File "/usr/local/lib/python3.9/ssl.py", line 1309, in do_handshake
    self._sslobj.do_handshake()
urllib3.exceptions.ProtocolError: ('Connection aborted.', TimeoutError(110, 'Operation timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/kia_uvo/config_flow.py", line 155, in async_step_user
    self.token = await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 101, in login
    self.device_id, self.stamp = self.get_device_id()
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 167, in get_device_id
    response = requests.post(url, headers=headers, json=payload)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 498, in send
    raise ConnectionError(err, request=request)
requests.exceptions.ConnectionError: ('Connection aborted.', TimeoutError(110, 'Operation timed out'))

Outlined here: https://github.com/fuatakgun/kia_uvo/blob/master/README.m
To Reproduce
Steps to reproduce the behavior:

Go to integration page
Add the Kia UVO/ Hyundai Bluelink integration
Enter credentials into the form and submit
Form returns with an error, HA log shows the above.

Expected behavior
Form submits and manages to reach the API server.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
API endpoint seems unavaiable, but I cannot tell why.
$ mtr -r -c 3 eu-account.kia.com
Start: 2021-12-18T13:01:10+0100
HOST: MintyNicole20               Loss%   Snt   Last   Avg  Best  Wrst StDev
  1.|-- _gateway                   0.0%     3    0.2   0.2   0.2   0.3   0.1
  2.|-- 192.168.2.1                0.0%     3    0.7   0.6   0.5   0.7   0.1
  3.|-- 002-208-158-163.dynamic.c  0.0%     3    1.2   1.4   1.2   1.5   0.2
  4.|-- cn-asd-kl-cr15-be2003-201  0.0%     3    2.6   2.4   2.1   2.6   0.2
  5.|-- hu0-1-0-7.ccr21.ams04.atl  0.0%     3    2.8   2.7   2.6   2.8   0.1
  6.|-- bt.ams04.atlas.cogentco.c  0.0%     3    2.5   2.4   2.3   2.5   0.1
  7.|-- t2c3-et-5-0-2-0.nl-ams2.g  0.0%     3    2.8   2.8   2.7   2.9   0.1
  8.|-- t2c3-xe-11-0-0.de-fra.gia  0.0%     3   11.0  22.5  10.8  45.6  20.0
  9.|-- ???                       100.0     3    0.0   0.0   0.0   0.0   0.0

$ nmap -Pn eu-account.kia.com
Starting Nmap 7.80 ( https://nmap.org ) at 2021-12-18 13:01 CET
Nmap scan report for eu-account.kia.com (185.106.8.62)
Host is up (0.011s latency).
Not shown: 999 filtered ports
PORT    STATE SERVICE
443/tcp open  https

Nmap done: 1 IP address (1 host up) scanned in 30.49 seconds

Server does not respond to ping requests but it does seem to have the HTTPS endpoint open.
I see the same pattern from a different server I own.

Can you enable debug logs and share them please?

2021-12-20 13:39:27 ERROR (MainThread) [custom_components.kia_uvo.config_flow] kia_uvo Exception in kia_uvo login : HTTPSConnectionPool(host='prd.eu-ccapi.kia.com', port=8080): Max retries exceeded with url: /api/v1/spa/notifications/register (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fe118e0>: Failed to establish a new connection: [Errno 110] Operation timed out')) - traceback: Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 174, in _new_conn
    conn = connection.create_connection(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 96, in create_connection
    raise err
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/connection.py", line 86, in create_connection
    sock.connect(sa)
TimeoutError: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 699, in urlopen
    httplib_response = self._make_request(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 382, in _make_request
    self._validate_conn(conn)
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 1010, in _validate_conn
    conn.connect()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 358, in connect
    conn = self._new_conn()
  File "/usr/local/lib/python3.9/site-packages/urllib3/connection.py", line 186, in _new_conn
    raise NewConnectionError(
urllib3.exceptions.NewConnectionError: <urllib3.connection.HTTPSConnection object at 0x7f8fe118e0>: Failed to establish a new connection: [Errno 110] Operation timed out

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 439, in send
    resp = conn.urlopen(
  File "/usr/local/lib/python3.9/site-packages/urllib3/connectionpool.py", line 755, in urlopen
    retries = retries.increment(
  File "/usr/local/lib/python3.9/site-packages/urllib3/util/retry.py", line 574, in increment
    raise MaxRetryError(_pool, url, error or ResponseError(cause))
urllib3.exceptions.MaxRetryError: HTTPSConnectionPool(host='prd.eu-ccapi.kia.com', port=8080): Max retries exceeded with url: /api/v1/spa/notifications/register (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fe118e0>: Failed to establish a new connection: [Errno 110] Operation timed out'))

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/config/custom_components/kia_uvo/config_flow.py", line 155, in async_step_user
    self.token = await self.hass.async_add_executor_job(
  File "/usr/local/lib/python3.9/concurrent/futures/thread.py", line 52, in run
    result = self.fn(*self.args, **self.kwargs)
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 101, in login
    self.device_id, self.stamp = self.get_device_id()
  File "/config/custom_components/kia_uvo/KiaUvoApiEU.py", line 167, in get_device_id
    response = requests.post(url, headers=headers, json=payload)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 117, in post
    return request('post', url, data=data, json=json, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/api.py", line 61, in request
    return session.request(method=method, url=url, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 542, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/sessions.py", line 655, in send
    r = adapter.send(request, **kwargs)
  File "/usr/local/lib/python3.9/site-packages/requests/adapters.py", line 516, in send
    raise ConnectionError(e, request=request)
requests.exceptions.ConnectionError: HTTPSConnectionPool(host='prd.eu-ccapi.kia.com', port=8080): Max retries exceeded with url: /api/v1/spa/notifications/register (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7f8fe118e0>: Failed to establish a new connection: [Errno 110] Operation timed out'))

with these settings. Unfortunately it doesn't give much more information since debug was already set for the initial post
default: error
logs:
  custom_components.kia_uvo: debug

authors: DutchessNicole fuatakgun


text:
表格render-filter

表格render-filter怎么使用？

表格是否支持官方所有API？

表格是否支持官方所有API？

有属性透传，兼容官方所有 Props + Events。

我在使用render-filter的时候无效，可否添加demo代码

我在使用render-filter的时候无效，可否添加demo代码

手头现在没环境，你可以先贴一下你现在是怎么写的。

authors: batsx fudiwei


text:
楕円モデルを用いた高速かつ正確なイベントベース型視線追跡：拡張現実感向けFACET

タイトル: 楕円モデルを用いた高速かつ正確なイベントベース型視線追跡：拡張現実感向けFACET
リンク: https://arxiv.org/abs/2409.15584
概要:
アイトラッキングは、拡張現実（XR）における視線ベースのインタラクションの鍵となる技術ですが、従来のフレームベースのシステムは、XRの要求する高精度、低遅延、電力効率を満たすのに苦労しています。イベントカメラは、高い時間分解能と低い消費電力を備えているため、有望な代替手段となります。本稿では、リアルタイムXRアプリケーション向けに最適化された、イベントデータから瞳孔楕円パラメータを直接出力するエンドツーエンドのニューラルネットワークであるFACET（Fast and Accurate Event-based Eye Tracking）を紹介します。楕円の出力は、後続の楕円ベースの瞳孔追跡に直接使用できます。モデルの学習のために、注釈付きデータを拡張し、元のマスクラベルを楕円ベースの注釈に変換することで、EV-Eyeデータセットを強化しました。さらに、角度の不連続性を解決するために新しい三角関数損失を採用し、高速な因果イベントボリュームイベント表現法を提案します。強化されたEV-Eyeテストセットにおいて、FACETは平均瞳孔中心誤差0.20ピクセル、推論時間0.53msを達成し、先行技術であるEV-Eyeと比較して、1.6倍と1.8倍のピクセル誤差と推論時間の削減、4.4倍と11.7倍のパラメータと演算量の削減を実現しました。コードはhttps://github.com/DeanJY/FACETで公開されています。

@yukihiko-fuyuki が以下のラベルを提案し、適用しました：

event-camera
object-tracking
eye-tracking

以下の新しいラベルが作成され、適用されました：

eye-tracking

repo: fulfulggg/Information-gathering


text:
CoreLocationCLI 4.0.0 seems to have broken json output and is having weird permissions issues

Monterey 12.3.1
CoreLocation 4.0.0
corelocationcli -j produces:
638 bytes, no JSON object
once I close a terminal window, corelocationcli permissions seem to vanish from preferences.
This seems a regression from the prior release but I don't have it to test.

I confirm the broken JSON option on macOS 12.4.
I also experienced the permission issue, but moving the binary under /Applications fixed it

M1 Mac with macOS 12.4. Confirm JSON option is broken. Couldn't reproduce the permission issues.

M1 Mac with macOS 12.1 (21C52), I confirm too JSON option is broken.

authors: kamidev myriadtim sametcodes seandenigris

repo: fulldecent/corelocationcli


text:
🛑 Xero Integration is down

In c9a23fd, Xero Integration (https://xero.agridigital.io/health) was down:

HTTP code: 504
Response time: 20655 ms

Resolved: Xero Integration is back up in 1506d24 after 10 minutes.

repo: fullprofile/agridigital-status-monitor


text:
Disable the Soft Delete Function?

How to disable the Soft Delete Function?

If you don't need it at all, you could just remove the ISoftDelete interface from the AuditableEntity class.

authors: SniperChan richardbartley

repo: fullstackhero/dotnet-webapi-boilerplate


text:
Auth Module: Bring methods in-line & add missing methods

Currently working through the auth docs on my own fork, there's some differences between the Firestack methods vs the JS method names.  I believe it should mimic the Firebase API as close as possible, since most users will reference their docs on how to do certain things, it'd make it easy to come straight to the same method here.
Also some methods are missing:
Differences:

[ ] listenForAuth

onAuthStateChanged
Might also be worth renaming unlistenForAuth to removeOnAuthStateChanged or something?

[ ] createUserWithEmail

createUserWithEmailAndPassword

[ ] signInWithEmail

signInWithEmailAndPassword

[ ] updateUserEmail

updateEmail

[ ] updateUserPassword

updatePassword

[ ] updateUserProfile

updateProfile

[ ] sendPasswordResetWithEmail

sendPasswordResetEmail

[ ] deleteUser

This is just user.delete(), not sure whether firebase.auth.delete() would feel correct?

Missing:

[ ] sendEmailVerification (https://github.com/fullstackreact/react-native-firestack/issues/114)

At this point, I think we need to create a deprecated helper that logs out deprecated warnings about using these methods and rename the methods to match their firebase js counterparts. Want to take a crack at that?

Sure, would a console.warn suffice?

Yep, definitely would.

authors: Ehesp auser

repo: fullstackreact/react-native-firestack


text:
MMBN1 - Save issues with no styles

There is an issue currently wher eif you do not select any styles and try to save you get a cannot convert null to byte error. This is in your BooleanExtensions.ToByte method.
Update:
return value.Value ? (byte)1 : (byte)0;
To:
return value.GetValueOrDefault(false) ? (byte)1 : (byte)0;
Current workaround: Open the styles screen and hit confirm to set the nulled fiedls to false.

This will be patched in the next major release, since we're really close to finishing it. Thank you for pointing this out!

authors: functionFox whodafreak

repo: functionFox/NaviDoctorLC


text:
Failing tests when commiting

As I mentioned yesterday in the stream, I keep failing test when I try to commit (just to sync my fork with the repo).
I'm on W10 x64. Tested in Git for Windows, CMD and Powershell.
Screenshots:

Pinging @kebien6020 since he's the one implementing the tests.

@TehSebaXx that pull request will allow you to configure TEST_TIMEOUT in .env.

@TehSebaXx I was trying to make another commit to this PR with changes @kebien6020 pointed out and got this error even with my changes to be able to set the timeout to 40000. After committing with --no-verify and trying to reproduce, I can't make it fail again. Try running the tests first npm test before committing. See if they fail that way. If they pass, try committing again and see what happens.

@planigan I cloned your branch and ran yarn test but I'm still failing... Now I'm getting some extra errors  Error Failed: navigation error then the Timeout error...

It was running...
I just tested on Ubuntu and failed one test then I tried again twice and it passed all...
I think I messed up on Windows because I forgot to switch branches... I'll try again later because right now Ubuntu is installing updated and I don't want to shut it down.

Mentioning here just in case... Managed to make it work on Ubuntu but with the same setup on W10 it doesn't work.

Finally managed to pass all the test...
The solution is easy.
All you have to do is to set NIGHTMARE_GOTO_TIMEOUT=40000 in the .env file (or at least this is what worked for me, play with the timeout until it works for you).
Thanks @planigan !!

Your welcome @TehSebaXx. You had pulled from my repo, correct?

@planigan at first I did, but now I just changed NIGHTMARE_GOTO_TIMEOUT to 40000 on my fork. For some reason on Ubuntu your fork worked fine a few times but then started to fail again,

Weird. I don't know what that variable would do without my fork. Also, @kebien6020 suggested that that variable would be more helpful if it were lowered rather than raised.

authors: TehSebaXx planigan

repo: fus-marcom/resource-center


text:
sparky tasks

In 3.7, I was using sparky to run a series of tasks, like this:
const {src,task,context}=require("fuse-box/sparky");
...
task("default",["clean","static-resources","scripts-hashes","touch-config","compile"]);

It seems this approach is not suitable in 4.0. Is sparky task support deprecated? What's the best practice I should follow?

This hasn't been impleented in 4.0 yet. But what I have done is just use Promise.all([   exec("clean"),   ecec("static-resources") ])
etc...
If you need in sequence (not parallel), you need to chain the promises instead.

This hasn't been impleented in 4.0 yet. But what I have done is just use Promise.all([   exec("clean"),   ecec("static-resources") ])
etc...
If you need in sequence (not parallel), you need to chain the promises instead.

@ericlenio or like this 😉
task("default", async (): Promise<void> => {
    await exec("clean");
    await exec("copy");
    await exec("build-styles");
    await exec("build-scripts");
});

authors: Gouigouix ericlenio patrickmichalina

repo: fuse-box/fuse-box


text:
chore: cleanup remove unreachable code and yarn-error.log

While looking at other things, I found some code that is unreachable.  This PR just removes the code since it isn't reachable.  But you'll want to review to see whether the code was just accidentally left it, or if it should be moved elsewhere instead of removed.
I also removed a yarn-error.log which I don't think was committed intentionally.

After I typed the description I realized I should also add yarn-error.log to the .gitignore, so I did that, too.


text:
Adding scipy based voronoi

geopandas 1.0+ introduced gdf.geometry.voronoi_polygons() but fused-py is on 0.14.4. Adding this as a work around

repo: fusedio/udfs


text:
UI no longer working for fleet module in Heroku

Go here, for example, to see the error:
https://autorenter-angular1.herokuapp.com/fleet/locations
This is the most recent commit. It ran fine locally, but it does look like it could be impacting things in production/heroku: https://github.com/fusionalliance/autorenter-angular1/commit/d00f55aa2601cd3a57011b66fc50eb145a3bf06d

Hopefully fixed with this pull request #61

This will be fixed with pull request #62

Good work, @JeremiahDotNet !

authors: BWortman JeremiahDotNet


text:
[requires.io] dependency update on master branch

This change is

Reviewed 1 of 1 files at r1.
Review status: all files reviewed at latest revision, all discussions resolved.

Comments from Reviewable

repo: fusionapp/documint


text:
Ariston Andris2 Top Wifi (Water Heater) unsupported whe type 5

Hi I have an Ariston Andris2 Top it used to work with chomupashchuk's integreation as a Lydos device, with the v3 it gets detected but i'm seeing an error "Unsupported whe type 5" can i make edits anywhere to get it recognized as a lydos device?

https://github.com/fustom/ariston-remotethermo-home-assistant-v3/wiki/Unsupported-whe|system-type

repo: fustom/python-ariston-api


text:
分词词典无效

我尝试对恒大相关的文章进行分词，结果错误率奇高，结果如下
'''
按照原计划，凯赛尔在西班牙学习三年后就将回国，但对于志向高远的“凯撒”来说，他更希望凭借未来三年的表现能留在西班牙继续深造，从而拉开自己的职业生涯，“**/随恒大/足校在西班牙学习三年后，我希望能留在这里，并开启自己的职业生涯
保监会再发狠/招恒大/人寿被禁止投资股票
这些/对恒大/概念股的影响有多大
然后在10月底三季报披露散户看/到恒大/**买了4.95%是不是要举牌了，许老板就把货都卖给你们了
'''
我将自定义词典中”恒大“的词频调整到了10000都没有任何变化，尝试jieba.suggest_freq('恒大', True)也没有用；尝试将HMM关掉，结果恒大这个词会被一直分成”恒/大“。

能不能再切之前，直接添加：
jieba.add_word("恒大")

repo: fxsjy/jieba


text:
Fyle 1vcx46z : Fixed change the split expense success pop up to success toast message

the error toast should also be above the bottom nav (above the pink camera) it shouldn't hide the bottom sections. Can we fix this @siddharth0-0 ?


text:
Add Config Tests

During work on #37 I realized that I could not find tests for the node_config file.
With this PR these tests are implemented as a prerequisite for #37

Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 33.10%. Comparing base (dd1ed1e) to head (e333935).

Additional details and impacted files
@@            Coverage Diff             @@
##              dev      #73      +/-   ##
==========================================
+ Coverage   33.02%   33.10%   +0.07%
==========================================
  Files          37       37
  Lines        5453     5453
  Branches     1251     1251
==========================================
+ Hits         1801     1805       +4
+ Misses       3584     3580       -4
  Partials       68       68

:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.

authors: codecov-commenter nspielbau


text:
flutter_rust_bridge_codegen broken

Somehow flutter_rust_bridge_codegen broke at some point today. My CI was failing because of it, so I decided to dig into it a bit more. It turns out to be broken for all new installs. Installing a fresh copy of it via cargo install flutter_rust_bridge_codegen fails with the following error message:
 Compiling flutter_rust_bridge_codegen v1.77.1
error[E0451]: field `config_path` of struct `Config` is private
  --> /Users/wouter/.cargo/registry/src/github.com-1ecc6299db9ec823/flutter_rust_bridge_codegen-1.77.1/src/commands.rs:99:11
   |
99 |         ..Default::default()
   |           ^^^^^^^^^^^^^^^^^^ field `config_path` is private

For more information about this error, try `rustc --explain E0451`.
error: could not compile `flutter_rust_bridge_codegen` due to previous error
warning: build failed, waiting for other jobs to finish...
error: failed to compile `flutter_rust_bridge_codegen v1.77.1`, intermediate artifacts can be found at `/var/folders/65/nl89nzxs5jx73y5n5515tc1w0000gn/T/cargo-installp3vlnI`

Not only version 1.77.1 doesn't work, I also tried 1.76.0 with no luck...
Something really strange is happening here, since my build worked fine yesterday with the exact same version and with exactly the same code and environmet. The field config_path is also nowhere to be found in the first place.
Any guesses as to what is happening?

Weird indeed, same issue here with 1.76.0:
   Compiling flutter_rust_bridge_codegen v1.76.0
error[E0451]: field `config_path` of struct `Config` is private
  --> C:\Users\Sander\.cargo\registry\src\github.com-1ecc6299db9ec823\flutter_rust_bridge_codegen-1.76.0\src\commands.rs:99:11
   |
99 |         ..Default::default()
   |           ^^^^^^^^^^^^^^^^^^ field `config_path` is private

For more information about this error, try `rustc --explain E0451`.
error: could not compile `flutter_rust_bridge_codegen` due to previous error
error: failed to compile `flutter_rust_bridge_codegen v1.76.0`, intermediate artifacts can be found at `C:\Users\Sander\AppData\Local\Temp\cargo-installye7coq`

At first I thought maybe 1.76.0 and 1.77.1 are overwritten but I don't think crates.io support overwriting a already released version at all...

Looks like a fix might be available soon: https://github.com/fzyzcjy/flutter_rust_bridge/pull/1232

Let's hope so. It doesn't explain why it worked yesterday and broke today tho... 🤔

Seems related: https://github.com/fzyzcjy/flutter_rust_bridge/pull/1232

@h3x4d3c1m4l Oh yes, that PR

Mozilla fixed it. Build it working again.

authors: fzyzcjy h3x4d3c1m4l w-ensink