[GH-ISSUE #2963] [BUG]: Error when uploading PowerPoint .pptx files #1890

Closed
opened 2026-02-22 18:27:01 -05:00 by yindo · 5 comments
Owner

Originally created by @Oprocon on GitHub (Jan 10, 2025).
Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2963

How are you running AnythingLLM?

AnythingLLM desktop app

What happened?

I cannot upload PowerPoint .pptx files to MyDocuments through the "Click to upload or drag and drop" facility.

I am able to upload .docx, .xlsx, .pdf, .csv and .txt files from the same local Windows folder to AnythingLLM MyDocuments without any problem via both the user interface and the API.

Are there known steps to reproduce?

After browsing and selecting the .pptx file to upload, I receive the error "A processing error occurred." and the "Uploading file..." symbols persist in both the left and right panes.

This issue is also present when I try to upload .pptx files through the API and I receive the same error response from the server.

I'm using v1.7.2 and I can provide further system details, files or screenshots if that would be helpful.

You've created an incredible piece of software... Many thanks!

Originally created by @Oprocon on GitHub (Jan 10, 2025). Original GitHub issue: https://github.com/Mintplex-Labs/anything-llm/issues/2963 ### How are you running AnythingLLM? AnythingLLM desktop app ### What happened? I cannot upload PowerPoint .pptx files to MyDocuments through the "Click to upload or drag and drop" facility. I am able to upload .docx, .xlsx, .pdf, .csv and .txt files from the same local Windows folder to AnythingLLM MyDocuments without any problem via both the user interface and the API. ### Are there known steps to reproduce? After browsing and selecting the .pptx file to upload, I receive the error "A processing error occurred." and the "Uploading file..." symbols persist in both the left and right panes. This issue is also present when I try to upload .pptx files through the API and I receive the same error response from the server. I'm using v1.7.2 and I can provide further system details, files or screenshots if that would be helpful. You've created an incredible piece of software... Many thanks!
yindo added the possible bug label 2026-02-22 18:27:01 -05:00
yindo closed this issue 2026-02-22 18:27:01 -05:00
Author
Owner

@timothycarambat commented on GitHub (Jan 11, 2025):

Pulling the collector logs here would be helpful - the error will or should be more verbose there:
https://docs.anythingllm.com/installation-desktop/debug

Will close for now until we can repro or identify a root cause :+1

@timothycarambat commented on GitHub (Jan 11, 2025): Pulling the collector logs here would be helpful - the error will or should be more verbose there: https://docs.anythingllm.com/installation-desktop/debug Will close for now until we can repro or identify a root cause :+1
Author
Owner

@Oprocon commented on GitHub (Jan 12, 2025):

Sorry, I'm not so familiar with this territory but this is what I get from PowerShell when I try to upload PowerPoint file "test.pptx" into My Documents.
I hope this is what you're after but please let me know if it's something else that you need.

PS C:\> C:\Users\matth\AppData\Local\Programs\AnythingLLM\AnythingLLM.exe
PS C:\> nces] preference config stored at C:\Users\matth\AppData\Roaming\anythingllm-desktop\config.json
[Preferences] preference config stored at C:\Users\matth\AppData\Roaming\anythingllm-desktop\config.json
Prisma schema loaded from prisma\schema.prisma
Datasource "db": SQLite database "anythingllm.db" at "file:C:/Users/matth/AppData/Roaming/anythingllm-desktop/storage/anythingllm.db"

Already in sync, no schema change or pending migration was found.

✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 199ms


Prisma schema loaded from prisma\schema.prisma

✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 204ms

Start using Prisma Client in Node.js (See: https://pris.ly/d/client)

import { PrismaClient } from '@prisma/client'
const prisma = new PrismaClient()

or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate)

import { PrismaClient } from '@prisma/client/edge'
const prisma = new PrismaClient()


See other ways of importing Prisma Client: http://pris.ly/d/importing-client

┌─────────────────────────────────────────────────────────┐
│  Update available 5.3.1 -> 6.2.1                        │
│                                                         │
│  This is a major update - please follow the guide at    │
│  https://pris.ly/d/major-version-upgrade                │
│                                                         │
│  Run the following to update                            │
│    npm i --save-dev prisma@latest                       │
│    npm i @prisma/client@latest                          │
└─────────────────────────────────────────────────────────┘
[OllamaProcessManager] Ollama will bind on port 11434 when booted.
[Preferences] Will load window with last know bounds.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] info: Collector hot directory and tmp storage wiped!
[collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888.
[backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM.
[backend] info: prisma:info Starting a sqlite pool with 9 connections.
[backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"1c3d8b28-71b0-41e7-80cb-c85ad438c1f6","properties":{"runtime":"desktop"}}
[backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is localai.
[backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled.
[backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started.
[backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data.
[collector] info: -- Working test.pptx --
[collector] error: ReferenceError: generategenerateLocalfileChunkSourceChunkSource is not defined
    at _n (C:\Users\matth\AppData\Local\Programs\AnythingLLM\resources\backend\collector.js:10:815)
    at async Rr (C:\Users\matth\AppData\Local\Programs\AnythingLLM\resources\backend\collector.js:18:2807)
    at async `C:\Users\matth\AppData\Local\Programs\AnythingLLM\resources\backend\collector.js:43:761
@Oprocon commented on GitHub (Jan 12, 2025): Sorry, I'm not so familiar with this territory but this is what I get from PowerShell when I try to upload PowerPoint file "test.pptx" into My Documents. I hope this is what you're after but please let me know if it's something else that you need. ``` PS C:\> C:\Users\matth\AppData\Local\Programs\AnythingLLM\AnythingLLM.exe PS C:\> nces] preference config stored at C:\Users\matth\AppData\Roaming\anythingllm-desktop\config.json [Preferences] preference config stored at C:\Users\matth\AppData\Roaming\anythingllm-desktop\config.json Prisma schema loaded from prisma\schema.prisma Datasource "db": SQLite database "anythingllm.db" at "file:C:/Users/matth/AppData/Roaming/anythingllm-desktop/storage/anythingllm.db" Already in sync, no schema change or pending migration was found. ✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 199ms Prisma schema loaded from prisma\schema.prisma ✔ Generated Prisma Client (v5.3.1) to .\node_modules\@prisma\client in 204ms Start using Prisma Client in Node.js (See: https://pris.ly/d/client) import { PrismaClient } from '@prisma/client' const prisma = new PrismaClient() or start using Prisma Client at the edge (See: https://pris.ly/d/accelerate) import { PrismaClient } from '@prisma/client/edge' const prisma = new PrismaClient() See other ways of importing Prisma Client: http://pris.ly/d/importing-client ┌─────────────────────────────────────────────────────────┐ │ Update available 5.3.1 -> 6.2.1 │ │ │ │ This is a major update - please follow the guide at │ │ https://pris.ly/d/major-version-upgrade │ │ │ │ Run the following to update │ │ npm i --save-dev prisma@latest │ │ npm i @prisma/client@latest │ └─────────────────────────────────────────────────────────┘ [OllamaProcessManager] Ollama will bind on port 11434 when booted. [Preferences] Will load window with last know bounds. [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [collector] info: Collector hot directory and tmp storage wiped! [collector] info: [production] AnythingLLM Standalone Document processor listening on port 8888. [backend] info: [TELEMETRY ENABLED] Anonymous Telemetry enabled. Telemetry helps Mintplex Labs Inc improve AnythingLLM. [backend] info: prisma:info Starting a sqlite pool with 9 connections. [backend] info: [TELEMETRY SENT] {"event":"server_boot","distinctId":"1c3d8b28-71b0-41e7-80cb-c85ad438c1f6","properties":{"runtime":"desktop"}} [backend] info: Skipping preloading of AnythingLLMOllama - LLM_PROVIDER is localai. [backend] info: [CommunicationKey] RSA key pair generated for signed payloads within AnythingLLM services. [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [backend] info: [production] AnythingLLM Standalone Backend listening on port 3001. Network discovery is disabled. [backend] info: [BackgroundWorkerService] Feature is not enabled and will not be started. [backend] info: [EncryptionManager] Loaded existing key & salt for encrypting arbitrary data. [collector] info: -- Working test.pptx -- [collector] error: ReferenceError: generategenerateLocalfileChunkSourceChunkSource is not defined at _n (C:\Users\matth\AppData\Local\Programs\AnythingLLM\resources\backend\collector.js:10:815) at async Rr (C:\Users\matth\AppData\Local\Programs\AnythingLLM\resources\backend\collector.js:18:2807) at async `C:\Users\matth\AppData\Local\Programs\AnythingLLM\resources\backend\collector.js:43:761 ```
Author
Owner

@timothycarambat commented on GitHub (Jan 13, 2025):

Perfect! Found + Fixed and will be in next patch/release.

Thank you so much.

@timothycarambat commented on GitHub (Jan 13, 2025): Perfect! Found + Fixed and will be in next patch/release. Thank you so much.
Author
Owner

@Oprocon commented on GitHub (Jan 13, 2025):

Awesome work Tim, really appreciated!

@Oprocon commented on GitHub (Jan 13, 2025): Awesome work Tim, really appreciated!
Author
Owner

@tanoco2020 commented on GitHub (Feb 15, 2025):

Perfect! Found + Fixed and will be in next patch/release.

Thank you so much.

can you send me the fix i need it thanks

@tanoco2020 commented on GitHub (Feb 15, 2025): > Perfect! Found + Fixed and will be in next patch/release. > > Thank you so much. can you send me the fix i need it thanks
yindo changed title from [BUG]: Error when uploading PowerPoint .pptx files to [GH-ISSUE #2963] [BUG]: Error when uploading PowerPoint .pptx files 2026-06-05 14:43:17 -04:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Mintplex-Labs/anything-llm#1890