GithubHelp home page GithubHelp logo

Comments (8)

liwei2916 avatar liwei2916 commented on June 2, 2024

After verification, gz files larger than 1MB are not allowed, while files smaller than 1MB can be browsed for their content

What is the reason for this? Can someone help answer it

Is there any configuration that can solve it in hue.ini

from hue.

bjornalm avatar bjornalm commented on June 2, 2024

Hi @liwei2916 and thanks for reaching out. @athithyaaselvam do you know why we have this limit on compressed files?

from hue.

liwei2916 avatar liwei2916 commented on June 2, 2024

@bjornalm If compiling Hue with Python 3, opening a compressed file larger than 1MB triggers an error. I'll temporarily revert to version 4.8.0 and use Python 2.7

anyone has encountered the same problem?

from hue.

athithyaaselvam avatar athithyaaselvam commented on June 2, 2024

Hi @liwei2916, I tried to reproduce this but seems like its working for me (built on the master branch). I opened a 17mb .tgz file. Although there is a config in filebrowser, which might prevent it

[filebrowser]
  # A limit on a file size (bytes) that can be uploaded to a filesystem.
  # A value of -1 means there will be no limit.
  max_file_size_upload_limit=-1 
Screenshot 2024-04-16 at 3 19 40 PM

from hue.

liwei2916 avatar liwei2916 commented on June 2, 2024

Hi @athithyaaselvam May I ask if you are using Python 3 or Python 2 for compilation? My environment is Releases 4.11.0 and Python 3.8. I have added the max_file_size_upload_limit=-1 configuration, but it still doesn't work

I still have the same error when using the gethue/hue: 4.11.0 image

I am currently using version 4.8.0, compiled through Python 2.7, and there are no restrictions on opening compressed files

from hue.

athithyaaselvam avatar athithyaaselvam commented on June 2, 2024

Hi @liwei2916, I'm using Python3.8 for compilation. Opening the file fails only for ".gz" format, as a quick workaround, try to change the compression format. I tried with ".tgz, .zip" files (It works). There is a restriction on the decompression for ".gz" files in Py3 Hue, Looking into it.

from hue.

liwei2916 avatar liwei2916 commented on June 2, 2024

Okay, thank you @athithyaaselvam , Will future versions be supported?

from hue.

github-actions avatar github-actions commented on June 2, 2024

This issue is stale because it has been open 30 days with no activity and is not labeled "Prevent stale". Remove "stale" label or comment or this will be closed in 10 days.

from hue.

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.