Git Product home page Git Product logo

Comments (1)

MatteoCampinoti94 avatar MatteoCampinoti94 commented on July 27, 2024 1

Thanks for reporting this!

The error was caused by an incorrect parsing of the submission file URL to get the file extension. The program uses it for some filetypes which cannot be recognised easily because their MIME type is non-specific. In your case the .doc file resulted in an application/zip MIME, so the program tried to use the file url, but it parsed the value formatted for the database instead of the original one, so it resulted in an extension with a | in it.

I am using Linux for development and its filesystem its much more lax in regards to filenames, but Windows is quite stricter and won't allow | in a filename, hence the error.

I've fixed the bug in the database library and pushed a patch v5.3.1. It's already online so you can just update it via pip, you can use the falocalrepo updates --shell command to do it :)

from falocalrepo.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.