Coder Social home page Coder Social logo

Comments (20)

leic4u avatar leic4u commented on June 2, 2024

实测选择不迁移现有数据,可以正常更换目录,但是得手动迁移一遍原配置文件。

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

https://github.com/LibNyanpasu/clash-nyanpasu/actions/runs/8315834614
请尝试最新的开发版,应该是没有问题了

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

https://github.com/LibNyanpasu/clash-nyanpasu/actions/runs/8315834614 请尝试最新的开发版,应该是没有问题了

感谢,辛苦了。

刚试了下,确实没有报错了,不过迁移应用配置文件没成功。而且 nyanpasu 自动关闭了没有自动重启,我手动重启的,然后就生成了新的应用配置。

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

我从新的目录迁移回原目录,报错了。

image

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

我从新的目录迁移回原目录,报错了。

迁移回原目录时,选择不迁移应用配置,可以设置成功,手动重启后可以识别到原来的应用配置。

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

https://github.com/LibNyanpasu/clash-nyanpasu/actions/runs/8315834614 请尝试最新的开发版,应该是没有问题了

感谢,辛苦了。

刚试了下,确实没有报错了,不过迁移应用配置文件没成功。而且 nyanpasu 自动关闭了没有自动重启,我手动重启的,然后就生成了新的应用配置。

有没有日记给我看一下

我从新的目录迁移回原目录,报错了。

image

这个看起来是服务模式没有正确退出 😢

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

另外发现个问题,就是重启打开,或者从托盘区打开面板,会出现可视区域只有一半的问题。然后任意切换一下配置/连接/规则等再切回来就好了。

image

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

这个看起来是服务模式没有正确退出 😢

从空白的自定义目录切回有配置的自定义目录时,报错变了。这次是报的没有正确关闭服务模式。(因为我还没有开服务模式)

image

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

从空白的自定义目录(其实重启后也生成了默认配置不算空白目录了)切回有配置文件的自定义目录时,日志如下:

{"timestamp":"2024-03-17T14:47:51.257899Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2482312+08:00\" level=info msg=\"Start initial configuration in progress\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.257983Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2577072+08:00\" level=info msg=\"Geodata Loader mode: memconservative\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.258080Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2577072+08:00\" level=info msg=\"Geosite Matcher implementation: succinct\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.258220Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2577072+08:00\" level=info msg=\"Initial configuration complete, total time: 0ms\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.258241Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2577072+08:00\" level=info msg=\"Sniffer is closed\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.259380Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2591586+08:00\" level=info msg=\"RESTful API listening at: 127.0.0.1:17650\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.259477Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2591586+08:00\" level=info msg=\"Mixed(http+socks) proxy listening at: 127.0.0.1:7890\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:47:51.262061Z","level":"INFO","fields":{"message":"[clash]: time=\"2024-03-17T22:47:51.2618861+08:00\" level=info msg=\"Start initial Compatible provider default\"\n","log.target":"app","log.module_path":"clash_verge::core::clash::core","log.file":"tauri\\src\\core\\clash\\core.rs","log.line":208},"target":"app","filename":"tauri\\src\\core\\clash\\core.rs","line_number":208}
{"timestamp":"2024-03-17T14:48:01.596517Z","level":"ERROR","fields":{"message":"failed to connect to the Clash Nyanpasu Service","log.target":"app","log.module_path":"clash_verge::cmds::service","log.file":"tauri\\src\\cmds.rs","log.line":432},"target":"app","filename":"tauri\\src\\cmds.rs","line_number":432}
{"timestamp":"2024-03-17T14:48:06.912727Z","level":"WARN","fields":{"message":"NewEvents emitted without explicit RedrawEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","log.line":359},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","line_number":359}
{"timestamp":"2024-03-17T14:48:06.921536Z","level":"WARN","fields":{"message":"RedrawEventsCleared emitted without explicit MainEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","log.line":345},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","line_number":345}
{"timestamp":"2024-03-17T14:48:08.973989Z","level":"ERROR","fields":{"message":"failed to connect to the Clash Nyanpasu Service","log.target":"app","log.module_path":"clash_verge::cmds::service","log.file":"tauri\\src\\cmds.rs","log.line":432},"target":"app","filename":"tauri\\src\\cmds.rs","line_number":432}
{"timestamp":"2024-03-17T14:48:12.154372Z","level":"ERROR","fields":{"message":"failed to kill clash-verge-service.exe","log.target":"app","log.module_path":"clash_verge::cmds","log.file":"tauri\\src\\cmds.rs","log.line":404},"target":"app","filename":"tauri\\src\\cmds.rs","line_number":404}
{"timestamp":"2024-03-17T14:50:18.432145Z","level":"WARN","fields":{"message":"NewEvents emitted without explicit RedrawEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","log.line":359},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","line_number":359}
{"timestamp":"2024-03-17T14:50:18.444267Z","level":"WARN","fields":{"message":"RedrawEventsCleared emitted without explicit MainEventsCleared","log.target":"tao::platform_impl::platform::event_loop::runner","log.module_path":"tao::platform_impl::platform::event_loop::runner","log.file":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","log.line":345},"target":"tao::platform_impl::platform::event_loop::runner","filename":"C:\\Users\\runneradmin\\.cargo\\registry\\src\\index.crates.io-6f17d22bba15001f\\tao-0.16.7\\src\\platform_impl\\windows\\event_loop\\runner.rs","line_number":345}

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

有可能是 clash 和 logs 占用了文件,我明天写个 bat 来做迁移任务吧。

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

有可能是 clash 和 logs 占用了文件,我明天写个 bat 来做迁移任务吧。

有没有可能是我有两个客户端导致的,因为开着 nyanpasu 的同时还开着 clash-verge-rev ,nyanpasu 我没开服务模式,但是 clash-verge-rev 开了。

刚刚我看任务管理器的时候,没有 clash-verge-sevice 进程,clash-verge-rev 里面的服务模式也损坏了。应该是 nyanpasu 在迁移目录的时候,给我关掉了(也就是第一次报的那个 拒绝访问 os error 5),第二次因为没得关了,才报了 failed tokill clash-verge-service.exe

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

如果两个软件使用的是同一个配置目录,那么会的,反之,不会的 发自我的iPhone

不是同一个目录。

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

cc @4o3F 8cc9e8c

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

另外发现个问题,就是重启打开,或者从托盘区打开面板,会出现可视区域只有一半的问题。然后任意切换一下配置/连接/规则等再切回来就好了。

image

这个问题修复了

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

好的,辛苦开发者。明天装个开发版试试。

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

确实不报错了,但迁移没有成功,配置还是在原目录里面。

from clash-nyanpasu.

greenhat616 avatar greenhat616 commented on June 2, 2024

迁移等修复

from clash-nyanpasu.

4o3F avatar 4o3F commented on June 2, 2024

Fixed in 363bb4b

from clash-nyanpasu.

leic4u avatar leic4u commented on June 2, 2024

已换着花样测试,没有发现其他 bug 了。感谢二位开发者!

from clash-nyanpasu.

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.