#foswiki 2012-09-13,Thu

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)

WhoWhatWhen
***adams.freenode.net sets mode: +o ChanServ [07:22]
ChanServ sets mode: +o MichaelDaum [07:31]
...... (idle for 25mn)
MichaelDaumSvenDowideit, the changes I did to the store did _not_ break any correctness. In fact the previous state wasn't accurate and the tests cemented that, i.e. with regards to offline edits.
I am a bit worried that there is so low knowledge among the people involved in that code area about what really is going on.
Can't be that I am the only one able to dig into these issues and find out about the previous mess.
[07:56]
..... (idle for 20mn)
foswiki_irc7Hi I'm trying to install foswiki on Windows 7 x64 using instructinos on http://foswiki.org/Support/FoswikiOnWindowsApacheAndActivePerl.
All goes fine until I edit teh hpptd config file to poist to the foswiki.conf
Then I can't restart the apache service
If I remove the added line appache will then restart
[08:18]
jastapache should output/log an error message that gives more details [08:19]
foswiki_irc7The error log I could find recorded the succesful starts and shutdowns but didn't contain errors. [08:20]
jastthat sucks
presumably it just outputs the message on stderr and it gets lost in the void
[08:20]
foswiki_irc7The other approach I've tried to get a trial wiki set up is to use the VM image.
This opens fine and I can log into VM and obtain an IP in host mode but am not able to connect from the host
[08:24]
JulianLevensfoswiki_irc7: Active state perl versus strawberry perl was discussed recently with strawberry perl being preferred. Any reason you chose active state rather than strawberry?
See logs for 28th Aug starting at 06:59
[08:25]
foswiki_irc7because I'm not sure what I'm doing! And that was the set of instructions for install that seemed to fit with installing the latest version
As opposed to the 1.1.2 version packaged as a window installer
foswiki
[08:31]
JulianLevensI suggest you search the irc logs for strawberry. I've used strawberry for years now in production. It has saved pain with regards to installing CPAN modules. OTOH I noticed some possible downsides, e.g. is mod_perl supported, but fast_cgi is an alternative for that anyway. I installed from a 1.0.7 Foswiki windows installer. As for installing manually, I'd try the 1.1.2 installer then upgrade the Foswiki 1.1.5 bits on top (ass [08:47]
foswiki_irc7Thanks for the responses. [08:47]
..... (idle for 22mn)
I've got it working with the standard installer off to upgrade! [09:09]
........................................ (idle for 3h16mn)
***Babar has quit IRC (Ping timeout: 304 seconds)
ChanServ sets mode: +o Babar
[12:25]
.............. (idle for 1h8mn)
schoos has quit IRC (*.net *.split) [13:36]
...... (idle for 25mn)
laudoHi, I worte a script which writes a table ( in wiki language to a file). I want to automate the script as a cronjob that it automatcly creates a new version of the page. Could I just do somehting like ./myscript > /foswiki/data/Main/VMList.txt ? [14:01]
gac410Yes, you should be able to create topics that way. The only tricky part is the %META:TOPICINFO - very first line in the new file. If you don't have one, Foswiki will create it internally, but it does slow things down a bit. [14:04]
laudoI looked at the meta data. Do you now what Date format is used? [14:04]
gac410It's the unix epoch. Seconds since 1970 iirc. [14:05]
laudooh ok cool [14:05]
gac410date +%s should provide a current timestamp [14:09]
***wdenk has quit IRC (Quit: Leaving.) [14:12]
.... (idle for 18mn)
foswiki_irc7hey [14:30]
gac410foswiki_irc7: do you have a question? [14:31]
foswiki_irc7i am currently trying to setup my wiki with ldap authentication, everything works so far pretty good, but one thing is bugging me. when i create new groups in my ldapdirectory they are shown in my wikigroups, but no topic is created. is there anything similar to newuserplugin for groups? [14:32]
gac410hm. no idea. I don't use ldap. What do you need them for? Documentation on the groups? MichaelDaum ... any thoughts? [14:34]
jastthere is no such thing, currently
there can't necessarily be, either, since if you disable normalization of the group names, the group name may not end up being a valid WikiWord
or even something that is at all valid as a topic name
[14:35]
foswiki_irc7ok :( thanks anyways [14:36]
gac410true. The "ends with Group" is a requirement of TopicUserMapping. Other than that, it's not required. [14:36]
jastin one of our wikis, groups are called like abc-x-foo-bar [14:42]
gac410I've been for quite a while now toying with the idea of using the Sympa mailing list server as a auth backend. So "groups" would be email lists. discuss_development@blah.org. Mayb someday I'll get energetic :) [14:45]
..... (idle for 23mn)
***imbezol has quit IRC (Ping timeout: 252 seconds) [15:08]
.................................. (idle for 2h48mn)
laudoIf I have my wiki path like Foswiki>Main Web>SystemsDocumentation>VMList. Where on the filesystem does it grab the file from /var/www/foswiki/data/Main/ ? or is it another directory? [17:56]
....... (idle for 32mn)
gac410laudo: hm. I assume that's the "breadcrumbs" which follows the topic parent relationships. That actually has almost nothing to do with the physical storage. [18:28]
laudoSo how do I now where I have to write to? [18:29]
gac410Look at the URL instead. assuming no short URLs, say it's bin/view/Main/VMList ... Then it is in data/Main/VMlist.txt [18:29]
laudook that makes sense. What about the ,v file? are they create automaticly ? [18:30]
gac410If you have hierarchical webs, and have created a sub-web, then there is a directory on disk for the sub-web data/Main/SomeSubweb/VMList.txt
The ",v" file is a standard revision history file created by the "rcs" system. It is created and updated when foswiki saves the topic. It internally does a checkin (ci) of the file.
Foswiki works fine without it.
If you update a topic with a missing RCS file, you should get 2 versions created in the file. rev 1 is the original, and rev 2 is the version you saved. And if you then modify the topic on disk witout using foswiki
foswiki should detect that and show you a phantom rev 3 by "UnknownUser"
If you then save it from the wiki again, you will get a real rev 3 for the disk version, and a rev 4 for what you have saved.
Note that this has changed a bit with Foswiki 1.1.5, and will probably change again in 1.1.6. calls to RCS to verify history are very expensive, Earlier versions didn't really handle it right, and 1.1.5 is correct, but too expensive.
Work is being done to still be correct, but avoid rcs calls whenever possible.
On 1.1.5, if the rcs file timestamp is older than the file itself, foswiki does extra calls to rcs trying to figure it out.
One way to speed it up, although it causes some incorrectness in history, is to "touch" the rcs ,v file as well, but only if it exists. so it is newer than the .txt file. Don't create an empty rcs file for sure.
You can look at the contents of an rcs file using the "rlog" command. rlog ...data/Main/SomeTopic.txt (note I used the .txt file not .txt,v )
[18:30]
....... (idle for 32mn)
laudothanks! [19:09]
.... (idle for 17mn)
***tsnfoo has quit IRC (Quit: tsnfoo) [19:26]

↑back Search ←Prev date Next date→ Show only urls(Click on time to select a line by its url)