You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@openmeetings.apache.org by Hamdi THABET <ha...@gmail.com> on 2012/04/11 18:29:00 UTC

Réf. : Re: Bug discovered in all OM versions

Thank you Sebastian. 
I'll be very grateful if you tell me what I have to change in the code in
order to fix this bug because I will not update my OM 2.0 to revision
1324792 (I work with OM #24 and I stopped all SVN update to fix my errors
before).

I still have the same problem with importing profile picture 
Without any errors in log files ! It's very strange because the problem
exist in all OM 2.0 builds that I tried and all works fine with OM 1.9.1 !
I tried 3 versions of ImageMagick but always the same message in prompt
window when trying to convert an image: "Invalid parameter - 40x40" or 
Invalid parameter - 126x126".



"CanBeConverted: false" => Is it the source of the problem ? If yes why ?
-----------------------------------------------------------------------------
------------------------------------------------
DEBUG 04-09 13:57:21.289 GenerateThumbs.Java 1523809 55 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - START generateThumb
################# 
DEBUG 04-09 13:57:21.289 GenerateThumbs.Java 1523809 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 0 argv-I convert.exe
DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 1 argv-I -thumbnail
DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 2 argv-I 40x40
DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 3 argv-I
E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profi
es\profile_1\prof_1.JPG
DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 4 argv-I
E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profi
es\profile_1\_chat_prof_1.JPG
DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 59 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - END generateThumb
################# 
DEBUG 04-09 13:57:23.378 GenerateThumbs.Java 1525898 55 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - START generateThumb
################# 
DEBUG 04-09 13:57:23.378 GenerateThumbs.Java 1525898 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 0 argv-I convert.exe
DEBUG 04-09 13:57:23.378 GenerateThumbs.Java 1525898 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 1 argv-I -thumbnail
DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 2 argv-I 126x126
DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 3 argv-I
E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profi
es\profile_1\prof_1.JPG
DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 4 argv-I
E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profi
es\profile_1\_profile_prof_1.JPG
DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 59 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - END generateThumb
################# 
DEBUG 04-09 13:57:24.963 GenerateThumbs.Java 1527483 55 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - START generateThumb
################# 
DEBUG 04-09 13:57:24.964 GenerateThumbs.Java 1527484 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 0 argv-I convert.exe
DEBUG 04-09 13:57:24.964 GenerateThumbs.Java 1527484 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 1 argv-I -thumbnail
DEBUG 04-09 13:57:24.964 GenerateThumbs.Java 1527484 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 2 argv-I 240x240
DEBUG 04-09 13:57:24.964 GenerateThumbs.java 1527484 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - i 3 argv-i
E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profi
es\profile_1\prof_1.jpg
DEBUG 04-09 13:57:24.965 GenerateThumbs.java 1527485 57 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - i 4 argv-i
E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profi
es\profile_1\_big_prof_1.jpg
DEBUG 04-09 13:57:24.966 GenerateThumbs.java 1527486 59 org.openmeetings.app
documents.GenerateThumbs [http-0.0.0.0-5080-1] - END generateThumb
################# 

-----------------------------------------------------------------------------------------------------------------------------

Re: Réf. : Re: Bug discovered in all OM versions

Posted by "seba.wagner@gmail.com" <se...@gmail.com>.
Please use SVN to see what exactly has changed:
http://svn.apache.org/viewvc/incubator/openmeetings/trunk/singlewebapp/src/org/openmeetings/app/data/user/Usermanagement.java?r1=1324792&r2=1324791&pathrev=1324792

when you open a cmd and run "convert.exe" what happens?

Sebastian

2012/4/11 Hamdi THABET <ha...@gmail.com>

>    Thank you Sebastian.
> I'll be very grateful if you tell me what I have to change in the code in
> order to fix this bug because I will not update my OM 2.0 to revision
> 1324792 (I work with OM #24 and I stopped all SVN update to fix my errors
> before).
>
> I still have the same problem with importing profile picture
> Without any errors in log files ! It's very strange because the problem
> exist in all OM 2.0 builds that I tried and all works fine with OM 1.9.1 !
> I tried 3 versions of ImageMagick but always the same message in prompt
> window when trying to convert an image: "Invalid parameter - 40x40" or
> "Invalid parameter - 126x126".
>
>
> "CanBeConverted: false" => Is it the source of the problem ? If yes why ?
>
> ------------------------------------------------------------------------------------------------------------------------------
> DEBUG 04-09 13:57:21.289 GenerateThumbs.Java 1523809 55
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - START
> generateThumb #################
> DEBUG 04-09 13:57:21.289 GenerateThumbs.Java 1523809 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 0
> argv-I convert.exe
> DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 1
> argv-I -thumbnail
> DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 2
> argv-I 40x40
> DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 3
> argv-I
> E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profiles\profile_1\prof_1.JPG
> DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 4
> argv-I
> E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profiles\profile_1\_chat_prof_1.JPG
> DEBUG 04-09 13:57:21.290 GenerateThumbs.Java 1523810 59
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - END
> generateThumb #################
> DEBUG 04-09 13:57:23.378 GenerateThumbs.Java 1525898 55
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - START
> generateThumb #################
> DEBUG 04-09 13:57:23.378 GenerateThumbs.Java 1525898 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 0
> argv-I convert.exe
> DEBUG 04-09 13:57:23.378 GenerateThumbs.Java 1525898 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 1
> argv-I -thumbnail
> DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 2
> argv-I 126x126
> DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 3
> argv-I
> E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profiles\profile_1\prof_1.JPG
> DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 4
> argv-I
> E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profiles\profile_1\_profile_prof_1.JPG
> DEBUG 04-09 13:57:23.379 GenerateThumbs.Java 1525899 59
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - END
> generateThumb #################
> DEBUG 04-09 13:57:24.963 GenerateThumbs.Java 1527483 55
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - START
> generateThumb #################
> DEBUG 04-09 13:57:24.964 GenerateThumbs.Java 1527484 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 0
> argv-I convert.exe
> DEBUG 04-09 13:57:24.964 GenerateThumbs.Java 1527484 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 1
> argv-I -thumbnail
> DEBUG 04-09 13:57:24.964 GenerateThumbs.Java 1527484 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - I 2
> argv-I 240x240
> DEBUG 04-09 13:57:24.964 GenerateThumbs.java 1527484 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - i 3
> argv-i
> E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profiles\profile_1\prof_1.jpg
> DEBUG 04-09 13:57:24.965 GenerateThumbs.java 1527485 57
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - i 4
> argv-i
> E:\3DNI\PFE\WORK\workspace\CollabMee\dist\red5\webapps\collabmee\upload\profiles\profile_1\_big_prof_1.jpg
> DEBUG 04-09 13:57:24.966 GenerateThumbs.java 1527486 59
> org.openmeetings.app.documents.GenerateThumbs [http-0.0.0.0-5080-1] - END
> generateThumb #################
>
> -----------------------------------------------------------------------------------------------------------------------------
>



-- 
Sebastian Wagner
https://twitter.com/#!/dead_lock
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba.wagner@gmail.com