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

Error exporting channel (path parameter is null) #1179

Closed
4 of 5 tasks
okok7711 opened this issue Jan 1, 2024 · 1 comment
Closed
4 of 5 tasks

Error exporting channel (path parameter is null) #1179

okok7711 opened this issue Jan 1, 2024 · 1 comment
Labels

Comments

@okok7711
Copy link

okok7711 commented Jan 1, 2024

Version

v2.42.6

Flavor

CLI (Command-Line Interface)

Platform

Docker

Export format

JSON

Steps to reproduce

This issue only exists in one DM channel, I can't share an invite to that.
I also can't reproduce it with any other channel.
What I did:

  1. docker pull tyrrrz/discordchatexporter:stable
  2. Find Channel of Deleted User and copy CHANNEL_ID, and copy my TOKEN
  3. docker run --rm -it -v $PWD:/out tyrrrz/discordchatexporter:stable export -t "<TOKEN>" -c <CHANNEL_ID> --media -f Json --filter "-from:<my_name>"

Details

  • Expected Behaviour: Export Chat with media
  • Observed Behaviour: TargetInvocationException
    Stacktrace:
ERROR
System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation.
    System.ArgumentNullException: Value cannot be null. (Parameter 'path')
      at System.ArgumentNullException.Throw(String paramName)
      at System.ArgumentNullException.ThrowIfNull(Object argument, String paramName)
      at System.ArgumentException.ThrowNullOrEmptyException(String argument, String paramName)
      at System.IO.Path.GetFullPath(String path)
      at DiscordChatExporter.Cli.Commands.Base.ExportCommandBase.set_OutputPath(String value) in /tmp/app/DiscordChatExporter.Cli/Commands/Base/ExportCommandBase.cs:42
      at System.RuntimeMethodHandle.InvokeMethod(Object target, Void** arguments, Signature sig, Boolean isConstructor)
      at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
  at System.Reflection.MethodBaseInvoker.InvokeDirectByRefWithFewArgs(Object obj, Span`1 copyOfArgs, BindingFlags invokeAttr)
  at CliFx.Schema.BindablePropertyDescriptor.SetValue(ICommand commandInstance, Object value) in /_/CliFx/Schema/BindablePropertyDescriptor.cs:19
  at CliFx.CommandBinder.BindMember(IMemberSchema memberSchema, ICommand commandInstance, IReadOnlyList`1 rawValues) in /_/CliFx/CommandBinder.cs:244
  at CliFx.CommandBinder.BindOptions(CommandInput commandInput, CommandSchema commandSchema, ICommand commandInstance) in /_/CliFx/CommandBinder.cs:346
  at CliFx.CommandBinder.Bind(CommandInput commandInput, CommandSchema commandSchema, ICommand commandInstance) in /_/CliFx/CommandBinder.cs:402
  at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in /_/CliFx/CliApplication.cs:162
  at CliFx.CliApplication.RunAsync(IReadOnlyList`1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables) in /_/CliFx/CliApplication.cs:204
  • Additional Information: As stated in the Reproduction section, I can't reproduce with any other channel except for this Deleted User's channel. Even for other Deleted Users it works fine, just for this singular user it doesn't. If there's anything I can give to help or try, I'll do that

Checklist

  • I have looked through existing issues to make sure that this bug has not been reported before
  • I have provided a descriptive title for this issue
  • I have made sure that this bug is reproducible on the latest version of the application
  • I have provided all the information needed to reproduce this bug as efficiently as possible
  • I have sponsored this project
@okok7711 okok7711 added the bug label Jan 1, 2024
@okok7711
Copy link
Author

okok7711 commented Jan 2, 2024

This was probably caused due to a parser error so I should've used the ~ I apologise for creating the issue for that

@okok7711 okok7711 closed this as completed Jan 2, 2024
@Tyrrrz Tyrrrz added invalid and removed bug labels Jan 2, 2024
@Tyrrrz Tyrrrz changed the title Error Exporting Channel (path Parameter is null) Error exporting channel (path parameter is null) Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants