Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

The Pidgin Handler is not sending messages. #496

Open
mccrusader opened this issue Feb 19, 2025 · 0 comments
Open

The Pidgin Handler is not sending messages. #496

mccrusader opened this issue Feb 19, 2025 · 0 comments

Comments

@mccrusader
Copy link

Expected Behavior

  1. Open Pidgin.
  2. Start chats, switch chats, send message(s), or close chats.
  3. Repeat based on Handler argument probabilities.

Actual Behavior

  1. Open Pidgin.
  2. Start chats or switch chats.
  3. Repeat based on Handler argument probabilities.

The program successfully starts and switches conversations after a few minutes, but does not send or respond to messages.

Image

Steps to Reproduce the Problem

  1. Use the following timeline.json file:
{
  "Id": "c87ffe57-0f64-403b-9dc0-103b5baf38de",
  "Status": "Run",
  "TimeLineHandlers": [
    {
      "HandlerType": "Pidgin",
      "HandlerArgs": {
        "RepliesMin": 0,
        "RepliesMax": 5,
        "ErrorWindowTitles": ["XMPP Message Error"],
        "EmojiProbability": 0,
        "NewChatProbability": 10,
        "CloseChatProbability": 10,
        "TimeBetweenMessagesMax": 1000,
        "TimeBetweenMessagesMin": 100
      },
      "Initial": "",
      "UtcTimeOn": "00:00:00",
      "UtcTimeOff": "24:00:00",
      "Loop": "True",
      "TimeLineEvents": [
        {
          "Command": "random",
          "CommandArgs": ["test", "admin"],
          "DelayAfter": 2000,
          "DelayBefore": 0
        }
      ]
    }
  ]
}
  1. Install Pidgin version 2.14.14.
    I tried older versions and they still did not work.

  2. Install Pidgin-Mattermost plugin version 2.0.
    The plugin seems to work as intended.

  3. Set up the accounts.xml to have one Mattermost user and prefs.xml to include <pref name='tabs' type='bool' value='1'/>.

  4. Run the Ghost version 8.2.2

Specifications

  • Version: 8.2.2
  • OS: Windows 11 23H2
  • Platform: Mattermost

Logs

19/02/2025 19:24:00 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:24:03 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:24:18 PM|Trace|Ghosts.Client.Program.Run|Initiating ghosts startup - Local time: 14:24:18.7975003 UTC: 19:24:18.7975003
19/02/2025 19:24:19 PM|Debug|Ghosts.Domain.Code.ClientConfigurationLoader.get_Config|App config loaded successfully: C:\Program Files\ghosts-client-x64-v8.0.0\config\application.json
19/02/2025 19:24:19 PM|Debug|Ghosts.Client.Infrastructure.GuestInfoVars.Load|System.ComponentModel.Win32Exception: The system cannot find the file specified
19/02/2025 19:24:19 PM|Debug|Ghosts.Client.Comms.CheckId.Run|ID Received
19/02/2025 19:24:19 PM|Trace|Ghosts.Client.Comms.CheckId..ctor|CheckId instantiated with ID: "3a7d3a74-e8bd-40fc-bcbe-e02f179327a6"
19/02/2025 19:24:19 PM|Debug|Ghosts.Client.Infrastructure.GuestInfoVars.Load|System.ComponentModel.Win32Exception: The system cannot find the file specified
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|GHOSTS (ghosts:8.0.0.0 [8.2.2.0]) running in production mode
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Installed path: C:\Program Files\ghosts-client-x64-v8.0.0
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Running as Username: user - WindowsIdentity: WINDOWS\user
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\application.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\dictionary.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\email-content.csv == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\email-reply.csv == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\emails-domain.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\emails-outside.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\health.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\config\timeline.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\instance\id.json == True
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\instance\files-created.log == False
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\instance\trackables.json == False
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\instance\survey-results.json == False
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|C:\Program Files\ghosts-client-x64-v8.0.0\logs\clientupdates.log == True
19/02/2025 19:24:19 PM|Debug|Ghosts.Client.Infrastructure.GuestInfoVars.Load|System.ComponentModel.Win32Exception: The system cannot find the file specified
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|------------------
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Client Check-in Values:
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.Id = 
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.Name = windows
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.CurrentUsername = user
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.Domain = 
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.ClientIp = 192.168.65.23
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.FQDN = windows
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.Host = windows
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.IpAddress = 
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Machine.ResolvedHost = windows
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|------------------
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Base = http://ghosts-api:5000/api
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Id = http://ghosts-api:5000/api/clientid
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Survey = http://ghosts-api:5000/api/clientsurvey
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Socket = http://ghosts-api:5000/clientHub
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Timeline = http://ghosts-api:5000/api/clienttimeline
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Results = http://ghosts-api:5000/api/clientresults
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|Configured API Updates = http://ghosts-api:5000/api/clientupdates
19/02/2025 19:24:19 PM|Info|Ghosts.Client.Infrastructure.DebugManager.Write|------------------
19/02/2025 19:24:20 PM|Info|Ghosts.Client.Infrastructure.Email.EmailContentManager.Check|Email content loaded successfully with 7891 records found
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Program.Run|Configuration.ResourceControl.ManageProcesses = True
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Infrastructure.StartupTasks.CleanupProcesses|Running process cleaner...
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Infrastructure.StartupTasks.CleanupProcesses|Found ghosts pid: 6908
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Infrastructure.StartupTasks.CleanupProcesses|Killing ghosts
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Infrastructure.StartupTasks.SetStartup|Set startup registry key successfully
19/02/2025 19:24:20 PM|Info|Quartz.Impl.StdSchedulerFactory.InitializeProperties|Default Quartz.NET properties loaded from embedded resource file
19/02/2025 19:24:20 PM|Debug|Quartz.Impl.StdSchedulerFactory.Instantiate|TaskSchedulingThreadPool configured with max concurrency of 10 and TaskScheduler ThreadPoolTaskScheduler.
19/02/2025 19:24:20 PM|Info|Quartz.Core.QuartzScheduler..ctor|Initialized Scheduler Signaller of type: Quartz.Core.SchedulerSignalerImpl
19/02/2025 19:24:20 PM|Info|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Quartz Scheduler created
19/02/2025 19:24:20 PM|Info|Quartz.Simpl.RAMJobStore.Initialize|RAMJobStore initialized.
19/02/2025 19:24:20 PM|Info|Quartz.Impl.StdSchedulerFactory.Instantiate|Quartz Scheduler 3.8.1.0 - 'DefaultQuartzScheduler' with instanceId 'NON_CLUSTERED' initialized
19/02/2025 19:24:20 PM|Info|Quartz.Impl.StdSchedulerFactory.Instantiate|Using thread pool 'Quartz.Simpl.DefaultThreadPool', size: 10
19/02/2025 19:24:20 PM|Info|Quartz.Impl.StdSchedulerFactory.Instantiate|Using job store 'Quartz.Simpl.RAMJobStore', supports persistence: False, clustered: False
19/02/2025 19:24:20 PM|Info|Quartz.Core.QuartzScheduler.Start|Scheduler DefaultQuartzScheduler_$_NON_CLUSTERED started.
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.ListenerManager.Run|DirectoryListener created DirIn: C:\Program Files\ghosts-client-x64-v8.0.0\instance\timeline\in\)
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.ListenerManager.Run|DirectoryListener created DirIn: C:\Program Files\ghosts-client-x64-v8.0.0\instance\timeline\out\)
19/02/2025 19:24:20 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Program.Run|CheckID: 3a7d3a74-e8bd-40fc-bcbe-e02f179327a6
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Infrastructure.TempFiles.TempFileWatcher|TempFileWatcher loop beginning
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.SafetyNet|SafetyNet loop beginning
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.Infrastructure.TempFiles.TempFileWatcher|TempFileWatcher loop ending
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.Run|watching timeline.json
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.Run|Stopfile watcher is starting
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.WhatsInstalled|Outlook is installed: False
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.WhatsInstalled|Word is installed: False
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.WhatsInstalled|Excel is installed: False
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.WhatsInstalled|PowerPoint is installed: False
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.ThreadLaunchEx|Attempting new thread for: Pidgin
19/02/2025 19:24:20 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.SafetyNet|SafetyNet loop ending
19/02/2025 19:24:21 PM|Trace|Ghosts.Client.Handlers.Pidgin.Ex|Pidgin::  Command random with delay after of 2000
19/02/2025 19:24:21 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:24:21 PM|Trace|Ghosts.Client.Handlers.Pidgin.getBuddyListWindow|Pidgin:: Starting Pidgin. 
19/02/2025 19:24:21 PM|Trace|Ghosts.Client.TimelineManager.Orchestrator.SafetyNet|Minimized footprint and memory. Was: 109. Current: 109
19/02/2025 19:24:49 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:25:13 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:25:37 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:26:01 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:26:24 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:26:53 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:27:17 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:27:25 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:28 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:30 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:32 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:34 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:36 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:40 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:41 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:42 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:27:43 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:45 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:48 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:49 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:52 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:54 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:57 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:27:59 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:03 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:05 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:06 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:08 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:10 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:10 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
19/02/2025 19:28:12 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:13 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:15 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:17 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:19 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:21 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:24 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:26 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:28 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:31 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:32 PM|Trace|Ghosts.Client.Handlers.Pidgin.Command|Pidgin:: Beginning Pidgin activity cycle 
19/02/2025 19:28:36 PM|Debug|Quartz.Logging.LogProviders.NLogLogProvider+NLogLogger.Log|Batch acquisition of 0 triggers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant