lingochamp / lingochamp/FileDownloader

java.io.IOException: File name too long

Open
#1,324 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
Java
Stars
11.1k
Forks
2.2k
PR merge metrics
No merged PRs in 30d

Description

protected abstract void error(final BaseDownloadTask task, final Throwable e)
task.fileName = %E3%80%8A%E5%9B%BD%E6%B5%B7%E5%A4%A7%E8%AE%B2%E5%A0%82%EF%BC%88%E7%AC%AC157%E6%9C%9F%EF%BC%89%EF%BC%9A%E5%85%B3%E4%BA%8E%E5%88%A9%E7%94%A8%E4%BC%81%E4%B8%9A%E5%BE%AE%E4%BF%A1%E6%8F%90%E5%8D%87%E5%9B%BD%E6%B5%B7%E5%86%85%E9%83%A8%E4%B8%9A%E5%8A%A1%E5%8D%8F%E5%90%8C%E5%92%8C%E5%A4%96%E9%83%A8%E5%B1%95%E4%B8%9A%E6%95%88%E7%8E%87%E7%9A%84%E5%BB%BA%E8%AE%AE%E3%80%8B%E5%9F%B9%E8%AE%AD%E8%AF%BE%E4%BB%B6.pptx
e.detailMessage = File name too long

How can I change the fileName? Thank you

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

The report centers on BaseDownloadTask.fileName and the protected error callback; start by tracing where fileName is assigned and how the IOException is surfaced. Done means establishing how a shorter filename can be used for this download and verifying that the long-name case no longer produces “File name too long”.

Written by the indexing model from the issue text.

Assessment

Tech stack
java
Domain
mobile
Issue type
Bug
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.