Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 219 of 801  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  66176   Tue Jan 27 09:19:22 2009 Reply Stefan Rittstefan.ritt@psi.chBug fixLinux2.7.5Re: convert: unrecognized option '-set'
> Hello,
> 
> We are now running elog-2.7.5 in a Scientific Linux 4 (RHEL4) system, which uses ImageMagick 6.0.7.1.  After uploading an image, the image 
> manipulation buttons don't work and complain:
> convert: unrecognized option '-set'
> 
> We are using an RPM built from source, and it looks like I should be able to just change "-set comment ..." to "-comment" as in:
> ------
> [dab66@lnx100 tmp]% diff elogd.c elogd.c.new 
> 22601c22601
> <       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, new_rot,
> ---
> >       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, new_rot,
> 22607c22607
> <       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, new_rot,
> ---
> >       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, new_rot,
> 22618c22618
> <       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, cur_rot,
> ---
> >       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, cur_rot,
> 22624c22624
> <       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -set comment ' %d' '%s'", file_name, cur_rot,
> ---
> >       sprintf(cmd, "convert '%s' -rotate %d -thumbnail %d -comment ' %d' '%s'", file_name, cur_rot,
> ------
> 
> Is there any better way for us to fix this, or is anything else needed?

Well, I believe your modification won't work. I just tried it with ImageMagick 6.3.8 and it failed. Try to rotate your picture four times, and 
it should be back to the old position. When I use "-comment" instead "-set comment" on a PNG file, this did not work. From the man page it 
tells me:

Version: ImageMagick 6.3.8 01/25/08 Q16 http://www.imagemagick.org
Copyright: Copyright (C) 1999-2008 ImageMagick Studio LLC

Usage: convert [options ...] file [ [options ...] file ...] [options ...] file

Image Settings:
  ...
  -comment string      annotate image with comment
  ...

Image Operators:
  ...
  -set property value  set an image property
  ...


So indeed "-comment" and "-set comment" are two different things. I'm afraid you have to upgrade your ImageMagick package in order to make 
this work.
  199   Fri Jan 24 12:24:18 2003 Reply Stefan Rittstefan.ritt@psi.chBug report  Re: confused name in the attributes section
> do not use confused name in attributes
> **************************************
> like
> Attributes Type, Type2
> the info on Type2 will be placed in the Type also
> see attachment 1
> 
> Never use confused name like '
> Attributes PC_Memory, Memory

I acknowledge the problem. It had to do with the fact that for checkbox 
options, the first checkbox is submitted in the above case as "Type0", the 
second as "Type1", and the third as "Type2" which conficts with the other 
attribute. I fixed that and use now "Type#0" and so on which should be fine.

The fix will be included in V2.2.6.

Stefan
  65857   Fri Apr 25 17:19:27 2008 Reply Stefan Rittstefan.ritt@psi.chQuestion  Re: configuration of rss feeds

W.Koster wrote:
Is it possible to change what is being shown in the rss-feed ? (like only name, date and subject in the list and text and other attributes in the text-pane below the rss-feed list (I hope you can figure out what I mean). Regards, W.

Have you tried the "RSS Title" option?

  65862   Mon Apr 28 13:37:01 2008 Reply W.KosterW.Koster@rug.nlQuestion  Re: configuration of rss feeds
> Have you tried the RSS Title option?

doh ... thanks, works perfectly (well apart from the lost end-of-lines in the text portion)
  2238   Fri Jun 1 08:40:13 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinuxV2.6.5Re: config settings to ensure replies to author, thread contributors, admin?

Mark Bergman wrote:
Attributes = Author, Type, Category, Severity, Subject, Entry ID, Status, CC E-mail To
Display Email recipients = 1
Email All = $CC E-mail To
Email All = mark.bergman@uphs.upenn.edu
Email Format = 47
Suppress default = 0
Type CC E-mail To = museremail

The documentation states that there can be multiple "Email All" directives, so I thought they would be additive--causing the admin address and the author to always get mail.


There can be multiple "Email All" directives, but they have to be on one line, like
Email All = $CC E-mail To, mark.bergman@uphs.upenn.edu


Mark Bergman wrote:

Is there a setting to ensure that the original author of the thread is always notified upon any change?


You can do something like:
Attributes = ..., Author Email
Preset Author Email = $user_email
Email All = $Author Email, $CC E-mail to, mark.bergman@uphs.upenn.edu
...

An alternative (and that's what I usually do) is to keep "Suppress email to users = 0" and tell the users to remove their subscription if they don't like it. Note that you also can edit the password file manually (it's a XML file), and remove all subscriptions easily with an editor. Note that you have to do that when elogd is stopped, then edit the file, then restart elgod.

- Stefan
  65838   Thu Apr 17 22:17:05 2008 Reply Stefan Rittstefan.ritt@psi.chBug reportWindows2.7.3-2058Re: conditional options are not working in find

Arno Teunisse wrote:

Would be nice if the user can search with the same items he used entering the data into the form.

I finally found some time to implement conditional attributes in the find form. This new feature is contained in SVN revision 2104 and in the Windows version 2.7.3-3.

  65839   Thu Apr 17 22:40:12 2008 Reply Arno TeunisseA.teeling3@chello.nlBug reportWindows2.7.3-2058Re: conditional options are not working in find

Stefan Ritt wrote:

Arno Teunisse wrote:

Would be nice if the user can search with the same items he used entering the data into the form.

I finally found some time to implement conditional attributes in the find form. This new feature is contained in SVN revision 2104 and in the Windows version 2.7.3-3.

Hello Stefan

Just downloaded the windows version. It is working great !! Thanks, for this quick solution.. and you're time..

Just like elog more and more...

 

 

  65840   Thu Apr 17 23:20:50 2008 Reply Arno TeunisseA.teeling3@chello.nlBug reportWindows2.7.3-2058Re: conditional options are not working in find

Arno Teunisse wrote:

Stefan Ritt wrote:

Arno Teunisse wrote:

Would be nice if the user can search with the same items he used entering the data into the form.

I finally found some time to implement conditional attributes in the find form. This new feature is contained in SVN revision 2104 and in the Windows version 2.7.3-3.

Hello Stefan

Just downloaded the windows version. It is working great !! Thanks, for this quick solution.. and you're time..

Just like elog more and more...

 

 

Just noticed that in IExplorer and Firefox when creating a new entrie i got a popup with the following text in it : Unknown toolbar item "ShowBlocks"

When clicking OK : everything is working. Think it has to do with FCKedit, but I'm not shure.

 

ELOG V3.1.5-3fb85fa6