ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
68404
|
Thu Aug 25 18:18:57 2016 |
| Darren Hollinrake | hollinrakedp@gmail.com | Question | Windows | V3.1.1-3f311c5 | Re: elog client cmd line submission of attributes with spaces. | Thanks for the reply. You're correct that the "Start Time" attribute is a datetime field. I tried your suggestion and placed "0" for that field but it still returns the same error: Error: Missing required attribute "Start Time"
I tested after commenting out the required attribute line and the command was accepted. However, the datetime field does not display a valid date/time just a dash "-". It was a dash with both the "0" set and my previous format as well.
I did a bit more troubleshooting and if I removed the "Start Time" attribute from the list of required attributes, then my command would also be accepted. It was only choking on the datetime field as it appears I'm supplying it an invalid value. I just gave it a current epoch time and it functioned normally when a datetime attribute is not required. If I require my "Start Time" attribute and give it a valid epoch time (1472144295), it again throws the error that I'm missing a required attribute.
Andreas Luedeke wrote: | If the "Start Time" attribute is of the type "datetime", then you cannot assign a date string to it.
Instead you'll have to assign the seconds of the epoch.
Try assigning a "0", that should be the 1st of January 1970.
I hope that helps,
Andreas
Darren Hollinrake wrote: | I was setting of a local test copy of my logbooks on my Windows 7 PC to begin testing automation of submissions without spamming the live logbooks. While trying to make entries from the command line I get an error that I am missing a required attribute. I have multiple attributes that have spaces in them an the verbose output indicates that the space in the name is being changed to an underscore. Is this the expected behavior or a bug when submitting to the elog client in Windows?
Command being entered:
Quote: | C:\Program Files (x86)\ELOG>elog -h 127.0.0.1 -p 443 -s -l "Oceana Logbook" -u j
ohn.smith john.smith -v -n 0 -a Platform=LSOT -a "Start Time"="Fri, 19 Aug 2016
12:58:01 -0500" -a "Author=John Smith" -a "Device=2H111-1" -a "Action Type"=Mai
ntenance -a "Maint Type"=Unscheduled -a "System=Device" -a "Downtime=No" -a "Man
Hours"=1.0 -a MAF="" -a "Lost Time"="" -m "testing"
|
You can see where I have multiple attributes with spaces. Below you see where the name shows an underscore instead of a space.
Quote: | Successfully connected to host 127.0.0.1, port 443
Request sent to host:
POST /Oceana+Logbook/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------22C602B76
C41
Host: 127.0.0.1:443
User-Agent: ELOG
Content-Length: 1790
Content sent to host:
---------------------------22C602B76C41
Content-Disposition: form-data; name="cmd"
Submit
---------------------------22C602B76C41
Content-Disposition: form-data; name="unm"
john.smith
---------------------------22C602B76C41
Content-Disposition: form-data; name="upwd"
JUl77l/.kXYBzfoOZpsy.URRZEZpg2SHZNZIum6Rh/5
---------------------------22C602B76C41
Content-Disposition: form-data; name="exp"
Oceana Logbook
---------------------------22C602B76C41
Content-Disposition: form-data; name="encoding"
ELCode
---------------------------22C602B76C41
Content-Disposition: form-data; name="Platform"
LSOT
---------------------------22C602B76C41
Content-Disposition: form-data; name="Start_Time"
Fri, 19 Aug 2016 12:58:01 -0500
---------------------------22C602B76C41
Content-Disposition: form-data; name="Author"
Bruce Slack
---------------------------22C602B76C41
Content-Disposition: form-data; name="Device"
2H111-1
---------------------------22C602B76C41
Content-Disposition: form-data; name="Action_Type"
Maintenance
---------------------------22C602B76C41
Content-Disposition: form-data; name="Maint_Type"
Unscheduled
---------------------------22C602B76C41
Content-Disposition: form-data; name="System"
Device
---------------------------22C602B76C41
Content-Disposition: form-data; name="Downtime"
No
---------------------------22C602B76C41
Content-Disposition: form-data; name="Man_Hours"
1.0
---------------------------22C602B76C41
Content-Disposition: form-data; name="MAF"
---------------------------22C602B76C41
Content-Disposition: form-data; name="Lost_Time"
---------------------------22C602B76C41
Content-Disposition: form-data; name="Text"
testing 123
---------------------------22C602B76C41
Response received:
HTTP/1.1 404 Not Found
Server: ELOG HTTP 3.1.1-3f311c5
Content-Type: text/html;charset=ISO-8859-1
Connection: Close
<!DOCTYPE html>
<html><head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>ELOG error</title>
<link rel="stylesheet" type="text/css" href="elog.css">
</head>
<body><center>
<table class="dlgframe" width="50%" cellpadding="1" cellspacing="0"<tr><td class
="errormsg"><i>Error: Attribute <b>Start Time</b> not supplied.</i><p>
Please go back and enter the <b>Start Time</b> field.
</td></tr>
<tr><td class="errormsg"><script language="javascript" type="text/javascript">
document.write("<button type=button onClick=history.back()>Back</button>");
</script>
<noscript>
Please use your browser's back button to go back
</noscript>
</td></tr>
</table>
</center></body></html>
Error: Missing required attribute "Start Time"
|
|
|
|
68403
|
Tue Aug 23 11:06:49 2016 |
| Antonio Bulgheroni | antonio.bulgheroni@gmail.com | Question | Windows | 3.1.1 | Re: Image source url missing | ok... that was easy. I though there was a ELOG specific way to link to attachments.
(my computer is also in German :)
Andreas Luedeke wrote: |
If you go on the attached image with the right mouse button, then you'll get a menu. In this menu there should be some entry like "copy image link" (my PC is unfortunately configured in German, I can't look it up).
This copies the URL in the clipboard and you can just paste it in the URL entry of the image button.
Antonio Bulgheroni wrote: |
Thanks Andreas for your contribution and your quick fix. Just a question: how do you get the attachment URL?
Cheers,
Antonio
Andreas Luedeke wrote: |
Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
|
|
|
68402
|
Tue Aug 23 09:05:21 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | 3.1.1 | Re: Image source url missing | If you go on the attached image with the right mouse button, then you'll get a menu. In this menu there should be some entry like "copy image link" (my PC is unfortunately configured in German, I can't look it up).
This copies the URL in the clipboard and you can just paste it in the URL entry of the image button.
Antonio Bulgheroni wrote: |
Thanks Andreas for your contribution and your quick fix. Just a question: how do you get the attachment URL?
Cheers,
Antonio
Andreas Luedeke wrote: |
Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
|
|
68401
|
Tue Aug 23 09:01:08 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | 3.1.1 | Re: Image source url missing | Yes, I can confirm that the image button upload does work in the Linux Demo logbook (Windows 10 client host, Firefox 47.0 client) and it still does not work in this Forum.
Antonio Bulgheroni wrote: |
Andreas, there is something strange. It looks the problem is "configuration dependent" because I tried to upload a picture on the Linux Demo logbook and there it works. Can you confirm this too?
Andreas Luedeke wrote: |
Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
|
|
68399
|
Mon Aug 22 22:09:14 2016 |
| Antonio Bulgheroni | antonio.bulgheroni@gmail.com | Question | Windows | 3.1.1 | Re: Image source url missing | Andreas, there is something strange. It looks the problem is "configuration dependent" because I tried to upload a picture on the Linux Demo logbook and there it works. Can you confirm this too?
Andreas Luedeke wrote: |
Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
|
68398
|
Mon Aug 22 21:55:14 2016 |
| Antonio Bulgheroni | antonio.bulgheroni@gmail.com | Question | Windows | 3.1.1 | Re: Image source url missing | Thanks Andreas for your contribution and your quick fix. Just a question: how do you get the attachment URL?
Cheers,
Antonio
Andreas Luedeke wrote: |
Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
|
68397
|
Mon Aug 22 18:49:48 2016 |
| Andreas Luedeke | andreas.luedeke@psi.ch | Question | Windows | 3.1.1 | Re: Image source url missing | Okay, I can confirm this bug: with Windows 10 using Firefox 47.0 the dialog hangs as soon as I press "Send it to the server". When it returns, it did not upload anything. That is why it asks for URL after pressing OK.
Quick fix: just attach the image and use the URL of the attachment.
I did it here: 
Cheers
Andreas
Antonio Bulgheroni wrote: |
Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|
68396
|
Mon Aug 22 17:30:58 2016 |
| Antonio Bulgheroni | antonio.bulgheroni@gmail.com | Question | Windows | 3.1.1 | Re: Image source url missing | Dear Stefan, this is to confirm that also from my personal laptop from home I have the same issue. No pictures uploaded to this server from windows 10.
Which OS & Browser are you using?
thanks,
Antonio
Antonio Bulgheroni wrote: |
Dear Stefan, thanks for your answer.
I tried to add a picture to this reply but I got the same error message with both Firefox and Chrome.
For sure the pictures were not included in the message, but I have the feeling they were not even uploaded to the server.
(I'm on Windows 7)
Thanks for your help,
Antonio
Stefan Ritt wrote: |

I entered this image exactly as you described. When I click OK, the dialog disappears. Can you check if it works for you on this server? Maybe with different browsers?
Stefan
Antonio Bulgheroni wrote: |
Can anyone help me? I'm really clueless 
Thanks in advance,
Antonio
Antonio Bulgheroni wrote: |
Dear all, sorry for asking you another question, but today after I finally recovered all my logbook entries, I updated to elog 3.1.1 and now I have a problem uploading images.
This is what I do:
- Click on the insert "Image" button in the editor toolbar
- In the popup window I select the picture I want to upload and then press "Send to server". I see the file appearing among the attachments at the bottom of the message.
- I click OK, but the popup complains that the Image Source URL is missing. Indeed when I switch to the other tab the URL field is open.
I have tried on your demo logbook and after the image is sent to the server, the URL field is automatically filled.
What am I doing wrong? With 2.9.2 it was working normally.
Thanks again and best regards
Antonio
|
|
|
|
|
|