MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    [mirai-api-http]梗查询插件——GengSearch

    插件发布
    python mirai-api-http
    25
    182
    36505
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • O
      orihalasakal @Koreyoshi last edited by

      @koreyoshi 好,蟹蟹大佬

      1 Reply Last reply Reply Quote 0
      • O
        orihalasakal @Koreyoshi last edited by

        @koreyoshi 大佬问一下,为什么有的时候插件启动之后过一会就自动闪退了,好几次碰到这种状况了

        Koreyoshi 1 Reply Last reply Reply Quote 0
        • Koreyoshi
          Koreyoshi @orihalasakal last edited by

          @orihalasakal 目前没遇到这种情况诶,是有人发送指令后插件获取到指令才闪退的吗?

          O 1 Reply Last reply Reply Quote 0
          • O
            orihalasakal @Koreyoshi last edited by

            @koreyoshi 不是,是启动一会之后不管有没有发指令都会闪退

            Koreyoshi 1 Reply Last reply Reply Quote 0
            • Koreyoshi
              Koreyoshi @orihalasakal last edited by

              @orihalasakal 功能是正常的?

              O 1 Reply Last reply Reply Quote 0
              • O
                orihalasakal @Koreyoshi last edited by

                @koreyoshi 功能正常,就是打开过一会就闪退

                Koreyoshi 1 Reply Last reply Reply Quote 0
                • Koreyoshi
                  Koreyoshi @orihalasakal last edited by

                  @orihalasakal 打开cmd,把exe拖到cmd里运行,我想看看它闪退时抛出的异常是什么

                  O 1 Reply Last reply Reply Quote 0
                  • O
                    orihalasakal @Koreyoshi last edited by

                    C:\Users\Administrator>C:\Users\Administrator\Desktop\GengSearch.Windows\GengSea
                    rch.exe
                    Traceback (most recent call last):
                    File "GengSearch.py", line 283, in <module>
                    File "GengSearch.py", line 264, in main
                    File "simuse.py", line 5, in Get_data
                    FileNotFoundError: [Errno 2] No such file or directory: 'data.json'
                    [2580] Failed to execute script 'GengSearch' due to unhandled exception!

                    Koreyoshi 1 Reply Last reply Reply Quote 0
                    • Koreyoshi
                      Koreyoshi @orihalasakal last edited by

                      @orihalasakal 目录下是不是没有data.json这个文件,或者是在改的时候格式出错了?

                      O 1 Reply Last reply Reply Quote 0
                      • O
                        orihalasakal @Koreyoshi last edited by

                        @koreyoshi 有啊,改的时候格式也没问题

                        Koreyoshi 2 Replies Last reply Reply Quote 0
                        • Koreyoshi
                          Koreyoshi @orihalasakal last edited by

                          @orihalasakal 要不QQ私我一下?我看一下是什么问题

                          O 1 Reply Last reply Reply Quote 0
                          • Koreyoshi
                            Koreyoshi @orihalasakal last edited by

                            @orihalasakal 确定data.json文件和exe文件在同一个地方吗?

                            1 Reply Last reply Reply Quote 0
                            • O
                              orihalasakal @Koreyoshi last edited by

                              @koreyoshi 我换了个新的data文件,现在有段时间没闪退了

                              Koreyoshi 1 Reply Last reply Reply Quote 0
                              • Koreyoshi
                                Koreyoshi @orihalasakal last edited by

                                @orihalasakal 嗯嗯,建议用notepad++这些编辑器编写

                                O 2 Replies Last reply Reply Quote 0
                                • O
                                  orihalasakal @Koreyoshi last edited by

                                  @koreyoshi 好,谢谢大佬

                                  1 Reply Last reply Reply Quote 0
                                  • CaliGrosto
                                    CaliGrosto last edited by

                                    -运行总显示这个
                                    [root@ecs-164626 GengSearch.Linux]# python3 GengSearch.py
                                    Traceback (most recent call last):
                                    File "/home/GengSearch.Linux/GengSearch.py", line 5, in <module>
                                    import requests
                                    ModuleNotFoundError: No module named 'requests'

                                    Koreyoshi 1 Reply Last reply Reply Quote 0
                                    • Koreyoshi
                                      Koreyoshi @CaliGrosto last edited by

                                      @caligrosto python没有内置reques包,要么升级python要么用pip安装request包吧,我晚点把request模块内置进去

                                      1 Reply Last reply Reply Quote 0
                                      • CaliGrosto
                                        CaliGrosto last edited by

                                        ooo谢了、

                                        1 Reply Last reply Reply Quote 0
                                        • CaliGrosto
                                          CaliGrosto last edited by

                                          Traceback (most recent call last):
                                          File "/home/GengSearch.Linux/GengSearch.py", line 283, in <module>
                                          main()
                                          File "/home/GengSearch.Linux/GengSearch.py", line 266, in main
                                          data=simuse.Get_Session(data)
                                          File "/home/GengSearch.Linux/simuse.py", line 47, in Get_Session
                                          session=res['session']
                                          KeyError: 'session'

                                          Koreyoshi 3 Replies Last reply Reply Quote 0
                                          • Koreyoshi
                                            Koreyoshi @CaliGrosto last edited by

                                            This post is deleted!
                                            1 Reply Last reply Reply Quote 0
                                            • 1
                                            • 2
                                            • 3
                                            • 4
                                            • 5
                                            • 9
                                            • 10
                                            • 2 / 10
                                            • First post
                                              Last post
                                            Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact