Bugs item #1577266, was opened at 2006-10-14 16:58 Message generated for change (Comment added) made by johnmolohan You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1577266&group_id=46652
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: other Group: 1.6.x svn >Status: Closed Resolution: Fixed Priority: 5 Submitted By: John Molohan (johnmolohan) Assigned to: Nobody/Anonymous (nobody) Summary: Webserver traceback from renaming or deleting files Initial Comment: If the user the webserver is running as doesn't have permission to the library deleting or renaming a file will give this traceback. 2006/10/14 17:53 IST [HTTPChannel,2,192.168.1.2] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 232, in dataReceived why = self.lineReceived(line) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1004, in lineReceived self.allContentReceived() File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1045, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in process self.render(resrc) File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 167, in render body = resrc.render(self) File "/home/media/freevo-1.5/src/www/web_types.py", line 88, in render return self._render(request) File "/home/media/freevo-1.5/src/www/htdocs/library.rpy", line 268, in _render os.rename(file_loc, newfile_loc) exceptions.OSError: [Errno 13] Permission denied ---------------------------------------------------------------------- >Comment By: John Molohan (johnmolohan) Date: 2006-10-17 13:18 Message: Logged In: YES user_id=774680 Confirmed fixed. Thanks. ---------------------------------------------------------------------- Comment By: Duncan Webb (duncanwebb) Date: 2006-10-16 11:24 Message: Logged In: YES user_id=104395 Sorry, only tested these changes from within python. This should be okay now, the error is printed as <H2> so it stands out. The latest version is here: svn://svn.freevo.org/freevo/branches/rel-1-6/freevo/src/www/htdocs/library.rpy I'll merge the two trees at a later time. ---------------------------------------------------------------------- Comment By: John Molohan (johnmolohan) Date: 2006-10-15 15:27 Message: Logged In: YES user_id=774680 Different traceback now. 2006/10/15 16:27 IST [HTTPChannel,0,192.168.1.2] Traceback (most recent call last): File "/usr/lib/python2.4/site-packages/twisted/protocols/basic.py", line 232, in dataReceived why = self.lineReceived(line) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1004, in lineReceived self.allContentReceived() File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 1045, in allContentReceived req.requestReceived(command, path, version) File "/usr/lib/python2.4/site-packages/twisted/web/http.py", line 601, in requestReceived self.process() --- <exception caught here> --- File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 160, in process self.render(resrc) File "/usr/lib/python2.4/site-packages/twisted/web/server.py", line 167, in render body = resrc.render(self) File "/home/media/freevo-1.5/src/www/web_types.py", line 88, in render return self._render(request) File "/home/media/freevo-1.5/src/www/htdocs/library.rpy", line 150, in _render messages += [ _( 'Rename %s to %s, failed. (%s)' ) % \ exceptions.TypeError: cannot concatenate 'str' and 'instance' objects ---------------------------------------------------------------------- Comment By: Duncan Webb (duncanwebb) Date: 2006-10-14 17:32 Message: Logged In: YES user_id=104395 Thanks John, Will you try r8369, I've done a fix for this. Duncan ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=446895&aid=1577266&group_id=46652 ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Freevo-devel mailing list Freevo-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/freevo-devel