XX-net / XX-Net

A proxy tool to bypass GFW.
33.07k stars 7.69k forks source link

XX-net启动失败,未在Issues区和故障速查手册中见到! 无法确定原因! #4819

Open ZhangLanqiu opened 7 years ago

ZhangLanqiu commented 7 years ago

今天打开start.vbs的时候我的Chrome浏览器就出现如下信息,表示一脸的蒙逼! 在Issues和故障速查中并没有找到类似错误!

Function CurrentPath() strPath = Wscript.ScriptFullName Set objFSO = CreateObject("Scripting.FileSystemObject") Set objFile = objFSO.GetFile(strPath) CurrentPath = objFSO.GetParentFolderName(objFile) End Function

Function CurrentVersion() strCurrentPath = CurrentPath() strVersionFile = strCurrentPath & "/code/version.txt"

Set fso = CreateObject("Scripting.FileSystemObject")
If (fso.FileExists(strVersionFile)) Then

    Set objFileToRead = CreateObject("Scripting.FileSystemObject").OpenTextFile(strVersionFile,1)
    CurrentVersion = objFileToRead.ReadLine()

    version_path = strCurrentPath & "/code/" & CurrentVersion & "/launcher/start.py"
    If( Not fso.FileExists(version_path) ) Then
        CurrentVersion = "default"
    End If

    objFileToRead.Close
    Set objFileToRead = Nothing
Else
   CurrentVersion = "default"
End If

End Function

Function isConsole() Set objArgs = Wscript.Arguments 'WScript.Echo objArgs.Count 'WScript.Echo objArgs(0) isConsole = 0 If objArgs.Count > 0 Then if objArgs(0) = "console" Then isConsole = 1 End If End If End Function

strCurrentPath = CurrentPath() strVersion = CurrentVersion() Dim strArgs quo = """"

If isConsole() Then python_cmd = "python.exe" Else python_cmd = "pythonw.exe" End If

strExecutable = quo & strCurrentPath & "\code\" & strVersion & "\python27\1.0\" & python_cmd & quo strArgs = strExecutable & " " & quo & strCurrentPath & "\code\" & strVersion & "\launcher\start.py" & quo 'WScript.Echo strArgs

Set oShell = CreateObject ("Wscript.Shell") oShell.Run strArgs, isConsole(), false

jzp820927 commented 7 years ago

start.bat 呢?

ZhangLanqiu commented 7 years ago

@jzp820927 打开过了!出现的信息跟上面的一样!没有日志!

ZhangLanqiu commented 7 years ago

@jzp820927 已解决! 经过一个小时的思考,我终于解决了这个问题! 原来如此简单。。。。。。卸载重装在重新配置,我是不是很6 ?

jzp820927 commented 7 years ago

卸载重装?你指的是 XX ?是不是你电脑装的有什么国产 360,或者 XX 卫士之类的,把 XX 弄坏了。

ZhangLanqiu commented 7 years ago

具体原因。。。。I don't know! 我的方法简单粗暴直接卸载Chrome重装!然后重新配置XX-net ! 360我到是装了但是不影响吧! 都用几个月了!

jzp820927 commented 7 years ago

哦,那估计是 chrome 的问题了,之前有人遇到过,把 chrome 初始化之后就好了。具体原因不明。反正我的 chrome 是没遇到过类似问题。

theratlesnake commented 7 years ago

赶紧卸了360吧,别到时整个项目都被你的360卧底一窝端了

jzp820927 commented 7 years ago

LS 正确。

ZhangLanqiu commented 7 years ago

额。。。。。。有这么严重吗?

theratlesnake commented 7 years ago

做人别太自私就行。

theratlesnake commented 7 years ago

快播是怎么样死的,还记得不

jzp820927 commented 7 years ago

跪求科普快播是怎么样死的