Git Product home page Git Product logo

personal-file-sharing-center's People

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

personal-file-sharing-center's Issues

popup loop on firefox

After upload any file, I received this message with firefox (linux & windows):

To display this page, Firefox must send information that will repeat any action (such as a search or order confirmation) that was performed earlier.

image

  • If I click cancel, nothing happens and file is uploaded.
  • If I click resend, page refresh and the popup is opened again and again....

On chrome, it works as expected

Max file size?

Is there a maximum file size that can be uploaded with this system, or will it support files of any size?

fix bugs!

fout = open(os.path.join(root,filename),'wb') #index.py 99

temp["time"] = time.strftime("%H:%M:%S %Y-%m-%d",time.localtime(os.path.getmtime(root +'\'+ i))) #index.py 53

on windows!

Overflow Error when uploading a 2.3GB file

It is said that web.py keep the whole file of a post request in memory. Is it the cause of this error. Any solutions for big file transmission in web.py
error traces below:

Traceback (most recent call last):
File "/dir/to/personal-file-sharing-center/web/application.py", line 239, in process
return self.handle()
File "/dir/to/personal-file-sharing-center/web/application.py", line 230, in handle
return self._delegate(fn, self.fvars, args)
File "/dir/to/personal-file-sharing-center/web/application.py", line 462, in _delegate
return handle_class(cls)
File "/dir/to/personal-file-sharing-center/web/application.py", line 438, in handle_class
return tocall(*args)
File "/dir/to/personal-file-sharing-center/index.py", line 87, in POST
x = web.input(file={})
File "/dir/to/personal-file-sharing-center/web/webapi.py", line 330, in input
out = rawinput(_method)
File "/dir/to/personal-file-sharing-center/web/webapi.py", line 303, in rawinput
a = cgi.FieldStorage(fp=fp, environ=e, keep_blank_values=1)
File "/usr/lib/python2.7/cgi.py", line 508, in init
self.read_multi(environ, keep_blank_values, strict_parsing)
File "/usr/lib/python2.7/cgi.py", line 635, in read_multi
headers = rfc822.Message(self.fp)
File "/usr/lib/python2.7/rfc822.py", line 108, in init
self.readheaders()
File "/usr/lib/python2.7/rfc822.py", line 155, in readheaders
line = self.fp.readline()
File "/dir/to/personal-file-sharing-center/web/wsgiserver/init.py", line 292, in readline
data = self.rfile.readline(size)
File "/dir/to/personal-file-sharing-center/web/wsgiserver/init.py", line 1008, in readline
bline = buf.readline(size)
OverflowError: signed integer is greater than maximum

Error in wsgi.py

Hi there,

I'm trying to run this app via heroku but I got the following error :

File "/app/web/wsgi.py", line 55, in runwsgi
raise ValueError, ':'.join(ip) + ' is not a valid IP address/port'

What can I do to resolve that ?

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.