Update: My mistake, I had bad routes, solved On Monday, September 11, 2017 at 9:18:56 AM UTC+2, Simona Chovancová wrote: > > I am trying to use *response.optimize_js = 'concat,minify,inline' *and > *response.optimize_css > = 'concat,minify,inline' *in 10_db.py in order to optimize my code, but > it gives me this error: > > Traceback (most recent call last): > File "/srv/www/web2py/gluon/restricted.py", line 227, in restricted > exec ccode in environment > File "/srv/www/web2py/applications/iadev/views/errors/500.html", line 56, > in <module> > File "/srv/www/web2py/gluon/globals.py", line 514, in include_files > time_expire) > File "/srv/www/web2py/gluon/cache.py", line 253, in __call__ > value = f() > File "/srv/www/web2py/gluon/globals.py", line 509, in call_minify > self.optimize_js) > File "/srv/www/web2py/gluon/contrib/minify/minify.py", line 101, in minify > contents = read_binary_file(abs_filename) > File "/srv/www/web2py/gluon/contrib/minify/minify.py", line 19, in > read_binary_file > f = open(filename, 'rb') > IOError: [Errno 2] Adresář nebo soubor neexistuje: > '/srv/www/web2py/applications/iadev/static/tatic/js/jquery.min.js' > > > > Also, this 'tatic' is nowhere in my code nor directories, what am I doing > wrong? Thanks. >
-- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to web2py+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.