ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
69809
|
Wed Jul 24 17:21:45 2024 |
| Aled Isaac | c.a.isaac@swnsea.ac.uk | Info | Windows | ELOG V3.1.4-a04 | Re: Elog/ImageMagick under windows 11 | I've managed to get it working and the problem wasn't what I thought it was. It turns out that ImageMagick v7 doesn't have a "convert.exe" program in the windows version due to some conflict with a disk conversion utility. The "convert.exe" has been replaced with a "magick.exe" and so I made a CONVERT.BAT script within the elog folder with content "magick %*". This workaround appears to have solved the problem.
Aled Isaac wrote: |
I was wondering if anyone would be able to assist me in getting the ImageMagick/figure scaling working on an elog running under windows 11 (Microsoft Windows Version 22H2 (OS Build 22621.3880)). I've followed the installation instructions and checked that $PATH contains the directory for both ImageMagick and GSS. In a 'command prompt' window, when I execute "identify -version" from any directory I get the response:
Version: ImageMagick 7.1.1-35 Q16-HDRI x64 d775d2a:20240714 https://imagemagick.org
Copyright: (C) 1999 ImageMagick Studio LLC
License: https://imagemagick.org/script/license.php
Features: Channel-masks(64-bit) Cipher DPC HDRI Modules OpenCL OpenMP(2.0)
Delegates (built-in): bzlib cairo flif freetype gslib heic jng jp2 jpeg jxl lcms lqr lzma openexr pangocairo png ps raqm raw rsvg tiff webp xml zip zlib
Compiler: Visual Studio 2022 (194033811)
which I believe is correct. I've looked through the source-code for the elog and I believe that upon initialisation elogd is looking for a response containing "ImageMagick" somewhere in the response [image_magick_exist = (strstr(str, "ImageMagick") != NULL);] so I'm not sure I understand why this isn't being satisfied. When I run elogd I get the statement "ImageMagick NOT detected. Image scaling will not work.".
I have the feeling that this is some security restriction in windows 11, so was wondering if anyone had seen this problem before and knew of a solution.
Many Thanks
|
|
69800
|
Fri Jul 12 17:39:53 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | Just to add some points for others who may find this of use in future.
The hard coded number of entries options or Moptions can have is 100. You can edit the code and recompile, but that would
not gain you many more before other problems concerning memory come in.
Options allow you to only select one from the list; Moptions allow multiple selections from the list.
As mentioned by Sebastian (previous poster) and in my suggestion. I imagined that by Wafer 1060 (say), no new work would be
being done on wafers 1001, ... 1010, so you could edit the config file and remove those (M)options. It does not remove these
wafer IDs from past records, simply that they can no longer be selected for new work to be recorded. In that way the
Moptions list remains short but allows for hundreds or thousands of WaferIDs, ON THE ASSUMPTION that say only 50 (and certainly
less than 100) are being worked on at any one time.
The numbers I chose here were random, it's more to highlight the principle rather than a prescription.
David.
> Just my 2 cents:
>
> There is a hardcoded limit how many entries the Option list can have. Without looking into the source, I assume the limit also exists for MOptions.
> If you want more, you have to recompile elog with the changed limit.
>
> We have used the normal Options attribute and a "Execute new"-script to alter the elog config for the Options list: to sort the list (5 last used entries on top, the rest alphabetical) and remove very old entries, which are not needed any more.
> Remark: if you change the elog.cfg, you have to tell elog to reload the cfg. e.g. using "killall -HUP elogd".
>
> Alternatively, you can add javascript code via a html file and the attributes "Top text" or "Bottom text" to manipulate the input fields on the client side.
>
> Both ways are a little bit hacky, but they work.
> Best wishes,
> Sebastian
>
> > Thanks for you help. This is almost it.
> >
> > The problem is that the items are options and not freely closable numbers. In the end, with your solution, it will show you all of the previously put IDs which will be 1000s of entries for us. I think I will just put a convention that we have to write the numbers spread with a comma in a string
> > field.
> >
> > Thanks.
> >
> > Best,
> >
> > Nick
> >
> >
> > > I have replied to this entry, because, for some reason I don't understand, if I reply to your latest entry, I am
> > > automatically logged out. I tried this multiple times, and also on many other entries and had no issues other than
> > > entry 69787 - any reason for this, Stefan?
> > >
> > > Anyway, what about MOptions? That appears to do what your example, and needs two lines in elog.cfg file:
> > >
> > > Moptions WaferID = 1001, 1002, 1003, 1004, 1005
> > > Extendable Options = WaferID
> > >
> > > I've done a couple of quick tests on a test logbook I keep for such experimentation, and it appears to do all
> > > you have asked of it. I added a new option 1006. However, I found that one has to add that new one on its own,
> > > let the entry become proper, and then edit the entry to add the other, existing, values. If you tick entries and
> > > also add a new one, then your new entry is all those listed on their own, that is you would get and new entry
> > > in the config file such as "1002 | 1004 | 1006", rather than just 1006
> > >
> > > This is probably an result of an unexpected use of Moptions and extendable options, rather than a bug per se.
> > >
> > > > Hey,
> > > >
> > > > thanks for your answer. I completely get your point. However, I think my question as not precise enough.
> > > >
> > > > I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
> > > >
> > > > wafer_IDs = numeric value, numeric value, numeric value, extendable
> > > >
> > > > Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
> > > >
> > > > Let me make an example (If the attribute were a string this would be the equivalent):
> > > >
> > > > 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> > > > wafer IDs = 1000, 1001, 1002
> > > >
> > > > 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> > > > wafer IDs = 1000, 1002
> > > >
> > > > The string solves the issue, but is not as nice as having directly a list of integers.
> > > >
> > > > Thanks for your help!
> > > >
> > > > Best,
> > > >
> > > > Nick |
69799
|
Fri Jul 12 16:51:44 2024 |
| Sebastian Schenk | sebastian.schenk@physik.uni-halle.de | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | Just my 2 cents:
There is a hardcoded limit how many entries the Option list can have. Without looking into the source, I assume the limit also exists for MOptions.
If you want more, you have to recompile elog with the changed limit.
We have used the normal Options attribute and a "Execute new"-script to alter the elog config for the Options list: to sort the list (5 last used entries on top, the rest alphabetical) and remove very old entries, which are not needed any more.
Remark: if you change the elog.cfg, you have to tell elog to reload the cfg. e.g. using "killall -HUP elogd".
Alternatively, you can add javascript code via a html file and the attributes "Top text" or "Bottom text" to manipulate the input fields on the client side.
Both ways are a little bit hacky, but they work.
Best wishes,
Sebastian
> Thanks for you help. This is almost it.
>
> The problem is that the items are options and not freely closable numbers. In the end, with your solution, it will show you all of the previously put IDs which will be 1000s of entries for us. I think I will just put a convention that we have to write the numbers spread with a comma in a string
> field.
>
> Thanks.
>
> Best,
>
> Nick
>
>
> > I have replied to this entry, because, for some reason I don't understand, if I reply to your latest entry, I am
> > automatically logged out. I tried this multiple times, and also on many other entries and had no issues other than
> > entry 69787 - any reason for this, Stefan?
> >
> > Anyway, what about MOptions? That appears to do what your example, and needs two lines in elog.cfg file:
> >
> > Moptions WaferID = 1001, 1002, 1003, 1004, 1005
> > Extendable Options = WaferID
> >
> > I've done a couple of quick tests on a test logbook I keep for such experimentation, and it appears to do all
> > you have asked of it. I added a new option 1006. However, I found that one has to add that new one on its own,
> > let the entry become proper, and then edit the entry to add the other, existing, values. If you tick entries and
> > also add a new one, then your new entry is all those listed on their own, that is you would get and new entry
> > in the config file such as "1002 | 1004 | 1006", rather than just 1006
> >
> > This is probably an result of an unexpected use of Moptions and extendable options, rather than a bug per se.
> >
> > > Hey,
> > >
> > > thanks for your answer. I completely get your point. However, I think my question as not precise enough.
> > >
> > > I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
> > >
> > > wafer_IDs = numeric value, numeric value, numeric value, extendable
> > >
> > > Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
> > >
> > > Let me make an example (If the attribute were a string this would be the equivalent):
> > >
> > > 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> > > wafer IDs = 1000, 1001, 1002
> > >
> > > 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> > > wafer IDs = 1000, 1002
> > >
> > > The string solves the issue, but is not as nice as having directly a list of integers.
> > >
> > > Thanks for your help!
> > >
> > > Best,
> > >
> > > Nick |
69798
|
Fri Jul 12 16:30:02 2024 |
| Nick Sauerwein | nick.sauerwein@luxtelligence.ai | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | Thanks for you help. This is almost it.
The problem is that the items are options and not freely closable numbers. In the end, with your solution, it will show you all of the previously put IDs which will be 1000s of entries for us. I think I will just put a convention that we have to write the numbers spread with a comma in a string
field.
Thanks.
Best,
Nick
> I have replied to this entry, because, for some reason I don't understand, if I reply to your latest entry, I am
> automatically logged out. I tried this multiple times, and also on many other entries and had no issues other than
> entry 69787 - any reason for this, Stefan?
>
> Anyway, what about MOptions? That appears to do what your example, and needs two lines in elog.cfg file:
>
> Moptions WaferID = 1001, 1002, 1003, 1004, 1005
> Extendable Options = WaferID
>
> I've done a couple of quick tests on a test logbook I keep for such experimentation, and it appears to do all
> you have asked of it. I added a new option 1006. However, I found that one has to add that new one on its own,
> let the entry become proper, and then edit the entry to add the other, existing, values. If you tick entries and
> also add a new one, then your new entry is all those listed on their own, that is you would get and new entry
> in the config file such as "1002 | 1004 | 1006", rather than just 1006
>
> This is probably an result of an unexpected use of Moptions and extendable options, rather than a bug per se.
>
> > Hey,
> >
> > thanks for your answer. I completely get your point. However, I think my question as not precise enough.
> >
> > I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
> >
> > wafer_IDs = numeric value, numeric value, numeric value, extendable
> >
> > Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
> >
> > Let me make an example (If the attribute were a string this would be the equivalent):
> >
> > 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> > wafer IDs = 1000, 1001, 1002
> >
> > 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> > wafer IDs = 1000, 1002
> >
> > The string solves the issue, but is not as nice as having directly a list of integers.
> >
> > Thanks for your help!
> >
> > Best,
> >
> > Nick |
69788
|
Sat Apr 20 18:47:37 2024 |
| David Pilgram | David.Pilgram@epost.org.uk | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | I have replied to this entry, because, for some reason I don't understand, if I reply to your latest entry, I am
automatically logged out. I tried this multiple times, and also on many other entries and had no issues other than
entry 69787 - any reason for this, Stefan?
Anyway, what about MOptions? That appears to do what your example, and needs two lines in elog.cfg file:
Moptions WaferID = 1001, 1002, 1003, 1004, 1005
Extendable Options = WaferID
I've done a couple of quick tests on a test logbook I keep for such experimentation, and it appears to do all
you have asked of it. I added a new option 1006. However, I found that one has to add that new one on its own,
let the entry become proper, and then edit the entry to add the other, existing, values. If you tick entries and
also add a new one, then your new entry is all those listed on their own, that is you would get and new entry
in the config file such as "1002 | 1004 | 1006", rather than just 1006
This is probably an result of an unexpected use of Moptions and extendable options, rather than a bug per se.
> Hey,
>
> thanks for your answer. I completely get your point. However, I think my question as not precise enough.
>
> I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
>
> wafer_IDs = numeric value, numeric value, numeric value, extendable
>
> Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
>
> Let me make an example (If the attribute were a string this would be the equivalent):
>
> 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> wafer IDs = 1000, 1001, 1002
>
> 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> wafer IDs = 1000, 1002
>
> The string solves the issue, but is not as nice as having directly a list of integers.
>
> Thanks for your help!
>
> Best,
>
> Nick |
69787
|
Fri Apr 19 12:30:52 2024 |
| Nick Sauerwein | nick.sauerwein@luxtelligence.ai | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | Hey eloggers,
does anyone have an answer to this question?
Thanks for the help.
Best,
Nick
> Hey,
>
> thanks for your answer. I completely get your point. However, I think my question as not precise enough.
>
> I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this
process has been performed with. So for a single post I would like to have a list like this:
>
> wafer_IDs = numeric value, numeric value, numeric value, extendable
>
> Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
>
> Let me make an example (If the attribute were a string this would be the equivalent):
>
> 1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
> wafer IDs = 1000, 1001, 1002
>
> 2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
> wafer IDs = 1000, 1002
>
> The string solves the issue, but is not as nice as having directly a list of integers.
>
> Thanks for your help!
>
> Best,
>
> Nick |
69779
|
Tue Apr 9 09:25:01 2024 |
| Nick Sauerwein | nick.sauerwein@luxtelligence.ai | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | Hey,
thanks for your answer. I completely get your point. However, I think my question as not precise enough.
I would like to have a numeric input, but many at the same time. When I make a new post, I would like to have an attribute 'wafer_IDs' that specifies the list of wafers this process has been performed with. So for a single post I would like to have a list like this:
wafer_IDs = numeric value, numeric value, numeric value, extendable
Note: I am not referring here to the option. The numeric values are freely chooses numbers, the only this that varies from post to post is the number of numeric values put.
Let me make an example (If the attribute were a string this would be the equivalent):
1st post: A process that was run with 3 wafers (ID: 1000, ID: 1001 and ID: 1002):
wafer IDs = 1000, 1001, 1002
2nd post: A process that is run with 2 wafers (ID: 1000 and ID: 1002):
wafer IDs = 1000, 1002
The string solves the issue, but is not as nice as having directly a list of integers.
Thanks for your help!
Best,
Nick |
69777
|
Tue Apr 9 04:46:36 2024 |
| Konstantin Olchanski | olchansk@triumf.ca | Info | Linux | 3.1.4 | Re: Extendable list of numeric items | I think what you want already exists, for example, when I reply to this message, there is this "Category" selection box with predefined answers
"Info", "Bug report", etc. For your case, replace "Category" with "Wafer type ID", replace "Info" with "1", "Bug report" with "2", etc. You numeric
values will be strings containing numbers "1", "2", etc. That works for you? K.O. |
|