Hi Gustaf It occurs when trying to minify a file (source file edited so it tries to minify before gzipped it)
As I see in ns_gzipfile it occurs in exec {*}$minifyCmd < $source | {*}$gzipCmd > $target [1] debugging I see in my setup equivalent to (when modifying forms.css): /usr/bin/yui-compressor --type css < /home/openacs/openacs/packages/acs-templating/www/resources/forms.css | /bin/gzip -9 > /home/openacs/openacs/packages/ac\ s-templating/www/resources/forms.css.gz In sh console I didn't notice any error only in naviserver console[2]. Anyway I'll try to dig a bit more :-) Thanks, Cesáreo PD: Checking this I see two minor typos [3] [4] --------------------------------------------- [1] https://bitbucket.org/naviserver/naviserver/src/7373f7aecab04afe4ba0fdabd4899bf713882c55/tcl/fastpath.tcl?at=default&fileviewer=file-view-default#fastpath.tcl-192 [2] openacs:nscp 1> exec /usr/bin/yui-compressor --type css < /home/openacs/openacs/packages/acs-templating/www/resources/forms.css | /bin/gzip -9 > /home/openacs/openacs/packages/acs-t\ emplating/www/resources/forms.css.gz exec /usr/bin/yui-compressor --type css < /home/openacs/openacs/packages/acs-templating/www/resources/forms.css | /bin/gzip -9 > /home/openacs/openacs/packages/acs-templating/www/re\ sources/forms.css.gz dpkg: aviso: fallo al abrir el fichero de configuración `/root/.dpkg.cfg' para lectura: Permiso denegado [3] https://bitbucket.org/naviserver/naviserver/src/92c2d93bcaceee799faa8fe58f6f913328efdf01/doc/src/naviserver/ns_return.man?at=default&fileviewer=file-view-default#ns_return.man-272 -> js instead of css [4] https://bitbucket.org/naviserver/naviserver/src/7373f7aecab04afe4ba0fdabd4899bf713882c55/tcl/fastpath.tcl?at=default&fileviewer=file-view-default#fastpath.tcl-194 -> minify instead of minninfy El 06/junio/16 a las 2:32, Gustaf Neumann escribió: > Dear Cesáreo, >> But, when naviserver try to minify a file I see some error[3] reading a >> dpkg (debian package instaler) conf file (/root/.dpkg.cfg). And file >> doesn't seem to be minified > This is indeed strange. In exactly which situation do you get the error? > > The minify integration is purely on the tcl layer [1] and is based on > input/output redirection and is just used for refreshing stale files. > So, it will not try to compress/minify files that were not compressed > before (yui-compressor fails sometimes to compress files) and is only > triggered, when the time stamp of the plain file differs from the .gz file. > > Can it be, that the path has "funny characters"? It might help to add > debug statements to proc ns_gzipfile (and restart the server). > > -g > > [1] > https://bitbucket.org/naviserver/naviserver/src/7373f7aecab04afe4ba0fdabd4899bf713882c55/tcl/fastpath.tcl?at=default&fileviewer=file-view-default#fastpath.tcl-182 > > > ------------------------------------------------------------------------------ > What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic > patterns at an interface-level. Reveals which users, apps, and protocols are > consuming the most bandwidth. Provides multi-vendor support for NetFlow, > J-Flow, sFlow and other flows. Make informed decisions using capacity > planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e > _______________________________________________ > naviserver-devel mailing list > naviserver-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/naviserver-devel > ------------------------------------------------------------------------------ What NetFlow Analyzer can do for you? Monitors network bandwidth and traffic patterns at an interface-level. Reveals which users, apps, and protocols are consuming the most bandwidth. Provides multi-vendor support for NetFlow, J-Flow, sFlow and other flows. Make informed decisions using capacity planning reports. https://ad.doubleclick.net/ddm/clk/305295220;132659582;e _______________________________________________ naviserver-devel mailing list naviserver-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/naviserver-devel