michaelyin / openmeetings

Automatically exported from code.google.com/p/openmeetings
0 stars 0 forks source link

Don't upload office docs with accents in filename #1339

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
If you upload a file (.odt) with accents in the filename (like 'Réunion de 
test.odt') the openoffice backend put an exception : - args: [java, -cp, 
"/opt/red5/webapps/openmeetings/jod/commons-cli-1.2.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/commons-io-1.4.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/jodconverter-2.2.2.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/juh-3.0.1.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/jurt-3.0.1.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/ridl-3.0.1.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/slf4j-api-1.5.6.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/slf4j-jdk14-1.5.6.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/unoil-3.0.1.jar" -cp 
"/opt/red5/webapps/openmeetings/jod/xstream-1.3.1.jar", -jar, 
/opt/red5/webapps/openmeetings/jod/jodconverter-cli-2.2.2.jar, 
/opt/red5/webapps/openmeetings/uploadtemp/11/Réunion_de_test.odt, 
/opt/red5/webapps/openmeetings/upload/11/Réunion_de_test/Réunion_de_test.pdf]
DEBUG 01-11 12:20:30.465 GenerateSWF.java 69723245 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line: Jan 11, 2011 
12:20:30 PM 
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection
 connect
DEBUG 01-11 12:20:30.466 GenerateSWF.java 69723246 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line: INFO: connected
DEBUG 01-11 12:20:30.519 GenerateSWF.java 69723299 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line: Jan 11, 2011 
12:20:30 PM 
com.artofsolving.jodconverter.openoffice.connection.AbstractOpenOfficeConnection
 disposing
DEBUG 01-11 12:20:30.520 GenerateSWF.java 69723300 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line: INFO: 
disconnected
DEBUG 01-11 12:20:30.524 GenerateSWF.java 69723304 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line: Exception in 
thread "main" 
com.artofsolving.jodconverter.openoffice.connection.OpenOfficeException: 
conversion failed: could not load input document
DEBUG 01-11 12:20:30.524 GenerateSWF.java 69723304 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.l
oadAndExport(OpenOfficeDocumentConverter.java:131)
DEBUG 01-11 12:20:30.525 GenerateSWF.java 69723305 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.c
onvertInternal(OpenOfficeDocumentConverter.java:120)
DEBUG 01-11 12:20:30.525 GenerateSWF.java 69723305 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentCon
verter.convert(AbstractOpenOfficeDocumentConverter.java:104)
DEBUG 01-11 12:20:30.526 GenerateSWF.java 69723306 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentCon
verter.convert(AbstractOpenOfficeDocumentConverter.java:74)
DEBUG 01-11 12:20:30.527 GenerateSWF.java 69723307 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.AbstractOpenOfficeDocumentCon
verter.convert(AbstractOpenOfficeDocumentConverter.java:70)
DEBUG 01-11 12:20:30.527 GenerateSWF.java 69723307 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.cli.ConvertDocument.convertOne(ConvertDocument.jav
a:154)
DEBUG 01-11 12:20:30.528 GenerateSWF.java 69723308 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.cli.ConvertDocument.main(ConvertDocument.java:133)
DEBUG 01-11 12:20:30.528 GenerateSWF.java 69723308 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line: Caused by: 
com.sun.star.lang.IllegalArgumentException: URL seems to be an unsupported one.
DEBUG 01-11 12:20:30.529 GenerateSWF.java 69723309 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.environments.remote.Job.remoteUnoRequestRaisedException(Job
.java:182)
DEBUG 01-11 12:20:30.529 GenerateSWF.java 69723309 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.environments.remote.Job.execute(Job.java:148)
DEBUG 01-11 12:20:30.530 GenerateSWF.java 69723310 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:344)
DEBUG 01-11 12:20:30.530 GenerateSWF.java 69723310 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.environments.remote.JobQueue.enter(JobQueue.java:313)
DEBUG 01-11 12:20:30.531 GenerateSWF.java 69723311 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.environments.remote.JavaThreadPool.enter(JavaThreadPool.jav
a:101)
DEBUG 01-11 12:20:30.532 GenerateSWF.java 69723312 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.bridges.java_remote.java_remote_bridge.sendRequest(java_rem
ote_bridge.java:652)
DEBUG 01-11 12:20:30.532 GenerateSWF.java 69723312 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.request(ProxyFacto
ry.java:154)
DEBUG 01-11 12:20:30.533 GenerateSWF.java 69723313 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.sun.star.lib.uno.bridges.java_remote.ProxyFactory$Handler.invoke(ProxyFactor
y.java:136)
DEBUG 01-11 12:20:30.535 GenerateSWF.java 69723315 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
$Proxy5.loadComponentFromURL(Unknown Source)
DEBUG 01-11 12:20:30.535 GenerateSWF.java 69723315 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.l
oadDocument(OpenOfficeDocumentConverter.java:150)
DEBUG 01-11 12:20:30.535 GenerateSWF.java 69723315 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   at 
com.artofsolving.jodconverter.openoffice.converter.OpenOfficeDocumentConverter.l
oadAndExport(OpenOfficeDocumentConverter.java:127)
DEBUG 01-11 12:20:30.535 GenerateSWF.java 69723315 180 
org.openmeetings.app.documents.GeneratePDF [Thread-17] - line:   ... 6 more
DEBUG 01-11 12:20:30.581 GenerateSWF.java 69723361 90 
org.openmeetings.app.documents.GeneratePDF [http-0.0.0.0-5080-3] - exitVal: 1

Then all the following processes are defective too...

Original issue reported on code.google.com by supertot...@gmail.com on 11 Jan 2011 at 11:44

GoogleCodeExporter commented 9 years ago

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:23

GoogleCodeExporter commented 9 years ago
OpenMeetings moves to Apache Foundation, update your bookmarks to the new 
project page:

http://incubator.apache.org/openmeetings/

New Issue tracker is located: https://issues.apache.org/jira/browse/OPENMEETINGS

New Mailing Lists located at: 
http://incubator.apache.org/openmeetings/mail-lists.html 

Original comment by seba.wag...@gmail.com on 31 Jan 2012 at 12:25