Wox-launcher / Wox

A cross-platform launcher that simply works
http://wox-launcher.github.io/Wox/
GNU General Public License v3.0
24.37k stars 2.37k forks source link

Can't run the Wox-1.2.798 #538

Closed anjia0532 closed 8 years ago

anjia0532 commented 8 years ago

中文 / Chinese

https://ci.appveyor.com/project/qianlifeng/wox/build/artifacts 下载的最新的build,Wox-1.2.798.zip

  1. Wox 版本 Wox-1.2.798
  2. 运行Wox.exe 就闪退。最关键的log是 System.IO.FileNotFoundException: 未能加载文件或程序集“Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed”或它的某一个依赖项。系统找不到指定的文件。`
  3. Windows 版本 windows 10版本号1511(OS 10586.164)
anjia0532 commented 8 years ago

详细日志

2016-03-28 13:28:13.4214|INFO|Wox.Infrastructure.Logger.Log|Preload 0 programs from cache 2016-03-28 13:28:13.4884|FATAL|Wox.Infrastructure.Logger.Log|

Exception

System.IO.FileNotFoundException: 未能加载文件或程序集“Newtonsoft.Json, Version=7.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed”或它的某一个依赖项。系统找不到指定的文件。
   Source: mscorlib
   TargetAssembly: mscorlib, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089
   TargetModule: CommonLanguageRuntimeLibrary
   TargetSite: Void ResolveType(System.Reflection.RuntimeModule, Int32, IntPtr*, Int32, IntPtr*, Int32, System.Runtime.CompilerServices.ObjectHandleOnStack)
   在 System.ModuleHandle.ResolveType(RuntimeModule module, Int32 typeToken, IntPtr* typeInstArgs, Int32 typeInstCount, IntPtr* methodInstArgs, Int32 methodInstCount, ObjectHandleOnStack type)
   在 System.ModuleHandle.ResolveTypeHandleInternal(RuntimeModule module, Int32 typeToken, RuntimeTypeHandle[] typeInstantiationContext, RuntimeTypeHandle[] methodInstantiationContext)
   在 System.Reflection.RuntimeModule.ResolveType(Int32 metadataToken, Type[] genericTypeArguments, Type[] genericMethodArguments)
   在 System.Reflection.CustomAttribute.FilterCustomAttributeRecord(CustomAttributeRecord caRecord, MetadataImport scope, Assembly& lastAptcaOkAssembly, RuntimeModule decoratedModule, MetadataToken decoratedToken, RuntimeType attributeFilterType, Boolean mustBeInheritable, Object[] attributes, IList derivedAttributes, RuntimeType& attributeType, IRuntimeMethodInfo& ctor, Boolean& ctorHasParameters, Boolean& isVarArg)
   在 System.Reflection.CustomAttribute.IsCustomAttributeDefined(RuntimeModule decoratedModule, Int32 decoratedMetadataToken, RuntimeType attributeFilterType, Int32 attributeCtorToken, Boolean mustBeInheritable)
   在 System.Reflection.CustomAttribute.IsDefined(RuntimePropertyInfo property, RuntimeType caType)
   在 Newtonsoft.Json.Serialization.DefaultContractResolver.GetSerializableMembers(Type objectType)
   在 Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperties(Type type, MemberSerialization memberSerialization)
   在 Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType)
   在 Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract(Type type)
   在 Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize(JsonWriter jsonWriter, Object value, Type objectType)
   在 Newtonsoft.Json.JsonSerializer.SerializeInternal(JsonWriter jsonWriter, Object value, Type objectType)
   在 Newtonsoft.Json.JsonConvert.SerializeObjectInternal(Object value, Type type, JsonSerializer jsonSerializer)
   在 Wox.Infrastructure.Storage.JsonStrorage`1.<SaveInternal>b__4_0(Object o) 位置 C:\projects\wox\Wox.Infrastructure\Storage\JsonStorage.cs:行号 42
   在 System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx)
   在 System.Threading.QueueUserWorkItemCallback.System.Threading.IThreadPoolWorkItem.ExecuteWorkItem()
   在 System.Threading.ThreadPoolWorkQueue.Dispatch()

Environment

Assemblies - Wox.exe

gythialy commented 8 years ago

1.2.778 以后的版本好像都有这个问题

bao-qian commented 8 years ago

感谢汇报。试下新的。 https://ci.appveyor.com/project/qianlifeng/wox/build/1.2.801/artifacts

houdq commented 8 years ago

@happlebao 1.2.801 无法安装Youdao Translator 怎么破?

bao-qian commented 8 years ago

@psycoHo youdao 那个正在修复 #527 ,修复完会重新放上去。实在想用的话,把之前下的 PluginsWox.Plugin.Youdao 复制到新地方。