Git Product home page Git Product logo

Comments (3)

ReticentJohn avatar ReticentJohn commented on August 14, 2024

This should now be infinitely better as of v1.1.7 :3

from amaroq.

thegcat avatar thegcat commented on August 14, 2024

I am still seeing this error in Amaroq v1.1.8.

I had a look at the logs and the tmp files return a mime type of application/octet-stream; charset=binary, which probably is the problem. Is there any way to get a hand on what Amaroq tries to upload to the server to compare the two and see if anything in-between might mangle stuff?

from amaroq.

tithonium avatar tithonium commented on August 14, 2024

I'm having the same issue in 1.1.8

I'm on an iPhone X, trying to post a photo taken by that device.

The logs I get out of docker log mastodon_web_1 aren't very helpful (to me, anyway), but in case:

[0a025e5f-02b5-479e-89f0-bdf3f7436678] Command :: file -b --mime '/tmp/RackMultipart20180327-11-6ocp5w.jpeg'
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [paperclip] Trying to link /tmp/RackMultipart20180327-11-6ocp5w.jpeg to /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1hgr6rf.jpeg
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [paperclip] Trying to link /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1hgr6rf.jpeg to /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-iu1vxa.bin
[0a025e5f-02b5-479e-89f0-bdf3f7436678] Command :: file -b --mime '/tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-iu1vxa.bin'
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [paperclip] Trying to link /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1hgr6rf.jpeg to /tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1cosnns.bin
[0a025e5f-02b5-479e-89f0-bdf3f7436678] Command :: file -b --mime '/tmp/d915330bd02cfa5c81ba993c185c6cc320180327-11-1cosnns.bin'
[0a025e5f-02b5-479e-89f0-bdf3f7436678] [active_model_serializers] Rendered ActiveModel::Serializer::Null with Hash (0.1ms)
[0a025e5f-02b5-479e-89f0-bdf3f7436678] method=POST path=/api/v1/media format=*/* controller=Api::V1::MediaController action=create status=422 duration=78.62 view=6.97 db=1.92

I've confirmed I can upload images via the web interface.

from amaroq.

Related Issues (20)

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.