Code Monkey home page Code Monkey logo

Comments (3)

Litre-WU avatar Litre-WU commented on July 17, 2024

没用过python,都是安装教程来的。环境相关的之前就安装好了,先执行pip install uvicorn xxxx的命令。没问题 然后执行python sign.py 提示没有问题,我就把项目的文件下载复制过去了。 但是执行的时候,提示: File "sign.py", line 87文件“sign.py”,第 87 行 cache.set(f'{k}{v}', v_)cache.set(f'{k}{v}', v_) ^ SyntaxError: invalid syntaxSyntaxError:语法无效

通过方式二运行,可以成功运行。但是无法通过直接通过浏览器进行访问。项目是部署在服务器上的。

方式一运行报的问题是try语句里面的,理论上这里应该不会报错,代码改动导致的错误,“cache.set(f'{k}{v}', v_)”中文括号导致的,方式二运行时用服务器ip加端口打开,并且保证端口已添加到出入规则里面和防火墙组里面

from sign.

727729853 avatar 727729853 commented on July 17, 2024

2024-04-23 10:02:38.924 | INFO | main:m10086:894 - finishTask 查询你的账单 2 671 {"code":"FAILED","msg":"未达到任务完成条件","status":null,"data":null,"success":false}
2024-04-23 10:02:39.114 | INFO | main:m10086:902 - getTaskAward 查询你的账单 2 671 {"code":"FAILED","msg":"未达到奖品领取条件","status":null,"data":null,"success":false}

试了下移动,执行成功了但是部分返回失败。

from sign.

Litre-WU avatar Litre-WU commented on July 17, 2024

移动部分类型的任务暂时不支持的哈

from sign.

Related Issues (20)

Recommend Projects

  • React photo React

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

  • Vue.js photo Vue.js

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

  • Typescript photo Typescript

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

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

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

Recommend Topics

  • javascript

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

  • web

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

  • server

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

  • Machine learning

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

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

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

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.