#foswiki 2014-03-25,Tue

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

WhoWhatWhen
GithubBot[foswiki] FoswikiBot pushed 1 new commit to master: http://git.io/sKP5WQ
foswiki/master edc0366 GeorgeClark: Item11267: Don't die if file missing...
[02:30]
***GithubBot has left [02:30]
FoswikiBothttp://foswiki.org/Tasks/Item11267 [ Item11267: Migrate from subversion to git ] [02:30]
................................................ (idle for 3h57mn)
GuilainCfoswiki_irc8 : IMO,the error you get, is for the repo fosiki.com which contain foswiki empacked for debian. you have to add key ; see : http://fosiki.com/Foswiki_debian/ [06:27]
........ (idle for 36mn)
***ChanServ sets mode: +o CDot [07:03]
................... (idle for 1h32mn)
JennyKollaHello, I want to set a Skin at the whole web. Where I place the Set- commands?
I know how to set it at the topic.
[08:35]
....... (idle for 33mn)
JulianLevensJennyKolla: the set statement is required in the WebPreferences topic of the web you want to give a different skin [09:09]
JennyKollaIf I place the Set-commands in WebPreferences only the topic views me the Skin
WebPreferences are in the web system. Is this the problem? I created a MainWebPreferences and copied the Content from WebPreferences (System) but it doesn't work. The skin is only at the topiv
topic
[09:12]
JulianLevensThere should be a WebPreferences topic in all webs [09:17]
JennyKollaIf I am at the main page of the main web I searched after the WebPreferences but there is no WebPreferences topic... [09:18]
JulianLevensThat's very odd as the Web does not officially exist in Foswiki unless a topic called WebPreferences exists in that web
What is the configure setting for WebPrefsTopicName
[09:20]
JennyKollaSry I found the WebPreferences I was confused because there are another name ..contributer with the date 2010. What do you mean with WebPrefsTopicName
Now It works. I have found the right WebPreferences topic for the Main web. Thanks :) :) :)
[09:27]
JulianLevensyour welcome [09:30]
...... (idle for 29mn)
***ChanServ sets mode: +o Lynnwood [09:59]
ChanServ sets mode: +o OliverKrueger
OliverKrueger sets mode: +ooo JulianLevens ModAcOst gmc
[10:13]
.................. (idle for 1h25mn)
foswiki_irc2. [11:39]
............ (idle for 55mn)
***ChanServ sets mode: +o gac410 [12:34]
.......... (idle for 46mn)
JulianLevensHi gac410, have you recovered from yesterday? [13:20]
gac410yeah. I guess so, sleep helps.
I hate breaking stuff.
[13:21]
JulianLevensSure does, I did feel like I was watching gladiators fighting a wild beast, blood everywhere [13:22]
gac410But then again, that's why we have trunk isn't it. Those changes were made back last November. [13:22]
JulianLevensBut you live to fight another day [13:22]
gac410At this point I just wanted to make it all go away :) [13:22]
JulianLevensI'm sure we all know the feeling. I'm afraid breaking stuff comes with the territory
I must admit to being too cautious still. I have a few small changes to put together and check-in, watch out
[13:23]
gac410Yeah. and I should know better than to wade into TinyMCE. It and Wysiwyg are a challenging area. But no guts no glory, or is it no pain no gain ???
MichaelDaum: stats.foswiki.org is dead. ... I'm hoping disabling Piwik plugin will remove the links from the topics? It's timing out.
[13:27]
MichaelDaumdidn't know PiwikPlugin was installed on f.o
as it is a relatively new plugin
[13:31]
gac410Hm... it has been there for years but someone installed it into the plugins directory directly, no topic, etc.
module dated Oct 2009
Foswikirev:4684
[13:32]
FoswikiBothttp://trac.foswiki.org/changeset/4684 [ Changeset 4684 – Foswiki ] [13:33]
gac410okay... that wasn't any help.
It just does an AddToHEAD of some javascript. I'm going to disable for now.
[13:34]
MichaelDaumnot my code
might be some local f.o-only "plugin" that never made it into svn.
[13:34]
gac410yeah. It's been there a long time. View the page source of a f.o topic to see what it puts in ... before I disable it :)
gac410 is afraid to ask. Is TinyMCE on trunk all better?
[13:35]
MichaelDaumbtw here's the one I wrote http://foswiki.org/Extensions/PiwikPlugin#Info
gac410, TinyMCE ... still have to find out what's going on. There's been other work distracting me from tinymce-ing
[13:36]
gac410Yeah... we need to decide if we install yours or add the hackjob to svn.
Well in any event, all my changes are reversed.
[13:37]
MichaelDaum:( [13:38]
gac410Well they are not lost. Someone can always put them back. I just have been away from it too long to try to fix it under a deadline. [13:38]
MichaelDaumi.c.
is trunk at least on par with 1.1.x?
wrt tinymce
[13:39]
gac410I think the editor is older. When I installed 3.5.10 I did it to the multi-version structure. So trunk is now 3.4.9
(all from memory... I might be off a bit)
Okay piwik disabled on f.o. Lets see if that fixes some page load times I've been seeing.
[13:43]
Ah... not only was stats not responding, sflogo.sourceforge.net is not responding. [13:50]
MichaelDaumthe plugin I wrote doesn't talk to the piwiki.php directly. instead, it polls records into a work_area queue where an interim daemon picks them up talking to the real piwik. [13:51]
gac410That sounds much nicer. [13:51]
MichaelDaumthis all for performance problems of a normal ootb piwik site
you get more stats this way too
as lots of browsers block talking to a third party .. the piwik site
instead the new PiwikPlugin gathers all stats from within foswiki and then forwards them to piwik without the need of the browser client doing so
[13:51]
...... (idle for 29mn)
gac410I've removed the sflogo. Site is not responding, and the browser never completes views of f.o [14:22]
..... (idle for 24mn)
***ChanServ sets mode: +o pharvey [14:46]
................. (idle for 1h24mn)
foswiki_irc7hey guys , I'm having trouble finding this root in order to install a plugin (Could not load / var / lib / Foswiki / tools / extender.pl Change to the root directory of your Foswiki installation before running this installer.   ) [16:10]
gac410gone before I could look. :(
Sounds like he is on the debian install ... probably should not use the installer at all I'd guess.
[16:22]
foswiki_irc1hey guys , I'm having trouble finding this root in order to install a plugin (Could not load / var / lib / Foswiki / tools / extender.pl Change to the root directory of your Foswiki installation before running this installer. ) [16:29]
gac410Are you running an install from the debian packages?
If you installed the foswiki.deb from fosiki.com, then extensions should only be installed using apt-get, symaptic, or some other debian installer.
[16:30]
foswiki_irc1gac410 i installed foswiki from the debian packages.
yes i used apt-get like a tutorial http://foswiki.org/Extensions/DebianPackage
[16:44]
gac410hi foswiki_irc1 okay, so the extension installer probably won't work for you. If you go the packages path, then best to stick with it. [16:45]
GuilainCfoswiki_irc1 to more precise (?) than gac410, an foswiki plugin named ToToPlugin need to be install by apt-get install foswiki-ToToPlugin
not by the configure script
(hi gac410)
foswiki_irc1, tell us what do you want to install
[16:49]
gac410hi GuilainC Thanks. Yeah as I don't use the deb pkgs, I'm not all that familiar [16:50]
GuilainCwich plugin, i will tell you the cmd
You know enough other things ;)
[16:50]
gac410I assume Sven is still auto-building the pkgs. ... I hope [16:50]
foswiki_irc1GenPDFaddON [16:51]
GuilainCand i'm just using it, even if i've found the chown fastidious, I love it !
oki foswiki_irc1
are you familliar with debian and deal like a pro the apt-get command line utility ?
[16:51]
foswiki_irc1yes.... [16:52]
GuilainCin commande line as root type
apt-get install foswiki-genpdfaddon
[16:52]
foswiki_irc1i download package of addonPFD
ok
[16:53]
GuilainCand then, enable it in configure script http://yourwikiserver/bin/configure
(something like that)
tell me if install doesn't work
(i'm not responsible for well use of the plugin ;)
[16:53]
foswiki_irc1where i find the commands for download???
ok no problem, don't worried
[16:54]
GuilainCI hope gac410, than sven continue the deb repo... for the moment i've often update
:) foswiki_irc1
[16:54]
foswiki_irc1ok [16:54]
GuilainCthe advantages by apt-get is everything is done by it ! :) download, install
just one things, is needed on my debian box
make a big chown www-data:www-data of the data/ dir en subdirectory (-R)
www-data is my webserver user, can change
gac410, my hop is to be include into debian, as standard debian package
foswiki_irc1 is it ok ?
install ?
enable into configure ?
[16:55]
gac410We really need someone to build debian specific documentation. All of our topics, including extension topics have explicit instructions assuming the tarball.
Maybe the install instructions should be a conditional include, based upon some indication of debian vs. tarball vs. rpm, etc.
But I don't think that the core project has the resources to also release .deb and .rpm pkgs. I can't do it. It's enough to build the regular archives.
[17:02]
GuilainCfor me, documentation is enough, the real lack, is the installation based on apt and not configure script, even if i know, this last week-end i've made a mistake by calling "install new extension" in configure script... before reverting using apt... the best for me should be to disable this button or make an kind of skin of apt-get specific for debian install
after, you right, all extension documentation have instruction with configure script and not by debian installer
explain me again, for information, why configure script is difficult to change ?
[17:05]
FoswikiBotpositive: nothing; negative: nothing; overall: 0. [17:06]
GuilainCawh bot ? [17:07]
gac410configure is some very old spaghetti code, and poorly structured objects. Crawford has been spending a LOT of time trying to untangle it. The checkers won't run without the full UI available
He is working on a ConfigurePlugin ... trying to make foswik run without a LocalSite.cfg by default, and make configuration admin accessible through topcis.
Unfortunately (and I was part of it :( ) Configure on 1.2 is much more complicated. than 1.1
[17:10]
...... (idle for 26mn)
gmcevening all [17:40]
CDotWe're samed! The General Medical Council (GMC) is here! Come to strike us all off?
could be gmc trucks, I suppose
[17:41]
gmcyou know, there is one thing to be said for a nuclear world summit and a g7 one block away
the highways are very quiet! no jams!
[17:42]
CDotthat'll be the helicopters. Apache gunships, I assume?
those hellfire missiles are great for clearing traffic
[17:42]
gmcif it's the choppers, where can i order some?
they'll all be gone by tomorrow
[17:43]
CDotat £35million each, they're a steal [17:44]
gmci managed to offline foswiki.org [17:57]
gac410I have to step away. Probably back in a few hours. Sorry gmc. [17:57]
gmcnp :) [17:58]
anyone good with perl? :)
ie.. if perl segfaults when you add use Cwd qw( abs_path );, what could be wrong?
[18:10]
gac410gac410 passes by laptop and looks: That sound like something fundamentally wrong in the build. Cwd is part of perl core since perl 5 [18:18]
gmcyeah, i was thinking that as well [18:19]
..... (idle for 20mn)
CDotgac410: is this your way of discouraging bugs? Making it impossible to commit? ;-) [18:39]
gac410don't blame me :) [18:39]
CDotit was your checkin.... [18:39]
gac410nope... someone upgraded perl [18:39]
CDotoic.... ok, I was blaming your D thing
it seems to run OK on the server itself
[18:40]
gac410D thing? [18:40]
CDotdelected files not going through pre-commit checks [18:40]
gac410Oh... that's a git client side hook. Nothing to do with f.o [18:41]
CDotCDot is trying to check in - can't, hook fails
no error message, nada
[18:41]
gac410svn commit? [18:41]
CDotaye [18:41]
gac410perl is toast on f.o
So everything is down
[18:41]
CDot139 root@foswiki /home/trunk.foswiki.org/MailerContrib # perl ../core/tools/develop/pre-commit.pl test -m "Item1234:" lib/Foswiki/Contrib/MailerContrib.pm [18:42]
FoswikiBothttp://foswiki.org/Tasks/Item1234 [18:42]
CDotzsh: segmentation fault perl ../core/tools/develop/pre-commit.pl test -m "Item1234:" [18:42]
gmcwell [18:42]
CDotlooks like it :-( [18:42]
gmcanything that has use Cwd; in it will segfault :(
which is pretty much everything
[18:42]
CDotany idea why? [18:43]
..... (idle for 24mn)
fsfs: I'mm merge you change over to Release01x01 when it comes back
CDot goes to make a curry
[19:07]
......... (idle for 41mn)
***ChanServ sets mode: +o MichaelDaum [19:48]
MichaelDaumany insights about f.o segfaulting?
who is working on it?
gac410, Babar, gmc, are you there?
seems to be offline for a couple of hours now
[19:49]
gac410MichaelDaum Are you on the admin channel.
failed perl upgrade cascaded to a whole mess. server is being basically rebuilt
[19:54]
............. (idle for 1h3mn)
foswiki_irc6Question: I need to add a script tag to every single page emitted by the instance of foswiki that is being run at my organization. I found this page: http://foswiki.org/System/VarADDTOZONE in the documentation, but it appears that it is only offering information about how to add script to a single page. I need to add a tag to ALL pages, and can't find any information about how to do this. Please advise if there is documentation [20:57]
gac410You might be able to do that in a ViewTemplate [20:58]
foswiki_irc6I am a foswiki idiot, unfortunately. [20:58]
gac410or extend the templates, and set an alternate skin. No, don't claim that. I can't say off hand how to do that. [20:59]
foswiki_irc6I am being honest. I have to support this instance, but if it were up to me, it would be gone tomorrow.
It's a mission critical requirement for all pages rendered on this server.
Isn't there any kind of 'top level' configuration that can be applied to every page on the site?
[21:00]
gac410The rendering is done using templates and skins. Look in your foswiki/templates directory.
Unfortunately this stuff is pretty complicated
[21:02]
foswiki_irc6Yeah, it took me 20 minutes to do this for thousands of pages that aren't in Foswiki. [21:04]
gac410templates/view.tmpl is the un-skinned rendering. templates/view.pattern.tmpl overrides view.tmpl for skin=pattern [21:05]
foswiki_irc6Is that some kind of template file for all pages? [21:05]
gac410view.tmpl is all "view" operation. edit.tmpl is edit, etc. Templates are generally <command>.<skin>.tmpl [21:06]
foswiki_irc6Thanks for a clue of where to look, @gac410.
so to get this into all pages, I would have to edit all the templates?
[21:06]
gac410We recommend you don't change any existing files. Override in view.myskin.tmpl and then set skin=myskin,pattern [21:07]
foswiki_irc6I'm now lost.
How do I see what skin is being used?
[21:07]
gac410A default foswiki install probably uses pattern. Skin would be set in Main/SitePreferences Set SKIN=pattern or something like that.
Skins can be overridden by the user though.
[21:09]
foswiki_irc6I'm about 30 seconds from telling the team that is using this that I'm uninstalling it.
I am gathering that basically, foswiki is not engineered to consider that it might be necessary to stuff specific content easily onto many / most / all pages rendered by the instance?
[21:09]
gac410No, it's engineered to do that very easily, just needs some understanding of how the templates are rendered.
Another path would be a small perl plugin to just call the addtozone for every page.
[21:12]
foswiki_irc6I apologize if I sound cranky, but I am trying to do this without really learning much about foswiki. If I could figure out the absolute brutal minimum information to execute this task, that's what I want to do. [21:14]
gac410I'm probably not the right guy. I don't work with templates very much. A lot of the folks that would know are probably sleeping ... in Europe [21:15]
foswiki_irc6aaah.
Thanks for the tip. I don't even know how to find these templates.
Which I am not supposed to change.
[21:16]
gac410You copy the file, and give it a new name, and activate it in the settings.
If you change what we ship, next time the site upgrades, you will overlay your changes.
[21:17]
foswiki_irc6I figured that was the catch. [21:17]
gac410That's all I'm saying. You can edit away, and just leave it for the next guy :) [21:17]
foswiki_irc6I don't even understand how to find the templates. [21:18]
gac410linux server? probably /var/www/foswiki/templates It really depends on where your web server has located stuff.
or /var/www/<virtualhost>/foswiki/templates. It really depends.
[21:19]
foswiki_irc6I was hoping to be able to do this from 'inside' the product. It's not the server I usually work from. So the answer is, yes, I need to get proper unix access to the server, as well as admin rights inside the instance. [21:20]
gac410If it's a debian or redhat and the user installed using .deb / .rpm packages, then they do funky stuff to put them wherever.
Okay. You can override templates from topics, That can be more complicated.
[21:20]
foswiki_irc6yeah, no, it will be basic. I just can't access it until someone comes in tomorrow to give me a login. [21:21]
gac410If you need to force this in *every* page, then a perl module calling Foswik::Func::addToZone is probably more absolute again I'm the wrong person to ask though. [21:22]
foswiki_irc6that sounds promising. [21:24]
gac410I'm trying to think of an example to point you to but nothing is coming to mind. Sorry about that. [21:24]
foswiki_irc6YOu are being exceptionally helpful. No apologies necessary.
http://foswiki.org/Extensions/ZonePlugin
[21:24]
gac410ZonePlugin is not used on Foswik 1.1.x, That was needed for backwards compatibility with Foswiki 1.0
I guess that's a good question - what version of foswiki are you running. ( Browse to System/WebHome or System/InstalledPlugins. they should show the version )
[21:30]
foswiki_irc6Foswiki-1.1.3 [21:31]
gac410Okay that's good. Current is 1.1.9, but at least you are in the supported range. [21:33]
foswiki_irc6it's a start, thanks.
You have been very generous with your time.
Thanks again.
[21:36]
gac410Ah.. that does bring up one suggestion. You can leave a question pending. and check the logs http://irclogs.foswiki.org/ to see if anyone responded. Sometimes things take a while. [21:43]
............ (idle for 55mn)
***gregg4567 has left [22:38]
gregg4567 has left [22:48]

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