Re: [openmeetings-user] Re: Problems with uploading files
I have been testing upload of swfs to openmeetings under windows regularly. There are no duplicated slashes from my point of view, also the upload and download works fine. Same for profile pics, at least the default one. I can't say so much more about your issue as I would need to exactly debug your problem and tracelog first. Sebastian Am 20.11.2011 19:53 schrieb Krzysztof stock1...@gmail.com: Hi, openmeetings r4589. I've looked up the code and suggest the following solutions to the above problems: 1. Downloading default images from default directory: DownloadHandler.class (lines 261, 267, 274) full_path = current_dir + File.separatorChar + default + File.separatorChar + ...; should be changed to full_path = current_dir + default + File.separatorChar + ...; 2. Uploading swf files to the whiteboard. I'm not sure if the suggested fix works, theoretically it should as at least the slashes and backslashes will not be duplicated. DonwloadHandler.class (line 159) working_dir = working_dir + roomName + File.separatorChar + parentPath + File.separatorChar; should be changed to working_dir = working_dir + roomName + parentPath; Regards, Krzysztof -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en. -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
Re: [openmeetings-user] Re: Problems with uploading files
Sorry I meant upload of pdfs not swfs. This will test actually a lot of the document handling esxcept the oo-service. Sebastian Am 20.11.2011 20:08 schrieb seba.wag...@gmail.com seba.wag...@gmail.com: I have been testing upload of swfs to openmeetings under windows regularly. There are no duplicated slashes from my point of view, also the upload and download works fine. Same for profile pics, at least the default one. I can't say so much more about your issue as I would need to exactly debug your problem and tracelog first. Sebastian Am 20.11.2011 19:53 schrieb Krzysztof stock1...@gmail.com: Hi, openmeetings r4589. I've looked up the code and suggest the following solutions to the above problems: 1. Downloading default images from default directory: DownloadHandler.class (lines 261, 267, 274) full_path = current_dir + File.separatorChar + default + File.separatorChar + ...; should be changed to full_path = current_dir + default + File.separatorChar + ...; 2. Uploading swf files to the whiteboard. I'm not sure if the suggested fix works, theoretically it should as at least the slashes and backslashes will not be duplicated. DonwloadHandler.class (line 159) working_dir = working_dir + roomName + File.separatorChar + parentPath + File.separatorChar; should be changed to working_dir = working_dir + roomName + parentPath; Regards, Krzysztof -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en. -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
Re: [openmeetings-user] Re: Problems with uploading files
Okay we'll double check on that. But I doubt that this double slashes have the described effect of your profile picture issue. Am 20.11.2011 20:46 schrieb Krzysztof stock1...@gmail.com: Hi Sebastian, I won't argue about uploading swf files, as I wrote, I'm not sure about the suggested fix. But I'm pretty sure about webapps/openmeetings/default directory bug. If you have String current_dir = getServletContext().getRealPath(/); working_dir = current_dir + upload + File.separatorChar; then there should be full_path = current_dir + default + File.separatorChar + ...; Krzysztof -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en. -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.
Re: [openmeetings-user] Re: Problems with uploading files
Hi Krzysztof, I have been testing upload with latest code frmo trunk on windows7 again. Upload of PDF and import + drag to whiteboard working fine Upload of PNG and import + drag to whiteboard working fine Upload of PNG and import to profile pic working fine Upload of JPEG and import + drag to whiteboard working fine Upload of JPEG and import to profile pic working fine The code snippet that you've posted in the Download-Handler is actually refering to the part of the code that handles if the import failed, we have implemented a default document/image if the upload/improt fails like that: If the system can't find the file, it will try to use a single static default document. I have been verifying if this works by manipulating the successfully uploaded file on the hdd directly and it also does work, it shows the deleted document on the whiteboard when loading the missing file. BUT you are right, the slashes in the loading this fail-document is duplicate, the path on my the log is: C:\Users\swagner\workspaces\indigo_red6\ROOT_video\dist\red5\webapps\openmeetings\\default\deleted.swf ... But the deleted.swf will still load. So we will fix those duplicated slashes, but they have no effect, if the file exists, Java will find it also with double // You should check pdf2swf, ghostscript and imagemagick to be correctly installed. Sebastian Am 20.11.2011 21:23 schrieb seba.wag...@gmail.com seba.wag...@gmail.com: Okay we'll double check on that. But I doubt that this double slashes have the described effect of your profile picture issue. Am 20.11.2011 20:46 schrieb Krzysztof stock1...@gmail.com: Hi Sebastian, I won't argue about uploading swf files, as I wrote, I'm not sure about the suggested fix. But I'm pretty sure about webapps/openmeetings/default directory bug. If you have String current_dir = getServletContext().getRealPath(/); working_dir = current_dir + upload + File.separatorChar; then there should be full_path = current_dir + default + File.separatorChar + ...; Krzysztof -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en. -- You received this message because you are subscribed to the Google Groups OpenMeetings User group. To post to this group, send email to openmeetings-user@googlegroups.com. To unsubscribe from this group, send email to openmeetings-user+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.