ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
66223
|
Thu Feb 26 07:55:24 2009 |
| Razvan Gornea | gornea@gmail.com | Bug report | Linux | 2.7.5 | Re: problem reading attached PDF files! |
Stefan Ritt wrote: |
Razvan Gornea wrote: |
Stefan Ritt wrote: |
Razvan Gornea wrote: |
Hi,
I was wondering if anybody else seen this problem and maybe has a solution. I use Elog version 2.7.5 rev. 2172 that I compiled from the tar.gz package on a Ubuntu PC. It is very strange that everything works fine except I can not view / download PDF attachments specifically. I can view / download images and I can download all sorts of file formats: xls, doc, ppt, etc. Viewing in the same window / tab or in a different one does not work. Saving the attachment produces a file empty file with the correct name! This is so strange, for example following a link from an image or any other attachment type works but if that link is a PDF file I get an empty page! When uploading a PDF file there a thumbnails that are generated, I do view the thumbnail but not the PDF itself! I didn't even managed to start a download on PDF attachment.
Any help would be appreciated!
|
This sounds to me like you have a problem on your browser. I know that Acrobat Reader sometimes causes problems. The current version always crashes my broswer, so I cannot display PDFs inline, I rather have to same them, and the open them for display. Maybe you have a simlar problem. Since you see the PDF thumbnails, I believe that the PDF operations indise ELOG are ok. Can you view PDFs from other websites? Have you tried another browser? Maybe on another computer?
- Stefan
|
Hi,
Thanks for the reply. I just checked the access from two other computers and indeed it works. I tried to see what is the problem with my browser, I use Firefox 3.0.6 and tried to get a PDF from the web. So I do have the same problem with other sites for viewing a PDF, I mean when I click on a PDF link I get a white page and the browser does not invoke any plug-in or Acrobat Reader. But the major difference with Elog is that with other sites I can always right click on the link and do "Save as" and it starts the download and I get a valid file. With elog it does start the download but I get an empty file. Actually I checked inside and it is not really empty, it is a text file, here I attached an example (the content of the file when I tried to download a PDF from the Elog server):
gornea@hadriana ~
$ cat Ba_source_GG_Feb09.pdf
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>ELOG Login</title>
<link rel="stylesheet" type="text/css" href="default.css">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.png" type="image/png" />
</head>
<body OnLoad="document.form1.uname.focus();">
<form name=form1 method="POST" action="./" enctype="multipart/form-data">
<input type=hidden name=redir value="090219_111057/Ba_source_GG_Feb09.pdf">
<table class="dlgframe" cellspacing=0 align=center><tr><td colspan=2 class="dlgtitle">Please login</td></tr>
<tr><td align=right class="dlgform">Username:</td>
<td align=left class="dlgform"><input type=text name=uname value=""></td></tr>
<tr><td align=right class="dlgform">Password:</td>
<td align=left class="dlgform"><input type=password name=upassword></td></tr>
<tr><td align=center colspan=2 class="dlgform"><input type=checkbox checked name=remember value=1>
Keep me logged in on this computer<br>
for the next 31 days or until I log out</td></tr>
<tr><td align=center colspan=2 class="dlgform">
<a href="?cmd=Forgot">Forgot password?</a></td></tr>
<tr><td align=center colspan=2 class="dlgform"><input type=submit value="Submit"></td></tr></table>
<center><a class="bottomlink" title="Goto ELOG home page" href="https://midas.psi.ch/elog/">ELOG V2.7.5-2172</a></center></form></body></html>
|
The file you downloaded is actually the login screen of elog! So probably your login token expired between the display of the web page showing the attachemnt link and the attachment download, or you turned cookies off. So when you try to download the attachment, your user credentials are not passed as cookies together with that request and elog barks at you requiring a new login.
|
Hi,
OK but the box at login is checked to keep the login / password for 31 days and the cookies are enabled for sure. Now another user pointed out that it can not see pictures including the little icons when using Safari. I never used Safari but I got it just to see what is going on. So it took me some time but I think I have an idea now after comparing the source of a post that I read with Firefox to the one I get with Safari. Essentially the Firefox has the Javascript functions and class definitions before the HTML page starts. Very weird! Took me some time because when you view the source they both showed almost the same content (there are a few differences in <head>) ! But when I tried to save as HTML it showed this difference. Also I must mention that the problem for viewing the pdf attachments only happens with Firefox on Windows, I tried from a Linux PC and it works fine, now on Linux PC I have an older version of Firefox so maybe this has to do with Firefox version not OS. For this problem with the pictures and icons, if is not the Javascript related problem I am really totally last, how can one browser get the picture but not the other browser with the same content in the <body>!?! |
66227
|
Thu Feb 26 17:58:48 2009 |
| Razvan Gornea | gornea@gmail.com | Bug report | Linux | 2.7.5 | Re: problem reading attached PDF files! |
Stefan Ritt wrote: |
Razvan Gornea wrote: |
Stefan Ritt wrote: |
Razvan Gornea wrote: |
Hi,
I was wondering if anybody else seen this problem and maybe has a solution. I use Elog version 2.7.5 rev. 2172 that I compiled from the tar.gz package on a Ubuntu PC. It is very strange that everything works fine except I can not view / download PDF attachments specifically. I can view / download images and I can download all sorts of file formats: xls, doc, ppt, etc. Viewing in the same window / tab or in a different one does not work. Saving the attachment produces a file empty file with the correct name! This is so strange, for example following a link from an image or any other attachment type works but if that link is a PDF file I get an empty page! When uploading a PDF file there a thumbnails that are generated, I do view the thumbnail but not the PDF itself! I didn't even managed to start a download on PDF attachment.
Any help would be appreciated!
|
This sounds to me like you have a problem on your browser. I know that Acrobat Reader sometimes causes problems. The current version always crashes my broswer, so I cannot display PDFs inline, I rather have to same them, and the open them for display. Maybe you have a simlar problem. Since you see the PDF thumbnails, I believe that the PDF operations indise ELOG are ok. Can you view PDFs from other websites? Have you tried another browser? Maybe on another computer?
- Stefan
|
Hi,
Thanks for the reply. I just checked the access from two other computers and indeed it works. I tried to see what is the problem with my browser, I use Firefox 3.0.6 and tried to get a PDF from the web. So I do have the same problem with other sites for viewing a PDF, I mean when I click on a PDF link I get a white page and the browser does not invoke any plug-in or Acrobat Reader. But the major difference with Elog is that with other sites I can always right click on the link and do "Save as" and it starts the download and I get a valid file. With elog it does start the download but I get an empty file. Actually I checked inside and it is not really empty, it is a text file, here I attached an example (the content of the file when I tried to download a PDF from the Elog server):
gornea@hadriana ~
$ cat Ba_source_GG_Feb09.pdf
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head>
<META NAME="ROBOTS" CONTENT="NOINDEX, NOFOLLOW">
<title>ELOG Login</title>
<link rel="stylesheet" type="text/css" href="default.css">
<link rel="shortcut icon" href="favicon.ico" />
<link rel="icon" href="favicon.png" type="image/png" />
</head>
<body OnLoad="document.form1.uname.focus();">
<form name=form1 method="POST" action="./" enctype="multipart/form-data">
<input type=hidden name=redir value="090219_111057/Ba_source_GG_Feb09.pdf">
<table class="dlgframe" cellspacing=0 align=center><tr><td colspan=2 class="dlgtitle">Please login</td></tr>
<tr><td align=right class="dlgform">Username:</td>
<td align=left class="dlgform"><input type=text name=uname value=""></td></tr>
<tr><td align=right class="dlgform">Password:</td>
<td align=left class="dlgform"><input type=password name=upassword></td></tr>
<tr><td align=center colspan=2 class="dlgform"><input type=checkbox checked name=remember value=1>
Keep me logged in on this computer<br>
for the next 31 days or until I log out</td></tr>
<tr><td align=center colspan=2 class="dlgform">
<a href="?cmd=Forgot">Forgot password?</a></td></tr>
<tr><td align=center colspan=2 class="dlgform"><input type=submit value="Submit"></td></tr></table>
<center><a class="bottomlink" title="Goto ELOG home page" href="https://midas.psi.ch/elog/">ELOG V2.7.5-2172</a></center></form></body></html>
|
The file you downloaded is actually the login screen of elog! So probably your login token expired between the display of the web page showing the attachemnt link and the attachment download, or you turned cookies off. So when you try to download the attachment, your user credentials are not passed as cookies together with that request and elog barks at you requiring a new login.
|
Hi Stefan,
I added a new logbook for test and posted a message with three attachments: picture file, PDF file and excel file. Could you log in and look if I did something obviously stupid? The link is:
http://exo-elog.stanford.edu/Test+logbook/
User name: testUser
Password: go
I have this specific problem with the PDF attachments and I can not see any picture or the icons with Safari. Thanks a lot! |
67513
|
Tue May 28 09:16:18 2013 |
| Razvan Gornea | gornea@zoho.com | Question | Linux | 2.9.2-2455 | Elog command line problem | I'm trying to use the command line to post automatically entries from a web based calendar. I run elogd behind SSL with user/pass configuration. I created an account for the calendar and used the following command line.
[gornea@lheppc63 ~]
$ elog -v -s -a Subject=Test -a Type=Notice -a Category=Planning -h svn.lhep.unibe.ch -p 443 -l "LHEP EXO General" -u calendar ******** "SORRY for SPAMMING! Testing automated posts from command line"
It seems like all parameters are OK but for some reason the connection gets closed. Anybody has an idea why? The SSL certificate is not valid and on the web page users have first to accept it. Can this explain the problem? Is there a flag for elog command line to instruct it to ignore SSL warnings? Thanks a lot!
Command line output:
Successfully connected to host svn.lhep.unibe.ch, port 443
Request sent to host:
POST /LHEP+EXO+General/ HTTP/1.0
Content-Type: multipart/form-data; boundary=---------------------------16B1637A4CDBB4E6448003F4
Host: lheppc63.lhep.unibe.ch
User-Agent: ELOG
Content-Length: 1105
Content sent to host:
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="cmd"
Submit
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="unm"
calendar
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="upwd"
Z28yQjUyIQ==
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="exp"
LHEP EXO General
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="encoding"
ELCode
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Subject"
Test
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Type"
Notice
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Category"
Planning
---------------------------16B1637A4CDBB4E6448003F4
Content-Disposition: form-data; name="Text"
SORRY for SPAMMING! Testing automated posts from command line
---------------------------16B1637A4CDBB4E6448003F4
Response received:
HTTP/1.1 302 Found
Server: ELOG HTTP 2.9.2-2455
Location: https://svn.lhep.unibe.ch/LHEP+EXO+General/
Connection: Close
<html>redir</html>
Message successfully transmitted, ID=
[gornea@lheppc63 ~]
$
|
72
|
Sun Jul 14 15:15:19 2002 |
| Ravi Pappu | pappu@media.mit.edu | Bug report | | | Reverse sort, threaded display fails when there is only 1 entry in logbook |
This is not a serious bug...but when the global settings are as follows
[global]
Display mode = threaded
Reverse sort = 1
all logbooks with only a single entry produce the wrong URL on
clicking "last 10"
The URL produced is http://localhost:8080/LogbookName/0
instead of http://localhost:8080/LogbookName/1
Ravi |
877
|
Mon Jan 17 01:13:27 2005 |
| Rashid Ali | rashid.k.ali@gmail.com | Question | Windows | 2.5.5-4 | How do I Export the 'Date' and 'Text' fields. | I can export the Attributes I define easily and the Subject. Can't seem to
export the Entry Date and the Text fields.
Help. |
543
|
Thu May 20 00:55:51 2004 |
| Ralph Kuehn | r.e.kuehn@larc.nasa.gov | | Windows | 2.5.2 | User/Admin privlege question | Hello,
For some reason if I define a "login user" that is allowed the configure
option he is also allowed to change the configuration file. According to the
documentation it seems like this should NOT be the case. Any ideas as to
what the problem might be?
Thanks in advance for any help/advice.
Ralph |
Attachment 1: elogd.cfg_cpy
|
[global]
logbook tabs = 0
port = 8080
Password file = C:\Program Files\Elog\passwd
Admin user = skuehn
Self Register = 3
Logout to main = 1
Logfile = C:\Program Files\Elog\logfile
Logging level = 3
[thelog]
Comment = The Logbook for Daily Entries
Page Title = ELOG - $subject
Login expiration = 1000
Login user = skuehn,kuehn
; Look and Feel
CSS = compact.css
Display mode = summary
Theme = default
; Attributes
Attributes = Author, Type, Category, Subject
Required Attributes = Author, Type
ROptions Type = Routine, Supplemental, Special, Other
ROptions Category = General, Other
Thread display = $subject, posted by $author on $entry time
; Preset author and email
Preset Author = $long_name
Preset Author Email = $user_email
Preset Type = Routine
Preset Category = General
; These Attributes Cannot be changed
Locked Attributes = Author
; Flags
Reverse sort = 1
Back to main = 0
Quick filter = Date, Type
; Options for Reply
Subst on reply subject = Re: $subject
Remove on reply = Author, Author Email
; Email settings
Use Email Subject = $subject
Use Email From = $user_email
; Email notification, 0=send
Suppress Email to users = 0
|
566
|
Wed Jun 30 14:59:06 2004 |
| Ralph Kuehn | r.e.kuehn@larc.nasa.gov | Question | Windows | v2.5.3 | Re: Only show log entries for logged-in user | One way would be to create a seperate logbook for each student including the
teacher. It should then be fairly simple to set up the permissions however you
would like. For a large class it might be a bit cumbersome to set it up this way.
Ralph Kuehn
> Hi,
>
> Is it possible to restrict the display of logbook entries to the entries
> created by the currently logged-in user?
>
> I'm thinking of using the ELOG system in a school laboratory environment:
> students must write entries in the logbook about their excersises, but I
> would like that students can not "see" what other students have written. To
> make it even more complicated, I would like that students can see their own
> entries and the teacher entries.....
>
> Is something like this possible?
>
> Thanks in advance
> Bartjan Wattel
> the Netherlands |
69583
|
Sat Nov 5 15:21:44 2022 |
| Ralph Biggins | ralph.biggins@cgi.com | Question | Linux | Windows | 3.14 | User groups | Is it possible to have within elog (defined in password file?) a user group so that only those members of a group have certain elements visible? |
|