Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 201 of 806  Not logged in ELOG logo
icon5.gif   elog client cmd line submission of attributes with spaces., posted by Darren Hollinrake on Fri Aug 19 19:39:50 2016 
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
    icon2.gif   Re: elog client cmd line submission of attributes with spaces., posted by Rudy Taraschi on Fri Aug 19 22:43:21 2016 
Try commenting out the Required Attributes line in your elogd.cfg file before submitting. I think it's a bug but this work-around gets around it. 
    icon2.gif   Re: elog client cmd line submission of attributes with spaces., posted by Andreas Luedeke on Sat Aug 20 12:17:10 2016 
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.
    icon2.gif   Re: Image source url missing, posted by Antonio Bulgheroni on Mon Aug 22 10:36:17 2016 
Can anyone help me? I'm really clueless 

 
    icon2.gif   Re: Image source url missing, posted by Stefan Ritt on Mon Aug 22 11:24:07 2016 rose.jpeg


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?
    icon2.gif   Re: Image source url missing, posted by Antonio Bulgheroni on Mon Aug 22 12:00:32 2016 
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. 
    icon2.gif   Re: Image source url missing, posted by Antonio Bulgheroni on Mon Aug 22 17:30:58 2016 
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,
    icon2.gif   Re: Image source url missing, posted by Andreas Luedeke on Mon Aug 22 18:49:48 2016 rose.jpeg.png
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.
ELOG V3.1.5-3fb85fa6