sz_xd 发表于 2022-12-25 11:18:50

[8.0] 升级活字格8.0后 表格导出Excel会出错了, 经查原因是有这获取表格当前行的插件

本帖最后由 sz_xd 于 2022-12-25 11:40 编辑


今天为 2022年圣诞节,先祝大家: 圣诞快乐!新年进步!身体健康,心想事成!

我在 升级活字格8.0版本后, 发现表格导出Excel会出错了! 出错问题以下:

后经查了一段时间,才发现原因是导出面页有这【获取表格当前行】的插件有问题,这个插件为活字格伙伴分享提供,但却一直为活字格6.0版本未有及时升级,故请活字格官方对这些基础插件要维护一下,据了解活字格官方已成立有专人负责插件组了,希望这官方插件组在已成立的几个月中认真考虑一下如何维护这些伙伴提供的插件升能机制,希望对这插件升能有所作为,这起码是我会因活字格升级后发现插件版本有问题的第2次提出了,烦请重视了,谢谢!

:mj72:

备注:现我是发现活字格升级后,会因活字格伙伴插件未能升级的第2次出错(入插件坑)了,这插件商城解决不了这升级进行插件问题,将是我们格友使用个人插件的坑,希望活字格官方团队要重视了,谢谢!

另请问一下这 【活字格开发实验室】 是否为 活字格官方成立的开发部门? 如果是活字格官方成立的部门,请将尽快成立责任制要及时处理好这些插件维护跟进,当然这是活字格插件维护团队要做工作,起码这插件团队对查出未能升级且会影响格友使用时,要有提醒该作者要进行升级的,自己处理不了但要有起码提醒功能,谢谢!


:nbtz5:









在执行导出操作时,未知的异常出现。请再次尝试。{"ClassName": "System.AggregateException","Message": "One or more errors occurred.","Data": null,"InnerException": {    "$type": "System.IO.FileNotFoundException, System.Private.CoreLib",    "ClassName": "System.IO.FileNotFoundException",    "Message": "Could not load file or assembly 'GrapeCity.Forguncy.CellTypes.Design, Version=6.0.101.0, Culture=neutral, PublicKeyToken=967100671921c115'. 系统找不到指定的文件。",    "Data": null,    "InnerException": null,    "HelpURL": null,    "StackTraceString": "   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)   at System.Reflection.RuntimeMethodInfo.<get_Signature>g__LazyCreateSignature|24_0()   at System.Reflection.RuntimeMethodInfo.GetParameters()   at Newtonsoft.Json.Serialization.DefaultContractResolver.GetCallbackMethodsForType(Type type, List`1& onSerializing, List`1& onSerialized, List`1& onDeserializing, List`1& onDeserialized, List`1& onError)   at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveCallbackMethods(JsonContract contract, Type t)   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType)   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object& newValue, String& id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings)   at Forguncy.Server2.Controllers.Export.an.a(String A_0)",    "RemoteStackTraceString": null,    "RemoteStackIndex": 0,    "ExceptionMethod": null,    "HResult": -2147024894,    "Source": "System.Private.CoreLib",    "WatsonBuckets": null,    "FileNotFound_FileName": "GrapeCity.Forguncy.CellTypes.Design, Version=6.0.101.0, Culture=neutral, PublicKeyToken=967100671921c115",    "FileNotFound_FusionLog": null},"HelpURL": null,"StackTraceString": "   at System.Threading.Tasks.Task.ThrowIfExceptional(Boolean includeTaskCanceledExceptions)   at System.Threading.Tasks.Task`1.GetResultCore(Boolean waitCompletionNotification)   at System.Threading.Tasks.Task`1.get_Result()   at Forguncy.Server2.Controllers.Export.an..ctor(String A_0, String A_1)   at Forguncy.Server2.Controllers.a.d(String A_0)   at Forguncy.Server2.Controllers.a.n()   at Forguncy.Server2.Controllers.a.a(String A_0, List`1 A_1)   at Forguncy.Server2.Controllers.HomeController.a(Object A_0)","RemoteStackTraceString": null,"RemoteStackIndex": 0,"ExceptionMethod": null,"HResult": -2146233088,"Source": "System.Private.CoreLib","WatsonBuckets": null,"InnerExceptions": {    "$type": "System.Exception[], System.Private.CoreLib",    "$values": [      {      "$type": "System.IO.FileNotFoundException, System.Private.CoreLib",      "ClassName": "System.IO.FileNotFoundException",      "Message": "Could not load file or assembly 'GrapeCity.Forguncy.CellTypes.Design, Version=6.0.101.0, Culture=neutral, PublicKeyToken=967100671921c115'. 系统找不到指定的文件。",      "Data": null,      "InnerException": null,      "HelpURL": null,      "StackTraceString": "   at System.Signature.GetSignature(Void* pCorSig, Int32 cCorSig, RuntimeFieldHandleInternal fieldHandle, IRuntimeMethodInfo methodHandle, RuntimeType declaringType)   at System.Reflection.RuntimeMethodInfo.<get_Signature>g__LazyCreateSignature|24_0()   at System.Reflection.RuntimeMethodInfo.GetParameters()   at Newtonsoft.Json.Serialization.DefaultContractResolver.GetCallbackMethodsForType(Type type, List`1& onSerializing, List`1& onSerialized, List`1& onDeserializing, List`1& onDeserialized, List`1& onError)   at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveCallbackMethods(JsonContract contract, Type t)   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract(Type objectType)   at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract(Type objectType)   at System.Collections.Concurrent.ConcurrentDictionary`2.GetOrAdd(TKey key, Func`2 valueFactory)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ResolveTypeName(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, String qualifiedTypeName)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.ReadMetadataProperties(JsonReader reader, Type& objectType, JsonContract& contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue, Object& newValue, String& id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateDictionary(IDictionary dictionary, JsonReader reader, JsonDictionaryContract contract, JsonProperty containerProperty, String id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, JsonSerializerSettings settings)   at Forguncy.Server2.Controllers.Export.an.a(String A_0)",      "RemoteStackTraceString": null,      "RemoteStackIndex": 0,      "ExceptionMethod": null,      "HResult": -2147024894,      "Source": "System.Private.CoreLib",      "WatsonBuckets": null,      "FileNotFound_FileName": "GrapeCity.Forguncy.CellTypes.Design, Version=6.0.101.0, Culture=neutral, PublicKeyToken=967100671921c115",      "FileNotFound_FusionLog": null      }    ]}}CurrentMethodName: ExportToExcelThread




renho 发表于 2022-12-25 12:01:48

不用这个插件不就行了
官方的表格操作已经提供了获取当前行的命令

sz_xd 发表于 2022-12-25 12:13:15

renho 发表于 2022-12-25 12:01
不用这个插件不就行了
官方的表格操作已经提供了获取当前行的命令

非常感谢回复,用你这方法代替可以做到,谢谢!

其实2021年之前胡老板及梁总有分享JS的,只是后来有插件就改了,但不知不觉地就进坑了,

:mj72:

但这应该是活字格插件团队对这些不再升级的插件可以改用新插件进行代替时,可以进行提示一下,这坑真是要活字格领导们出手了,谢谢!

:bt^j:

gczxxu 发表于 2022-12-25 12:26:55

最新版xtools已包含这功能了,支持表格行至单元格,单元格集合至表格行(追加或替换当前行两种方式),同时支持跨页传递

sz_xd 发表于 2022-12-25 13:05:17

gczxxu 发表于 2022-12-25 12:26
最新版xtools已包含这功能了,支持表格行至单元格,单元格集合至表格行(追加或替换当前行两种方式),同时 ...

收到,谢谢!

:mj72:

但第三方插件 暂不能由活字格官方统一升级,难免出现不能及时升级会进坑了,现只能希望现活字格领导团队要检讨一下这插件管理机制,要吸纳一些好的个人插件转入官方插件或官方维护的插件,以便可以增加及弥补其官方插件功能不足,

David.Zhong 发表于 2022-12-26 09:43:53

renho 发表于 2022-12-25 12:01
不用这个插件不就行了
官方的表格操作已经提供了获取当前行的命令

是的,这个插件在活字格新版本上已经弃用了。
关于插件版本和升级的问题,我们也是一直在想办法解决,但是由于活字格开放插件的机制,导致我们的并不能完全管理所有的插件,方案是真的难。
不过我们也在努力。
在8.1中我们把葡萄城商城内嵌到设计器了,并且支持一键升级。
方便大佬们及时更新新版本插件。

页: [1]
查看完整版本: [8.0] 升级活字格8.0后 表格导出Excel会出错了, 经查原因是有这获取表格当前行的插件