phdesign / NppToolBucket

Plugin of assorted tools for Notepad++ including Multi-line search and replace.
http://phdesign.com.au/npptoolbucket/
Apache License 2.0
54 stars 11 forks source link

Unable to start Notepad++ after plugin added on MacOS Wine64 #34

Open siara-cc opened 1 month ago

siara-cc commented 1 month ago

Hi,

This plugin is stopping Notepad++ from starting up with following error on the console. I tried installing on Notepad++ which I use in MacOS through Wine64:

000b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
000d:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0010:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0017:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
001d:err:plugplay:process_IOService_Device object 0x6703
001d:err:plugplay:process_IOService_Device object 0x6803
001d:err:plugplay:process_IOService_Device object 0x9403
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9407
001d:err:plugplay:process_IOService_Device object 0x6c03
001d:err:plugplay:process_IOService_Device object 0x9203
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x9207
001d:err:plugplay:process_IOService_Device object 0x6f03
001f:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0025:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0027:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0025:fixme:imm:ImmReleaseContext (000000000001010C, 0000000000CC5FF0): stub
0025:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

Unhandled Exception:
System.ArgumentException: An item with the same key has already been added. Key: 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings.Load () [0x0006e] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings..ctor (System.String filePath) [0x00051] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Main.CommandMenuInit () [0x00005] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.PluginCore.UnmanagedExports.setInfo (phdesign.NppToolBucket.PluginCore.NppData notepadPlusData) [0x00006] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at (wrapper native-to-managed) phdesign.NppToolBucket.PluginCore.UnmanagedExports.setInfo(phdesign.NppToolBucket.PluginCore.NppData)
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: An item with the same key has already been added. Key: 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings.Load () [0x0006e] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings..ctor (System.String filePath) [0x00051] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Main.CommandMenuInit () [0x00005] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.PluginCore.UnmanagedExports.setInfo (phdesign.NppToolBucket.PluginCore.NppData notepadPlusData) [0x00006] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
arun@Arundales-MacBook-Air ~ % vi startNpp.sh 
arun@Arundales-MacBook-Air ~ % wine ~/.wine/drive_c/Program\ Files/Notepad++/notepad++.exe --help
000b:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
000d:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0010:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0017:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
001d:err:plugplay:process_IOService_Device object 0x9403
001d:err:plugplay:process_IOService_Device object 0x6503
001d:err:plugplay:process_IOService_Device object 0x6703
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x6707
001d:err:plugplay:process_IOService_Device object 0x9103
001d:err:plugplay:process_IOService_Device object 0x6a03
001d:err:plugplay:process_IOService_Device Unable to create plug in interface for USB deviceobject 0x6a07
001d:err:plugplay:process_IOService_Device object 0x8c03
001f:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0025:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0027:fixme:thread:create_user_shared_data_thread Creating user shared data update thread.
0025:fixme:imm:ImmReleaseContext (0000000000010110, 00000000005F1570): stub
0025:fixme:ntdll:NtQuerySystemInformation info_class SYSTEM_PERFORMANCE_INFORMATION

Unhandled Exception:
System.ArgumentException: An item with the same key has already been added. Key: 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings.Load () [0x0006e] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings..ctor (System.String filePath) [0x00051] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Main.CommandMenuInit () [0x00005] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.PluginCore.UnmanagedExports.setInfo (phdesign.NppToolBucket.PluginCore.NppData notepadPlusData) [0x00006] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at (wrapper native-to-managed) phdesign.NppToolBucket.PluginCore.UnmanagedExports.setInfo(phdesign.NppToolBucket.PluginCore.NppData)
[ERROR] FATAL UNHANDLED EXCEPTION: System.ArgumentException: An item with the same key has already been added. Key: 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].TryInsert (TKey key, TValue value, System.Collections.Generic.InsertionBehavior behavior) [0x0015a] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at System.Collections.Generic.Dictionary`2[TKey,TValue].Add (TKey key, TValue value) [0x00000] in <006aeda5450e44e2a7c0b3f3e62d74fd>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings.Load () [0x0006e] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Infrastructure.Settings..ctor (System.String filePath) [0x00051] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.Main.CommandMenuInit () [0x00005] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
  at phdesign.NppToolBucket.PluginCore.UnmanagedExports.setInfo (phdesign.NppToolBucket.PluginCore.NppData notepadPlusData) [0x00006] in <2895df80ea874781bf9f962fcb3fbcf4>:0 
siara-cc commented 1 month ago

If I move out the plugin from plugins folder Notepad++ starts normally.