ID |
Date |
Icon |
Author |
Author Email |
Category |
OS |
ELOG Version |
Subject |
1446
|
Mon Oct 10 19:33:05 2005 |
| Exaos Lee | Exaos.Lee@gmail.com | Bug report | Linux | Mac OSX | 2.6.0beta5 | Re: Cannot submit admin password while logbook is named in Chinese |
Stefan Ritt wrote: |
Exaos Lee wrote: | As the title. |
There is no possibility to change an admin password. You probably mean that you logged in as admin and cannot change your own password, is that right? Do you use user level access via "password file = ..."? What is your elogd.cfg? I tried to switch language to German and I can change my own password via the config page. |
Sorry for my poor English. The case is like this: When I set an admin password for my logbook which is named in Chinese, I cannot open the config page while the password is correct. It seems that the logbook named in Chinese cannot recieve the password submitted. If the logbook is named other than Chinese, everything is OK. I will repeat the problem and describe it more exactly. |
1445
|
Mon Oct 10 19:26:35 2005 |
| Exaos Lee | Exaos.Lee@gmail.com | Request | All | 2.6.0beta5 | Re: Some spell mistakes |
Quote: | Ok, fixed in the current subversion repository. Better write such things by personal mail to me, since it might not interest the elog community very much. |
Sorry. I will mail you first next time. |
1444
|
Mon Oct 10 19:22:51 2005 |
| Exaos Lee | Exaos.Lee@gmail.com | Bug report | Mac OSX | 2.6.0-beta | Install error on MacOS X |
Executing "make" on MacOS X is OK, but "make install" failed due to the following error:
/usr/bin/install -m 0755 -d /usr/local/bin /usr/local/sbin /usr/local/man/man1/ /usr/local/man/man8/
/usr/bin/install -m 0755 -o bin -g bin elog elconv /usr/local/bin
install: bin: Invalid argument
make: *** [install] Error 67
The reason is that the account "bin" and group "bin" are missing on MacOS X. I also found that the following lines in "Makefile" doesn't work:
ifeq ($(OSTYPE),darwin)
CC = cc
endif
I have fixed this problem. The diff of Makefile as following:
diff Makefile.darwin Makefile.origin
====================================
24,25d23
< BINOWNER = bin
< BINGROUP = bin
30,31d27
< OSTYPE = $(shell uname)
<
40,43d35
< ifeq ($(OSTYPE),Darwin)
< OSTYPE=darwin
< endif
<
46,47d37
< BINOWNER = root
< BINGROUP = admin
89,90c79,80
< $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elog elconv $(DESTDIR)
< $(INSTALL) -m 0755 -o ${BINOWNER} -g ${BINGROUP} elogd $(SDESTDIR)
---
> $(INSTALL) -m 0755 -o bin -g bin elog elconv $(DESTDIR)
> $(INSTALL) -m 0755 -o bin -g bin elogd $(SDESTDIR)
The modified Makefiles have been attached. |
Attachment 1: makefile_modified.tgz
|
1442
|
Mon Oct 10 14:09:49 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Request | All | 2.6.0beta5 | Re: Some spell mistakes |
Exaos Lee wrote: | I find some new strings from the warnings like this:
Quote: | Language error: string "HelpELCode" not found for language "chinese" |
I have added these new string to the languages files in Chinese. I think:
"Enter name of hypelink" should be "Enter name of hyperlink". |
Ok, fixed in the current subversion repository. Better write such things by personal mail to me, since it might not interest the elog community very much. |
1441
|
Mon Oct 10 14:01:14 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Bug report | Linux | Mac OSX | 2.6.0beta5 | Re: Cannot submit admin password while logbook is named in Chinese |
Exaos Lee wrote: | As the title. |
There is no possibility to change an admin password. You probably mean that you logged in as admin and cannot change your own password, is that right? Do you use user level access via "password file = ..."? What is your elogd.cfg? I tried to switch language to German and I can change my own password via the config page. |
1440
|
Mon Oct 10 13:57:20 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Question | Windows | 2.60-beta5 | Re: Display Attribute no longer works in Beta 5? |
This option has been changed on July 25th from "Display <attribute>" to "Change <attribute>" which is a more appropriate expression. The documentation has also been updated. |
1439
|
Mon Oct 10 12:53:46 2005 |
| Stefan Ritt | stefan.ritt@psi.ch | Other | All | 2.6.0beta5 | Re: The Chinese Language,Demo Configuration and Help Files |
Exaos Lee wrote: | I want to make elogd display the date in Chinese format. Please tell me howto. |
Thank you for the files.
If you specify
Language = zh_CN
Then elogd looks for a file "eloglang.zh_CN" for the translation, for a file "eloghelp_zh.html"
for the help, and does a
setlocale("zh_CN");
to switch to Chinese date format. To retrieve the date, elogd calls strftime("%x"); |
1438
|
Mon Oct 10 10:52:02 2005 |
| Exaos Lee | Exaos.Lee@gmail.com | Bug report | Linux | Mac OSX | 2.6.0beta5 | Re: "Error: Cannot find hostname" |
Yes, the "URL" works. Thanks! |