[Trac] announcer plugin subscription table
I installed trac-announcer_0.12.1+r10986-2 debian style, and after install I got : ProgrammingError: ERROR: relation "subscription" does not exist LINE 4: FROM subscription ^ And it's true - in my postgres database there's no subscription table nor view. I try to find schema to add but nothing found. I only found https://trac.edgewall.org/wiki/TracDev/DatabaseSchema/NotificationSystem but i'm not sure if this is the same. What to do? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
I think, that "problem" is with logrotate - it restarts apache2, so wsgi isn't loaded - first time next day wsgi needs to start... -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
> > Do you have any hints from looking at the logs for Trac and Apache where > the time is being spent? I'd be interested to know the time from when the > request hits the web server to when the //Environment Startup// message > appears in the Trac log. > > Nope, I run it once a day - so every 24 hours it starts. Maybe in production time I will found more info (I'm thininking about running trac in cron ;D -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
Is there any way to speed up FIRST run? After long pause (e.g. 24 hours) wsgi is unloaded from memory and first running takes lots of time - about 40 seconds - when it runs, everything runs very fast, but wakeing up is paniful. Any ideas? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
According to this http://stackoverflow.com/a/6591232/354420 it looks that this HAVE to be set if you want separation :D Many thanks, I owe you a big beer ;D I'm not sure if WSGIApplicationGroup %{GLOBAL} is necessary - i comment it out and still works :D -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: Multiple environment startup
W dniu niedziela, 4 grudnia 2016 22:37:20 UTC+1 użytkownik RjOllos napisał: > > > On Sunday, December 4, 2016 at 1:31:39 PM UTC-8, Tomasz Brzezina wrote: >> >> Unfortunately, my /etc/apache2/envvars has this export since Aug 23 >> 2015... (I even didn't know about it). So the problem is somewhere else. >> > > I'd still suggest checking the logs to be sure the environment variable is > effective. > > Yes, when I remove variable and restarts apache, the warning appears in the log. If set back - warning not appears. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
> > > $ virtualenv pve > $ . pve/bin/activate > $ pip install -U setuptools wheel pip virtualenv > $ pip install trac == 1.0.13 # or 1.2 > pip installed 1.2 (i don't know how to force to install 1.0.x), == doesn't work > # Modify Apache to point to interpreter and lib directories in pve > I totally don't know how ;D I'm newbie in virtualenv. I understand, that after login i have to . pve/bin/activate ;D > > -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
W dniu sobota, 3 grudnia 2016 09:56:39 UTC+1 użytkownik RjOllos napisał: > > > The setuptools issue was originally discussed in (1). > > Which version of Debian are you using? I would be surprised to see the > latest Debian packaging such an old version of Trac. > > Latest stable. Linux 3.16.0-4-amd64 #1 SMP Debian 3.16.36-1+deb8u2 (2016-10-19) x86_64 GNU/Linux > You could just install the latest Trac, and the latest setuptools as well > while you are at it. If you are worried about polluting your system > packages directory, an option would be to install Trac in a virtual > environment. I'm going to modify the install steps soon (2) to describe how > to do that. There are a few tricky parts, such as modifying your Apache > config and getting the subversion bindings to import. I could write that up > if you are willing to pursue that as an option. > > > I'd prefer stay at debian packages. But I can install it on other LXC container - for test purposes. I didn't use pip or easy_setup -which is better? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: Multiple environment startup
Unfortunately, my /etc/apache2/envvars has this export since Aug 23 2015... (I even didn't know about it). So the problem is somewhere else. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
Re: [Trac] Re: Multiple environment startup
Unfortunately, my /etc/apache2/envvars has this export since Aug 23 2015... (I even don't know about it). So the problem is somewhere else. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
I forgot, that debian requires .sh extension - now my trac-admin shows: # trac-admin trac-admin - Konsola administracyjna Trac 1.0.2 Użycie: trac-admin [polecenie [ podpolecenie] [opcja ...]] Wywołanie trac-admin bez polecenia rozpoczyna tryb interaktywny. help Show documentation initenv Create and initialize a new environment But still three environment startups in three xmlrpc lookups. -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
[Trac] Re: Multiple environment startup
# trac-admin Warning: Detected setuptools version 5.5.1. The environment variable 'PKG_RESOURCES_CACHE_ZIP_MANIFESTS' must be set to avoid significant performance degradation. trac-admin - Konsola administracyjna Trac 1.0.2 Użycie: trac-admin [polecenie [ podpolecenie] [opcja ...]] Wywołanie trac-admin bez polecenia rozpoczyna tryb interaktywny. help Show documentation initenv Create and initialize a new environment = I thought that I set that variable I put it into /etc/profile.d/trac: export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 if I run in console #export PKG_RESOURCES_CACHE_ZIP_MANIFESTS=1 # trac-admin trac-admin - Konsola administracyjna Trac 1.0.2 Użycie: trac-admin [polecenie [ podpolecenie] [opcja ...]] Wywołanie trac-admin bez polecenia rozpoczyna tryb interaktywny. help Show documentation initenv Create and initialize a new environment So trac env reacts to this parameter. But how to execute it system wide, not user env? -- You received this message because you are subscribed to the Google Groups "Trac Users" group. To unsubscribe from this group and stop receiving emails from it, send an email to trac-users+unsubscr...@googlegroups.com. To post to this group, send email to trac-users@googlegroups.com. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.