Package Details: discord-chat-exporter-cli 2.43.3-1

Git Clone URL: https://aur.archlinux.org/discord-chat-exporter-cli.git (read-only, click to copy)
Package Base: discord-chat-exporter-cli
Description: Exports Discord chat logs to a file (Command-line interface only)
Upstream URL: https://github.com/Tyrrrz/DiscordChatExporter
Keywords: archival archiver chat discord export logger
Licenses: MIT
Submitter: Pegasis
Maintainer: atticf
Last Packager: atticf
Votes: 22
Popularity: 0.051341
First Submitted: 2020-09-20 05:19 (UTC)
Last Updated: 2024-05-26 22:43 (UTC)

Pinned Comments

Latest Comments

« First ‹ Previous 1 2 3 4 Next › Last »

heinrich5991 commented on 2022-12-24 22:35 (UTC)

The problem was that the version mentioned in netversion.patch must be the current version of dotnet-runtime-6.0, in my case 6.0.12, but it was currently at 6.0.10. This netversion.patch worked for me:

--- Directory.Build.props   2022-10-14 20:38:01.046129111 +1100
+++ Directory.Build.props.patched   2022-10-14 20:38:12.599462669 +1100
@@ -15,7 +15,7 @@
     apparently rely on a specific version of the runtime.
   -->
   <PropertyGroup>
-    <RuntimeFrameworkVersion>6.0.9</RuntimeFrameworkVersion>
+    <RuntimeFrameworkVersion>6.0.12</RuntimeFrameworkVersion>
   </PropertyGroup>

-</Project>
\ No newline at end of file
+</Project>

heinrich5991 commented on 2022-12-20 00:30 (UTC)

I'm getting the following when trying to build this:

Microsoft (R) Build Engine version 17.0.1+b177f8fa7 for .NET
Copyright (C) Microsoft Corporation. All rights reserved.

  Determining projects to restore...
  Restored .cache/yay/discordchatexporter-cli/src/DiscordChatExporter-2.36.4/DiscordChatExporter.Core/DiscordChatExporter.Core.csproj (in 275 ms).
.cache/yay/discordchatexporter-cli/src/DiscordChatExporter-2.36.4/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj : error NU1101: Unable to find package Microsoft.NETCore.App.Host.arch-x64. No packages exist with this id in source(s): nuget.org
  Failed to restore .cache/yay/discordchatexporter-cli/src/DiscordChatExporter-2.36.4/DiscordChatExporter.Cli/DiscordChatExporter.Cli.csproj (in 916 ms).
==> ERROR: A failure occurred in build().
    Aborting...
 -> error making: discordchatexporter-cli

Any idea what I'm doing wrong?

synthead commented on 2022-11-15 23:53 (UTC)

Here's a PKGBUILD that builds from sources and includes a self-contained binary: https://gist.github.com/synthead/c71664e47c3662aea0f0cce0bdbd37e6

synthead commented on 2022-11-15 17:59 (UTC)

Getting this message:

$ discord-chat-exporter-cli --help
You must install or update .NET to run this application.

App: /opt/discord-chat-exporter-cli/DiscordChatExporter.Cli.dll
Architecture: x64
Framework: 'Microsoft.NETCore.App', version '6.0.9' (x64)
.NET location: /usr/share/dotnet/

The following frameworks were found:
  7.0.0 at [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Learn about framework resolution:
https://aka.ms/dotnet/app-launch-failed

To install missing framework, download:
https://aka.ms/dotnet-core-applaunch?framework=Microsoft.NETCore.App&framework_version=6.0.9&arch=x64&rid=arch-x64

casual commented on 2022-10-31 22:59 (UTC)

@Pegasis

also check if you have dotnet 6 installed by dotnet --info. (pacman can't seem to enforce package versions if it has alphabetics in it)

It says I have 6.0.10, if you meant 6.0 down to the zero, I'll try to look into it, but thanks for the update :thumbsup:

[casual@home DISCORD]$ dotnet --info

global.json file:
  Not found

Host:
  Version:      6.0.10
  Architecture: x64
  Commit:       5a400c212a

.NET SDKs installed:
  No SDKs were found.

.NET runtimes installed:
  Microsoft.NETCore.App 6.0.10 [/usr/share/dotnet/shared/Microsoft.NETCore.App]

Download .NET:
  https://aka.ms/dotnet-download

Learn about .NET Runtimes and SDKs:
  https://aka.ms/dotnet/runtimes-sdk-info

btw, how do I get the AUR comments to hit my email whenever someone post a message? I missed what you said for a while now.

Pegasis commented on 2022-10-19 00:16 (UTC)

I updated the package from 2.36 to 2.36.2 which hopefully fixes the issue, also check if you have dotnet 6 installed by dotnet --info. (pacman can't seem to enforce package versions if it has alphabetics in it)

casual commented on 2022-10-18 19:58 (UTC)

Source says to contact the maintainer of the package from AUR if I have any issues, so this is my issue: System.IndexOutOfRangeException: Index was outside the bounds of the array. This is the full error:

  at DiscordChatExporter.Core.Exporting.Writers.Html.MessageGroupTemplate.ExecuteAsync() 
  at DiscordChatExporter.Core.Exporting.Writers.Html.MessageGroupTemplate.RenderAsync(TextWriter output, MessageGroupTemplateContext model, CancellationToken cancellationToken) 
  at DiscordChatExporter.Core.Exporting.Writers.Html.MessageGroupTemplate.RenderAsync(MessageGroupTemplateContext model, CancellationToken cancellationToken) 
  at DiscordChatExporter.Core.Exporting.Writers.HtmlMessageWriter.WriteMessageGroupAsync(IReadOnlyList`1 messages, CancellationToken cancellationToken) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Core\Exporting\Writers\HtmlMessageWriter.cs:100
  at DiscordChatExporter.Core.Exporting.Writers.HtmlMessageWriter.WritePostambleAsync(CancellationToken cancellationToken) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Core\Exporting\Writers\HtmlMessageWriter.cs:127
  at DiscordChatExporter.Core.Exporting.MessageExporter.ResetWriterAsync(CancellationToken cancellationToken) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Core\Exporting\MessageExporter.cs:26
  at DiscordChatExporter.Core.Exporting.MessageExporter.DisposeAsync() in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Core\Exporting\MessageExporter.cs:64
  at DiscordChatExporter.Core.Exporting.ChannelExporter.ExportChannelAsync(ExportRequest request, IProgress`1 progress, CancellationToken cancellationToken) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Core\Exporting\ChannelExporter.cs:79
  at DiscordChatExporter.Cli.Commands.Base.ExportCommandBase.<>c__DisplayClass43_2.<<ExecuteAsync>b__2>d.MoveNext() in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Cli\Commands\Base\ExportCommandBase.cs:166
  at DiscordChatExporter.Cli.Utils.Extensions.ConsoleExtensions.StartTaskAsync(ProgressContext progressContext, String description, Func`2 performOperationAsync) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Cli\Utils\Extensions\ConsoleExtensions.cs:43
  at DiscordChatExporter.Cli.Commands.Base.ExportCommandBase.<>c__DisplayClass43_1.<<ExecuteAsync>b__1>d.MoveNext() in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Cli\Commands\Base\ExportCommandBase.cs:147
  at System.Threading.Tasks.Parallel.<>c__50`1.<<ForEachAsync>b__50_0>d.MoveNext() 
  at DiscordChatExporter.Cli.Commands.Base.ExportCommandBase.<>c__DisplayClass43_0.<<ExecuteAsync>b__0>d.MoveNext() in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Cli\Commands\Base\ExportCommandBase.cs:136
  at Spectre.Console.Progress.<>c__DisplayClass27_0.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:98
  at Spectre.Console.Progress.<>c__DisplayClass28_0`1.<<StartAsync>b__0>d.MoveNext() in /_/src/Spectre.Console/Live/Progress/Progress.cs:133
  at Spectre.Console.Internal.DefaultExclusivityMode.RunAsync[T](Func`1 func) in /_/src/Spectre.Console/Internal/DefaultExclusivityMode.cs:40
  at Spectre.Console.Progress.StartAsync[T](Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:116
  at Spectre.Console.Progress.StartAsync(Func`2 action) in /_/src/Spectre.Console/Live/Progress/Progress.cs:96
  at DiscordChatExporter.Cli.Commands.Base.ExportCommandBase.ExecuteAsync(IConsole console, IReadOnlyList`1 channels) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Cli\Commands\Base\ExportCommandBase.cs:134
  at DiscordChatExporter.Cli.Commands.ExportGuildCommand.ExecuteAsync(IConsole console) in /D:\a\DiscordChatExporter\DiscordChatExporter\DiscordChatExporter.Cli\Commands\ExportGuildCommand.cs:35
  at CliFx.CliApplication.RunAsync(ApplicationSchema applicationSchema, CommandInput commandInput) in /D:\a\CliFx\CliFx\CliFx\CliApplication.cs:147
  at CliFx.CliApplication.RunAsync(IReadOnlyList`1 commandLineArguments, IReadOnlyDictionary`2 environmentVariables) in /D:\a\CliFx\CliFx\CliFx\CliApplication.cs:191

luspi commented on 2022-10-17 13:47 (UTC)

The b2sum of discordchatexporter-cli-2.36.2.tar.gz is wrong, should be: 51245214661e05791f7b529e2e5e2e45a9b7b4988b0f006c160308a00c121c759f133ff7921ce13f267176a908976487a856f16c63ce23ceb837b71f7bd439eb

atticf commented on 2022-06-11 13:21 (UTC)

FYI I am currently maintaining https://aur.archlinux.org/packages/discordchatexporter-cli which builds from source. It might be desirable to suffix the package with -bin now.