Upload my profile image fails

154 views
Skip to first unread message

ShanghaiTimes

unread,
Nov 15, 2011, 6:49:16 PM11/15/11
to openmeet...@googlegroups.com
Sorry, back again.
I tried to upload my profile image, and all that happens is that a CMD window pops open in the home directory. Pointing to
... red5\webapps\openmeetings\streams\interviewsMerge.bat

The GUI in Openmeetings hangs there on 
Uploading Complete
Converting document

except that it never does...

help?
thanks
Robert

Robert Chalmers

unread,
Nov 15, 2011, 7:01:05 PM11/15/11
to openmeet...@googlegroups.com
The batch files contain C:\Program Files\ ....
I'm pretty sure this breaks, as I get error messages about it.

Robert

--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To view this discussion on the web visit https://groups.google.com/d/msg/openmeetings-user/-/KNSgQGAhw1UJ.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.



--

Robert Chalmers

PinPoint Premium on iPhone. Safety & Security for your family.


..



Robert Chalmers

unread,
Nov 15, 2011, 7:31:16 PM11/15/11
to openmeet...@googlegroups.com
This works
copy.bat
---------
convert.exe -thumbnail 240x240 "C:\Program Files\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload\profiles\profile_1\me_1_200x150_1.jpg" "C:\Program  Files\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload\profiles\profile_1\_big_me_1_200x150_1.jpg"
exit
---------

That C:\Program Files\ path has to be escaped. 

What is it that generates the file in t he first place?
Thanks
Robert

ShanghaiTimes

unread,
Nov 15, 2011, 9:53:13 PM11/15/11
to OpenMeetings User
I can do this directly from the command line (CMD)

C:\_ convert.exe -thumbnail 240x240 C:
\Progra~1\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload
\profiles\profile_1\me_1_200x150_1.jpg C:
\Progra~1\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload
\profiles\profile_1\_big_me_1_200x150_1.jpg

and it works, creating the copy of the original as a thumbnail.

Now - how to upload it into the profile ....



On Nov 16, 10:31 am, Robert Chalmers <robert.a.chalm...@gmail.com>
wrote:
> This works
> copy.bat
> ---------
> convert.exe -thumbnail 240x240 "C:\Program
> Files\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload\profiles\pr ofile_1\me_1_200x150_1.jpg"
> "C:\Program
>  Files\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload\profiles\pr ofile_1\_big_me_1_200x150_1.jpg"
> > PinPoint Premium on iPhone.<http://itunes.apple.com/us/app/pin-point-premium/id467970377?ls=1&mt=8> Safety
> > & Security for your family.
>
> > ..
>
> --
>
> Robert Chalmers
> PinPoint Premium on
> iPhone.<http://itunes.apple.com/us/app/pin-point-premium/id467970377?ls=1&mt=8>

seba....@gmail.com

unread,
Nov 16, 2011, 3:44:27 AM11/16/11
to openmeet...@googlegroups.com
If you have configured your windows box correctly so that the path to the imagemagick executable is in Windows %PATH% variable, that you can delete the configuration string in the Administration > Configuration of OpenMeetings where you have configured to look for ImageMagick at a specific path.

Sebastian

2011/11/16 ShanghaiTimes <robert.a...@gmail.com>



--
Sebastian Wagner
http://www.openmeetings.de
http://www.webbase-design.de
http://www.wagner-sebastian.com
seba....@gmail.com

ShanghaiTimes

unread,
Nov 16, 2011, 6:53:53 PM11/16/11
to OpenMeetings User


On Nov 16, 6:44 pm, "seba.wag...@gmail.com" <seba.wag...@gmail.com>
wrote:
> If you have configured your windows box correctly so that the path to the
> imagemagick executable is in Windows %PATH% variable, that you can delete
> the configuration string in the Administration > Configuration of
> OpenMeetings where you have configured to look for ImageMagick at a
> specific path.

Yes, I have it all configured correctly Sebastian, however the batch
files are breaking when they try to read the line with the words
"Program Files" in the string.

"C:\Program Files\openmeetings_1_8_8..... This breaks, throwing a
windows error, "Unknown file or executable... C:\Program"


So this will NOT work in a batch file.
convert.exe -thumbnail 240x240 "C:\Program Files\...\webapps
\openmeetings\upload\profiles\pr ofile_1\me_1_200x150_1.jpg"

This does work.
convert.exe -thumbnail 240x240 C: \Progra~1\....\red5\webapps
\openmeetings\upload \profiles\profile_1\me_1_200x150_1.jpg

cheers
Robert

ShanghaiTimes

unread,
Nov 16, 2011, 9:59:47 PM11/16/11
to OpenMeetings User
Is it possible to modify what ever part of the program it is that
creates the interviewMerge.bat file, and change it's output so a
working interviewMerge.bat file is generated. One that works on XP,

Simply putting "" marks around the fully qualified paths. As in....

convert.exe -thumbnail 240x240 "C:\Program Files
\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload\profiles
\profile_1\LuHsun.jpg" "C:\Program Files
\openmeetings_1_8_8_r4555\red5\webapps\openmeetings\upload\profiles
\profile_1\_big_LuHsun.jpg"
exit


I am assuming that what ever creates and calls interviewMerge.bat then
carries on from there and puts the new files where they should be?

Robert

seba....@gmail.com

unread,
Nov 17, 2011, 4:02:12 AM11/17/11
to openmeet...@googlegroups.com
Place Openmeetings into C:\ and the error will be gone.

Sebastian

2011/11/17 ShanghaiTimes <robert.a...@gmail.com>
--
You received this message because you are subscribed to the Google Groups "OpenMeetings User" group.
To post to this group, send email to openmeet...@googlegroups.com.
To unsubscribe from this group, send email to openmeetings-u...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/openmeetings-user?hl=en.

Reply all
Reply to author
Forward
0 new messages