Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 286 of 807  Not logged in ELOG logo
ID Date Icon Author Author Email Category OSdown ELOG Version Subject
  67751   Tue Jan 13 10:10:56 2015 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.0.0Re: Problem with embedded Iframes

This is an issue with CKEditor, not with ELOG. 

Maybe this helps:

http://drupal.stackexchange.com/questions/96069/ckeditor-removes-iframes-in-editor-after-update-to-6-x-1-14

 

Eric Quintero wrote:

We've upgraded our ELOG installation to v3, and we really like the new CKeditor. However, one of my users has noticed a problem when using Iframe HTML elements with CKeditor; namely that the HTML is not present when trying to edit the post, and saving the post erases the HTML. 
I was able to reproduce this fairly simply, by trying to embed a youtube video. I would create a new post, click the "Source" view in CKeditor, and paste something like the following:
<iframe width="420" height="315" src="//www.youtube.com/embed/RzZgFKoIfQI" frameborder="0" allowfullscreen></iframe>
Upon submission, this produces a totally normal .log file in the logbook directory, and the video is viewable on the ELOG page:

Date: Mon, 22 Dec 2014 15:52:20 -0800
Author: test
Type: General
Category: General
Subject: test
Attachment:
Encoding: HTML
========================================
<iframe width="420" height="315" src="//www.youtube.com/embed/RzZgFKoIfQI" frameborder="0" allowfullscreen></iframe>


Then, upon hitting "Edit," I am greeted by a totally empty CKeditor window, and hitting "Source" does not display the original HTML. 
Any help is greatly appreciated!

PS: Including the first line of the logfile in this very post would cause the submitted post to be truncated for some reason, although the preview looked fine. Pasting it here also caused the log to end abruptly. The string is "(dollar sign)(at symbol)MID(at symbol)(dollar sign): 9"

 

  67806   Fri Feb 13 16:43:00 2015 Question Alexalkaloge@cern.chBug reportMac OSX3.0.0Fail to install in mac

Hi

 

I am trying to install to mac 10.10.2 - everything works almost fine, but when I issue the sudo make install I get

 

Installing example logbook to /usr/local/elog/logbooks/demo
install: logbooks/demo/2001/011108a.log -> /usr/local/elog/logbooks/demo/2001/011108a.log
install: elogd.plist: No such file or directory
make: *** [install] Error 71

 

Any idea why ?

 

Thanks

 

Alex

 

  67807   Fri Feb 13 19:47:43 2015 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.0.0Re: Fail to install in mac

Sorry I forgot to include the elogd.plist file in the distribution. I attached it to this entry, so just copy it into the elog root directory and run again "make install".

/Stefan

Alex wrote:

Hi

 

I am trying to install to mac 10.10.2 - everything works almost fine, but when I issue the sudo make install I get

 

Installing example logbook to /usr/local/elog/logbooks/demo
install: logbooks/demo/2001/011108a.log -> /usr/local/elog/logbooks/demo/2001/011108a.log
install: elogd.plist: No such file or directory
make: *** [install] Error 71

 

Any idea why ?

 

Thanks

 

Alex

 

 

  67808   Fri Feb 13 20:36:59 2015 Reply Alexalkaloge@cern.chBug reportMac OSX3.0.0Re: Fail to install in mac

Thanks! now install works fine - but I cannot find how to open and start writing- I do

 

/usr/local/sbin/elogd
elogd 3.0.0 built Feb 13 2015, 16:42:32 revision 21dc563
CKeditor detected
ImageMagick detected
Indexing logbooks ... done
Server listening on port 8080 ...


but nothing pops up...I mean it is not possible to run "offline" ie locally on my mac ?

  67809   Fri Feb 13 21:18:46 2015 Reply Stefan Rittstefan.ritt@psi.chBug reportMac OSX3.0.0Re: Fail to install in mac

Point your browser to http://localhost:8080 as written in the documentation

Alex wrote:

Thanks! now install works fine - but I cannot find how to open and start writing- I do

 

/usr/local/sbin/elogd
elogd 3.0.0 built Feb 13 2015, 16:42:32 revision 21dc563
CKeditor detected
ImageMagick detected
Indexing logbooks ... done
Server listening on port 8080 ...


but nothing pops up...I mean it is not possible to run "offline" ie locally on my mac ?

 

  68252   Mon Feb 8 13:52:33 2016 Question Tapasi Ghoshtapasi03@gmail.comQuestionMac OSXelog-3.1.0New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.

----------------------

>>

Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$  ps aux | grep elog

tapasi            560   0.4  0.0  2432772    644 s002  S+    9:50AM   0:00.01 grep elog

nobody             76   0.0  0.4  2481308  18440   ??  Ss    9:48AM   0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

--------------------------

Any suggesstion will be very much appreciated.

Thanks in advance,

Tapasi

 

 

  68253   Mon Feb 8 15:07:05 2016 Reply Andreas Luedekeandreas.luedeke@psi.chQuestionMac OSXelog-3.1.0Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.

Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended - allows write access for "others")

Cheers, Andreas

Tapasi Ghosh wrote:

Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.

----------------------

>>

Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$  ps aux | grep elog

tapasi            560   0.4  0.0  2432772    644 s002  S+    9:50AM   0:00.01 grep elog

nobody             76   0.0  0.4  2481308  18440   ??  Ss    9:48AM   0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

--------------------------

Any suggesstion will be very much appreciated.

Thanks in advance,

Tapasi

 

 

 

  68254   Mon Feb 8 16:19:11 2016 Reply Tapasi Ghoshtapasi03@gmail.comQuestionMac OSXelog-3.1.0Re: New entry cannot be written to directory "/usr/local/elog/logbooks/demo/"

Thanks for your reply.

I am the user and  it also has the write access 

cd /usr/local/elog/

ls -ltr

drwxrwxrwx  6 tapasi  admin  204 Jan  7 18:26 demo

Andreas Luedeke wrote:

You should check if the directory /usr/local/elog/logbooks/demo belongs to the right user and has the right write permissions.

Since the elogd process belongs to the user "nobody", the directory should best belong to "nobody" as well (or - not recommended - allows write access for "others")

Cheers, Andreas

Tapasi Ghosh wrote:

Dear All,

I could not submit a new enetry to my logbook whenever restarting my laptop.  I am a new user to elog.

Attached is the screenshot of the error message and also there is "nobody" while I grep elog.

----------------------

>>

Tapasis-MacBook-Pro-2:elog-3.1.0 tapasi$  ps aux | grep elog

tapasi            560   0.4  0.0  2432772    644 s002  S+    9:50AM   0:00.01 grep elog

nobody             76   0.0  0.4  2481308  18440   ??  Ss    9:48AM   0:00.08 /usr/local/sbin/elogd -c /usr/local/elog/elogd.cfg

--------------------------

Any suggesstion will be very much appreciated.

Thanks in advance,

Tapasi

 

 

 

 

ELOG V3.1.5-3fb85fa6