Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Terry Almond on Mon Jan 30 15:50:45 2017
|
I've created an elog where users can then enter links to a file: for example they would enter:
<a href="file:///M:/Data/Inspection%20Reports/ABC123.doc">ABC123</a>
If they are running this on their desktops where everyones M drive is mapped to the same location, not a problem, the file opens perfectly. |
Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Stefan Ritt on Mon Jan 30 16:47:31 2017
|
Linking to external files via "file:///..." is a bad idea, since only a pointer is stored in the elog. So if someone puts somehing on M: and
the drive is removed, the file is physically gone. No way to retrieve it. Instead of puttting links to files, users should get trained to ATTACH the files
to elog cntries (V3 of elog has a "Drop attachments here..." section. Only then the files are physically transferred into elog and accessible |
Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Terry Almond on Mon Jan 30 16:56:34 2017
|
Hi Stefan
Unfortunately this would become impractical for us as many of the test data files which we'd need to link too are Gb's in size, some
over 100Gb, hence only the files needed to do a say an inspection of the equipment would be copied onto memory sticks. Currently we use an excel speadsheet |
Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Stefan Ritt on Mon Jan 30 17:45:18 2017
|
If a file is on a memorystick and the memorystick is gone, how could elog bring it back? What you ask for is magic, sorry for that. Also if you move
files outiside elog from one folder (drive) to anohter. How shoudl elog keep track of these files if they are outside? If your colleague moves some piece
of equipment from A to B, without telling you, how can you guess where B is? |
Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Terry Almond on Tue Jan 31 11:42:19 2017
|
Hi Stefan,
Obviously it's not magic but my inability to explain. I've attached a quick jpg of the file structure we use. So for every project we
just repeat the file structure. It then becomes a browser based interface for our engineers, inspectors, project managers etc. so via the network they |
Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Stefan Ritt on Tue Jan 31 12:46:30 2017
|
Sure, we (Andreas and I) get your point. But you say "... we have no control of the device allocation". If you have no control, how could
elog have control? As Adreas said, the file:// access is even done inside your browser, thus bypassing elog, so you have to tell your browser where to
find the files. I cannot say more than what Andreas said in elog:68562 |
Re: Opening a Local File using <a href="file:///../filename.doc">text</a>, posted by Andreas Luedeke on Tue Jan 31 08:18:05 2017
|
Hi Terry,
I'm not really sure I understand the question; I'll try to rephrase how I understood it.
You have loads of measurement
data. All this data is stored not in ELOG but in a common drive M:.
When people work off-site, they copy the ELOG data and all the measurement |
Elog crashing at random intervals, posted by Lee Burnside on Sat Jan 28 22:23:46 2017
|
We're running Elog 3.1.2 om SL 7.2 and keep getting random crashes, sometimes when no one is accessing a logbook. The following is from /var/log/messages
with debugging turned on after the latest crash.
Jan 28 12:43:56 archer elogd[9629]: POST /PHYS3305Spring2017/ HTTP/1.1 |
Re: Elog crashing at random intervals, posted by Lee Burnside on Mon Jan 30 12:03:36 2017
|
Never mind, version from github solved issue.
Lee |
elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Mon Jan 9 17:15:56 2017
|
My MacOS (10.12.2) elogd version V3.1.2 is a recent git commit (edc5e85), due to the fix to my earlier-described issue solved in the thread here: https://midas.psi.ch/elogs/Forum/68519.
I am trying to (re-)set up Mirror functionality with a linux server running the standard public (V3.1.2-bd75964). I had initially updated
the linux server so that it also had the latest git commit (edc5e85), but could then not even add new logbook entries that involved attachments to it. |
Re: elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Fri Jan 13 08:27:15 2017
|
The attached screenshot shows the behaviour after doing a synchronization (with Mirror simulate = 1) following first having ensured that the local (Mac)
and remote (linux) ELOGs initially showed "All entries identical" when doing a simulated synchronization, and then having edited local entries
9707 and 9709 by uploading (different) attachments to them. |
Re: elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Fri Jan 13 21:05:49 2017
|
When I switch from SSL = 1 to SSL = 0 and I use http:// instead of https://, the ability to upload attachments to logbook entries returns. With
both Chrome and Safari browsers, with SSL = 1 the file upload hangs after only a small percentage of the file has been uploaded. I ran the following
openssl diagnostic on my elogd port. Would anyone have advice on what might be causing such errors? |
Re: elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Sat Jan 14 08:27:42 2017
|
For the time being, I am deeming ELOG 3.1.2 unusable with https (SSL = 1) functionality on my "Debian GNU/Linux 7 (wheezy)" server
with "OpenSSL 1.0.1t", due to the described apparent issues with SSL. Reverting to http (SSL = 0) brings back my ability to upload attachments
and synchronize with a remote elogd running on a MacOS laptop. |
Re: elogd crashes during SSL Mirror operations involving attachments, posted by Andreas Warburton on Thu Jan 19 12:56:51 2017
|
Further to my comment in https://midas.psi.ch/elogs/Forum/68549, if the described synchronization requires attachment(s) to be transferred from
my Mac laptop to the Debian linux server (with SSL = 0 set), it fails in all the tests that I tried.
To check whether these problems are linked to the OpenSSL version on the linux server, we also tried building an elogd executable using 1.0.2j |
"No SMTP host defined in [global] section of configuration file", posted by Luca on Wed Jan 18 05:25:44 2017
|
Hi,
I started re-using after a month an elog on my linux machine and, without any apparent reason since I did not used the machine at all in the
last month, every time I try to submit a post I get the following error |
Re: "No SMTP host defined in [global] section of configuration file", posted by Stefan Ritt on Wed Jan 18 10:25:20 2017
|
These problems usually come when you are using a different configuration file that the one you think you are using. Note that you explicitly can tell
elogd to use a specific configuation file with the "-c" flag. Also make sure to restart elogd after major changes.
Luca |
UTC time, posted by Luca on Mon Jan 9 15:39:59 2017
|
Dear all,
I am trying to have the elog timestamp in UTC time instead of local time using the following config file but without success. Do you know what
I am doing wrong? |
Re: UTC time, posted by Stefan Ritt on Mon Jan 9 17:18:15 2017
|
How do you believe that you can preset a Submission item? Preset only works for attributes, so you have to define an attribute like "Submission
UTC" or similar and preset this attribute with
Preset Submission UTC = $utcdate |
Re: UTC time, posted by Luca on Mon Jan 9 17:26:37 2017
|
Dear Steve,
thanks a lot. Sorry but I am not expert of elog. I "inherited" from a colleague and wanted to see if I can keep it alive but to do
it I would need to move to UTC. Should this command affect the "INSERT CURRENT TIME/DATE" button? It does not seem to change. |
Re: UTC time, posted by Luca on Thu Jan 12 02:35:02 2017
|
Any suggestion?
Luca
wrote:
Dear Steve, |
Re: UTC time, posted by Stefan Ritt on Thu Jan 12 08:28:45 2017
|
The INSERT CURRENT TIME/DATE button is not affected by this setting.
Luca
wrote:
Dear Steve, |
Re: UTC time, posted by Andreas Luedeke on Thu Jan 12 09:10:06 2017
|
Hi Luca,
if you want to change all datetime properties to UTC time, then you'll just need to set the timezone on the server to UTC, before elogd is
started. |
Limit number of characters for "login user" parameter string ?, posted by Christine Quicot on Tue Jan 10 09:59:30 2017
|
Hello all,
I use ELOG for about 30 users, and I've listed their email adresses in the "login user" parameter, using the LDAP authentication.
As I had problems with the users from the end of the list (they couldn't log in the logbooks) I guessed that there is a max length for the string |
Re: Limit number of characters for "login user" parameter string ?, posted by Stefan Ritt on Tue Jan 10 11:13:02 2017
|
There is a limit of 100 options per line, so you probably run against that. This is defined in elogd.h with MAX_N_LIST and MAX_N_ATTR. You can try to
increase these and recompile, but at some point you will hit the stack size limit of your operating system and elogd will crash.
Christine |
Is it possible to add custom menu commands, posted by Alex Kühnel on Sun Jan 8 19:26:29 2017
|
hi forum,
my question, is it possible to add a custom menu entry (f.e. "Auswertung"). I will start a new php page and do some system code starting
from the new page. I have attached a pic of my "Bereitschaftsdoku". |
Re: Is it possible to add custom menu commands, posted by Stefan Ritt on Mon Jan 9 11:00:53 2017
|
No, calculations are not easily possible with elog. You can write some Javascript code to pull out all minutes, add them up and manipulate the DOM tree
to show the results, but this requires some JavaScript knowlegde. Alternatively, export your table to a CSV file and do your calculations with a spreadhseet
program. |
Re: Is it possible to add custom menu commands, posted by Alex Kühnel on Mon Jan 9 16:02:35 2017
|
ok, tnx! I will do the export and calculation with Excel
regards
/alex |
How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 12:55:05 2017
|
Hi all,
I have two attributes defined like following
Attributes = Author, Author Email, Icon, Category, System, Subject |
Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 13:24:06 2017
|
You can do that with conditional attributes (see documentation):
Attributes = Author, Author Email, Icon, Category, System, Subject |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:04:13 2017
|
Thanks for your quick reply! I just test what you suggested, even I test {1} Preset on edit Icon = icon1.gif, they both didn't work.
Stefan
Ritt wrote:
You can do that with conditional attributes (see documentation): |
Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 14:13:07 2017
|
The example I gave you worked for me, I actually tested it. Please note that it contains
Options Category = ...
and not |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:23:08 2017
|
Sorry for my carelessness. What you said is definitely right. I just wonder how can Icon and Catagory change simultaneously whatever which one be selected
first.
Stefan |
Re: How to make two attributes reacting with each other, posted by Stefan Ritt on Thu Jan 5 14:35:22 2017
|
If you select a (different) category, the current icon setting simply gets overwritten, what ever it was before.
Xuan
Wu wrote:
Sorry for my carelessness. What you said is definitely right. I just wonder |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Thu Jan 5 14:40:59 2017
|
What I mean is that, when I select a catagory, the icon will change. If I change the icon, I need the catagory change too.
Stefan
Ritt wrote:
If you select a (different) category, the current icon setting simply |
Re: How to make two attributes reacting with each other, posted by Andreas Luedeke on Fri Jan 6 10:22:24 2017
|
IOptions does not support conditional attributes.
I think the proper solution would be to remove the icon selection field from the input form:
Show Attributes Edit = Author, Author Email, Category, System, Subject
The |
Re: How to make two attributes reacting with each other, posted by Xuan Wu on Fri Jan 6 11:05:18 2017
|
So, as far as I know that ROptions and IOptions doesn't support conditional attributes.
I think what you suggest is a nice idea. An alternative way is putting Category attribute before Icon attribute and adding a tooltip
to Icon attribute. However, I think your advice is better. Thanks! |