Discussion:
[Agilo for Trac] Agilo install prob on Trac1.0 with Apache2
Bernd Stahlbock
2014-02-04 09:56:54 UTC
Permalink
Hi,

I couldn't find any thread here relating to my type of environment, so I
try to ask it here:

We run a trac with svn integration on an apache2 webserver for some years
now. Some month ago we updated to Trac 1.0. Due to the old roots of the
system we still have mod_python and sqlite in charge.
Now, I installed agilo ("binary_agilo-1.3.12_PRO-py2.7.egg") with
easy_install and did the "upgrade" on our "testrepo" trac project. There
were no warnings or other hints to problems.

Trac still runs now, but just looks as ever before. No new menues etc. Just
when I create a new ticket, I have some new fields like "story points" and
such.

What can be cause for this behaviour? I couldn't map the suggested fixes
from this board to my installation, as for example, I seem to have an empty
htdocs folder. Is this normal with mod_python, or have I just not found the
correct path?

best regards
Bernd

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-04 10:08:36 UTC
Permalink
Hi Bernd,

On 04 Feb 2014, at 10:56, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> I couldn't find any thread here relating to my type of environment, so I try to ask it here:
>
> We run a trac with svn integration on an apache2 webserver for some years now. Some month ago we updated to Trac 1.0. Due to the old roots of the system we still have mod_python and sqlite in charge.
> Now, I installed agilo ("binary_agilo-1.3.12_PRO-py2.7.egg") with easy_install and did the "upgrade" on our "testrepo" trac project. There were no warnings or other hints to problems.
>
> Trac still runs now, but just looks as ever before. No new menues etc. Just when I create a new ticket, I have some new fields like "story points" and such.
>
> What can be cause for this behaviour? I couldn't map the suggested fixes from this board to my installation, as for example, I seem to have an empty htdocs folder. Is this normal with mod_python, or have I just not found the correct path?


Can you please provide us with the content of the trac.ini file for your environment? (Please make sure you remove any sensitive information first)
What OS are you using?
Did you install the Agilo binary in the default system Python path or are you using a virtual environment?
Is the plugin available for all the environments or was it installed specifically for a single environment?
What is the output of these commands?
python -c "import agilo; print agilo"
python -c "import agilo_pro; print agilo_pro"

Also, can you please enable the Trac/Agilo log (if not already enabled) and send us its content?
You can enable file-based logging by signing in with TRAC_ADMIN rights and then
- go to the Admin panel (top right corner)
- click Logging
- specify File as log type
- select debug as logging level

Furthermore, do you see any error in the browser debugging console?

Thanks for your patience and collaboration

Cheers,

Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-04 13:58:25 UTC
Permalink
Hi Stefano,

thank you for your fast reply.
I attached some files.
The system is Ubuntu 12.04.4 LTS
I do not use a virtual environment, as far as I know. I took over the
project from some other guy.
For testing, I ran the install in the path /trac/testrepo. Thus, it should
be only available for testrepo. Our production trac projects are in
/trac/tfs and /trac/sps. The ini files are untouched.

python -c "import agilo; print agilo"
<module 'agilo' from
'/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo'>

python -c "import agilo_pro; print agilo_pro"
<module 'agilo_pro' from
'/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo_pro'>

Browser debugging:
"NetworkError: 404 Not Found -
https://myserver/trac/testrepo/chrome/agilo/images/default_logo.png"

So something is wrong with the path that apache uses, I guess?

best regards
Bernd



Am Dienstag, 4. Februar 2014 11:08:36 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 04 Feb 2014, at 10:56, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> I couldn't find any thread here relating to my type of environment, so I
> try to ask it here:
>
> We run a trac with svn integration on an apache2 webserver for some years
> now. Some month ago we updated to Trac 1.0. Due to the old roots of the
> system we still have mod_python and sqlite in charge.
> Now, I installed agilo ("binary_agilo-1.3.12_PRO-py2.7.egg") with
> easy_install and did the "upgrade" on our "testrepo" trac project. There
> were no warnings or other hints to problems.
>
> Trac still runs now, but just looks as ever before. No new menues etc.
> Just when I create a new ticket, I have some new fields like "story points"
> and such.
>
> What can be cause for this behaviour? I couldn't map the suggested fixes
> from this board to my installation, as for example, I seem to have an empty
> htdocs folder. Is this normal with mod_python, or have I just not found the
> correct path?
>
>
>
> Can you please provide us with the content of the trac.ini file for your
> environment? (Please make sure you remove any sensitive information first)
> What OS are you using?
> Did you install the Agilo binary in the default system Python path or are
> you using a virtual environment?
> Is the plugin available for all the environments or was it installed
> specifically for a single environment?
> What is the output of these commands?
> python -c "import agilo; print agilo"
> python -c "import agilo_pro; print agilo_pro"
>
> Also, can you please enable the Trac/Agilo log (if not already enabled)
> and send us its content?
> You can enable file-based logging by signing in with TRAC_ADMIN rights and
> then
> - go to the Admin panel (top right corner)
> - click Logging
> - specify File as log type
> - select debug as logging level
>
> Furthermore, do you see any error in the browser debugging console?
>
> Thanks for your patience and collaboration
>
> Cheers,
>
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-04 16:26:34 UTC
Permalink
Hi Bernd,

On 04 Feb 2014, at 14:58, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> thank you for your fast reply.
> I attached some files.
> The system is Ubuntu 12.04.4 LTS
> I do not use a virtual environment, as far as I know. I took over the project from some other guy.
> For testing, I ran the install in the path /trac/testrepo. Thus, it should be only available for testrepo. Our production trac projects are in /trac/tfs and /trac/sps. The ini files are untouched.
>
> python -c "import agilo; print agilo"
> <module 'agilo' from '/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo'>
>
> python -c "import agilo_pro; print agilo_pro"
> <module 'agilo_pro' from '/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo_pro'>
>
> Browser debugging:
> "NetworkError: 404 Not Found - https://myserver/trac/testrepo/chrome/agilo/images/default_logo.png"
>
> So something is wrong with the path that apache uses, I guess?



Looking at the log, it seems like the system is not able to load the agilo modules properly.

Please try do comment out these lines in the [components] section of your trac.ini file (you can do that by prepending a hash symbol for each line):

trac.ticket.api.ticketsystem = enabled
trac.ticket.roadmap.roadmapmodule = enabled
trac.ticket.web_ui.ticketmodule = enabled

If that does not help, please check the permissions of this folders, recursively:

/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo
/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo_pro

Make sure that the user that Apache uses to launch the request handler has read/write permission for those folders.

Hope this helps,
Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-04 19:01:16 UTC
Permalink
Hi Stefano,

tried both options, with no luck.
Additionally I tried to make a new trac deploy to a clean folder /srv/trac
with access rights for the apache www-data user, but that changed nothing,
also.
I followed the trac install recommendations and added


Alias /trac/chrome/common /srv/trac/htdocs/common
Alias /trac/chrome/site /srv/trac/htdocs/site
<Directory "/srv/trac/htdocs">
Order allow,deny
Allow from all
</Directory>
<Location "/trac/chrome/common/">
SetHandler None
</Location>

in my apache config, but also nothing changed.
How can I determine which files apache is really trying to read?
In the apache error.log, I have one line "Error opening file for reading:
Permission denied" when I press F5 on the trac page. But I don't know what
the resulting path is, that apache finally uses. For me it looks like the
htdocs folder is accessible, but all agilo stuff one level below is not
found. The access right of all folders are set to www-data now.
Any Idea?

best regards
Bernd




Am Dienstag, 4. Februar 2014 17:26:34 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 04 Feb 2014, at 14:58, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> thank you for your fast reply.
> I attached some files.
> The system is Ubuntu 12.04.4 LTS
> I do not use a virtual environment, as far as I know. I took over the
> project from some other guy.
> For testing, I ran the install in the path /trac/testrepo. Thus, it should
> be only available for testrepo. Our production trac projects are in
> /trac/tfs and /trac/sps. The ini files are untouched.
>
> python -c "import agilo; print agilo"
> <module 'agilo' from
> '/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo'>
>
> python -c "import agilo_pro; print agilo_pro"
> <module 'agilo_pro' from
> '/usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo_pro'>
>
> Browser debugging:
> "NetworkError: 404 Not Found -
> https://myserver/trac/testrepo/chrome/agilo/images/default_logo.png"
>
> So something is wrong with the path that apache uses, I guess?
>
>
>
> Looking at the log, it seems like the system is not able to load the agilo
> modules properly.
>
> Please try do comment out these lines in the [components] section of your
> trac.ini file (you can do that by prepending a hash symbol for each line):
>
> trac.ticket.api.ticketsystem = enabled
> trac.ticket.roadmap.roadmapmodule = enabled
> trac.ticket.web_ui.ticketmodule = enabled
>
> If that does not help, please check the permissions of this folders,
> recursively:
>
>
> /usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo
>
> /usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg/agilo_pro
>
> Make sure that the user that Apache uses to launch the request handler has
> read/write permission for those folders.
>
> Hope this helps,
> Stefano Rago
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-05 08:40:22 UTC
Permalink
Hi Bernd,

On 04 Feb 2014, at 20:01, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> Hi Stefano,
>
> tried both options, with no luck.
> Additionally I tried to make a new trac deploy to a clean folder /srv/trac with access rights for the apache www-data user, but that changed nothing, also.
> I followed the trac install recommendations and added
>
>
> Alias /trac/chrome/common /srv/trac/htdocs/common
> Alias /trac/chrome/site /srv/trac/htdocs/site
> <Directory "/srv/trac/htdocs">
> Order allow,deny
> Allow from all
> </Directory>
> <Location "/trac/chrome/common/">
> SetHandler None
> </Location>
>
> in my apache config, but also nothing changed.
> How can I determine which files apache is really trying to read?
> In the apache error.log, I have one line "Error opening file for reading: Permission denied" when I press F5 on the trac page. But I don't know what the resulting path is, that apache finally uses. For me it looks like the htdocs folder is accessible, but all agilo stuff one level below is not found. The access right of all folders are set to www-data now.
> Any Idea?
>
> best regards
> Bernd



Could you please post the complete vhost configuration for the Agilo/Trac environment?

Cheers,
Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-05 10:18:39 UTC
Permalink
Hi Stefano,

I think you mean the apache2 config files?
I have attached them.

best regards
Bernd

Am Mittwoch, 5. Februar 2014 09:40:22 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 04 Feb 2014, at 20:01, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> Hi Stefano,
>
> tried both options, with no luck.
> Additionally I tried to make a new trac deploy to a clean folder /srv/trac
> with access rights for the apache www-data user, but that changed nothing,
> also.
> I followed the trac install recommendations and added
>
>
> Alias /trac/chrome/common /srv/trac/htdocs/common
> Alias /trac/chrome/site /srv/trac/htdocs/site
> <Directory "/srv/trac/htdocs">
> Order allow,deny
> Allow from all
> </Directory>
> <Location "/trac/chrome/common/">
> SetHandler None
> </Location>
>
> in my apache config, but also nothing changed.
> How can I determine which files apache is really trying to read?
> In the apache error.log, I have one line "Error opening file for reading:
> Permission denied" when I press F5 on the trac page. But I don't know what
> the resulting path is, that apache finally uses. For me it looks like the
> htdocs folder is accessible, but all agilo stuff one level below is not
> found. The access right of all folders are set to www-data now.
> Any Idea?
>
> best regards
> Bernd
>
>
>
> Could you please post the complete vhost configuration for the Agilo/Trac
> environment?
>
> Cheers,
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-05 11:48:22 UTC
Permalink
Hi Bernd,

On 05 Feb 2014, at 11:18, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> Hi Stefano,
>
> I think you mean the apache2 config files?
> I have attached them.



On this page (http://trac.edgewall.org/wiki/TracModPython) I have read that mod_python may have problems with zipped eggs.

Can you please try to re-install the Agilo binary with the '--always-unzip' option?

Make sure to remove the existing agilo egg first:
1. rm -fr /usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg
2. edit the /usr/local/lib/python2.7/dist-packages/easy-install.pth and remove any line that references the agilo binary


If that does not work either, it would be helpful to have a look at the mod_python debugging information page, which can be enabled as described in the aforementioned page, i.e. configuring this apache stanza:

<Location /mpinfo>

SetHandler mod_python
PythonInterpreter main_interpreter
PythonHandler mod_python.testhandler
Order allow,deny
Allow from all

</Location>


Hope this helps.

Cheers,
Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-05 16:43:10 UTC
Permalink
Hi Stefano,

great, now I see the agilo surface! Reinstalling with --always-unzip did
the trick.
But unfortunately we now have an internal error message "error:
redefinition of group name u'it_ticket' as group 24; was group 22"
I have a screenshot attached.

best regards
Bernd

Am Mittwoch, 5. Februar 2014 12:48:22 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 05 Feb 2014, at 11:18, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> Hi Stefano,
>
> I think you mean the apache2 config files?
> I have attached them.
>
>
>
> On this page (http://trac.edgewall.org/wiki/TracModPython) I have read
> that mod_python may have problems with zipped eggs.
>
> Can you please try to re-install the Agilo binary with the
> '--always-unzip' option?
>
> Make sure to remove the existing agilo egg first:
> 1. rm -fr
> /usr/local/lib/python2.7/dist-packages/binary_agilo-1.3.12_PRO-py2.7.egg
> 2. edit the /usr/local/lib/python2.7/dist-packages/easy-install.pth and
> remove any line that references the agilo binary
>
>
> If that does not work either, it would be helpful to have a look at the
> mod_python debugging information page, which can be enabled as described in
> the aforementioned page, i.e. configuring this apache stanza:
>
> <Location /mpinfo>
>
> SetHandler mod_python
> PythonInterpreter main_interpreter
> PythonHandler mod_python.testhandler
> Order allow,deny
> Allow from all
>
> </Location>
>
>
> Hope this helps.
>
> Cheers,
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-05 16:50:59 UTC
Permalink
Hi Bernd,

On 05 Feb 2014, at 17:43, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> great, now I see the agilo surface! Reinstalling with --always-unzip did the trick.
> But unfortunately we now have an internal error message "error: redefinition of group name u'it_ticket' as group 24; was group 22"
> I have a screenshot attached.



>From the stack trace it looks like Agilo is not involved in this error.
However, you can try to add these lines to the [components] section of your trac.ini file:

trac.ticket.report.reportmodule = disabled
trac.ticket.query.querymodule = disabled

Cheers,
Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-06 13:12:37 UTC
Permalink
Hi Stefano,

I tried that, it also seems to be a known problem
(http://trac.edgewall.org/ticket/8974) concerning Agilo on trac.
However, nothing changed after I disabled these modules. I restarted apache
and checked in the admin web frontend that the modules are not ticked. The
error is still there and trac not usable.
Do I have to flush some caches or something?

Here's the error message from clicking on "wiki"

File "/trac/.egg-cache/Trac-1.0-py2.7.egg-tmp/trac/wiki/templates/wiki_view.html", line 49, in <Expression u'wiki_to_html(context, text)'>
<div id="wikipage" class="trac-content" py:content="wiki_to_html(context, text)" />
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1546, in format_to_html
return HtmlFormatter(env, context, wikidom).generate(escape_newlines)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1501, in generate
escape_newlines)
File "build/bdist.linux-x86_64/egg/trac/wiki/formatter.py", line 1283, in format
result = re.sub(self.wikiparser.rules, self.replace, line)
File "build/bdist.linux-x86_64/egg/trac/wiki/parser.py", line 175, in rules
self._prepare_rules()
File "build/bdist.linux-x86_64/egg/trac/wiki/parser.py", line 204, in _prepare_rules
rules = re.compile('(?:' + '|'.join(syntax) + ')', re.UNICODE)
File "/usr/lib/python2.7/re.py", line 190, in compile
return _compile(pattern, flags)
File "/usr/lib/python2.7/re.py", line 242, in _compile
raise error, v # invalid expression


best regards
Bernd



Am Mittwoch, 5. Februar 2014 17:50:59 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 05 Feb 2014, at 17:43, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> great, now I see the agilo surface! Reinstalling with --always-unzip did
> the trick.
> But unfortunately we now have an internal error message "error:
> redefinition of group name u'it_ticket' as group 24; was group 22"
> I have a screenshot attached.
>
>
>
> From the stack trace it looks like Agilo is not involved in this error.
> However, you can try to add these lines to the [components] section of
> your trac.ini file:
>
> trac.ticket.report.reportmodule = disabled
> trac.ticket.query.querymodule = disabled
>
> Cheers,
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-06 14:42:21 UTC
Permalink
Hi Bernd,

On 06 Feb 2014, at 14:12, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> Hi Stefano,
>
> I tried that, it also seems to be a known problem (http://trac.edgewall.org/ticket/8974) concerning Agilo on trac.
> However, nothing changed after I disabled these modules. I restarted apache and checked in the admin web frontend that the modules are not ticked. The error is still there and trac not usable.
> Do I have to flush some caches or something?



The ticket you mentioned is about a very old version of Agilo for Trac, and that specific problem has already been solved since a while.

Looking at the stack trace you provided, it seems that also the Trac egg has been installed without unzipping it, maybe you can give it a try with --always-unzip?

Cheers,
Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-06 16:14:29 UTC
Permalink
Hi Stefano,

unfortunately, the log outpu changed just a little bit. See below.
Any ideas to proceed? That took so many hours... may it be better now to
completely delete and reinstall? It's a pitty, because we have a
installation, running without problems up to now...

best regards
Bernd


File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/templates/wiki_view.html", line 49, in <Expression u'wiki_to_html(context, text)'>
<div id="wikipage" class="trac-content" py:content="wiki_to_html(context, text)" />
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/formatter.py", line 1546, in format_to_html
return HtmlFormatter(env, context, wikidom).generate(escape_newlines)
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/formatter.py", line 1501, in generate
escape_newlines)
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/formatter.py", line 1283, in format
result = re.sub(self.wikiparser.rules, self.replace, line)
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/parser.py", line 175, in rules
self._prepare_rules()
File "/usr/local/lib/python2.7/dist-packages/Trac-1.0-py2.7.egg/trac/wiki/parser.py", line 204, in _prepare_rules
rules = re.compile('(?:' + '|'.join(syntax) + ')', re.UNICODE)
File "/usr/lib/python2.7/re.py", line 190, in compile
return _compile(pattern, flags)
File "/usr/lib/python2.7/re.py", line 242, in _compile
raise error, v # invalid expression




Am Donnerstag, 6. Februar 2014 15:42:21 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 06 Feb 2014, at 14:12, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> Hi Stefano,
>
> I tried that, it also seems to be a known problem (
> http://trac.edgewall.org/ticket/8974) concerning Agilo on trac.
> However, nothing changed after I disabled these modules. I restarted
> apache and checked in the admin web frontend that the modules are not
> ticked. The error is still there and trac not usable.
> Do I have to flush some caches or something?
>
>
>
> The ticket you mentioned is about a very old version of Agilo for Trac,
> and that specific problem has already been solved since a while.
>
> Looking at the stack trace you provided, it seems that also the Trac egg
> has been installed without unzipping it, maybe you can give it a try with
> --always-unzip?
>
> Cheers,
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-06 16:16:43 UTC
Permalink
Hi Bernd,

On 06 Feb 2014, at 17:14, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> unfortunately, the log outpu changed just a little bit. See below.
> Any ideas to proceed? That took so many hours... may it be better now to completely delete and reinstall? It's a pitty, because we have a installation, running without problems up to now...



Do you confirm that when disabling Agilo the problem goes away? Are there any other third party plugins installed?

Cheers,

Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-06 16:26:19 UTC
Permalink
Hi Stefano,

yes, the problem goes away when I disable agilo, just checked it. (Im
missing the top menu when I just disable the 3 agilo components, I think I
have to reenable some other to activate it?) There are no other plugins.

best regards
Bernd


[components]
agilo.* = disabled
agilo_common.* = disabled
agilo_pro.* = disabled
trac.ticket.query.querymodule = disabled
trac.ticket.report.reportmodule = disabled
tracopt.versioncontrol.svn.svn_fs.subversionconnector = enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertydiffrenderer =
enabled
tracopt.versioncontrol.svn.svn_prop.subversionmergepropertyrenderer =
enabled
tracopt.versioncontrol.svn.svn_prop.subversionpropertyrenderer = enabled



Am Donnerstag, 6. Februar 2014 17:16:43 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 06 Feb 2014, at 17:14, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> unfortunately, the log outpu changed just a little bit. See below.
> Any ideas to proceed? That took so many hours... may it be better now to
> completely delete and reinstall? It's a pitty, because we have a
> installation, running without problems up to now...
>
>
>
> Do you confirm that when disabling Agilo the problem goes away? Are there
> any other third party plugins installed?
>
> Cheers,
>
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-06 16:52:22 UTC
Permalink
Hi Bernd,

On 06 Feb 2014, at 17:26, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> yes, the problem goes away when I disable agilo, just checked it. (Im missing the top menu when I just disable the 3 agilo components, I think I have to reenable some other to activate it?) There are no other plugins.



You can try adding this line to the [components] section of your trac.ini file:

trac.ticket.api.ticketsystem = disabled

Does it help?

Cheers,

Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-07 07:57:22 UTC
Permalink
Hi Stefano,

yes, now I don't have any error messages. It seems to work.
What is the impact of disabling all these components?

best regards
Bernd

Am Donnerstag, 6. Februar 2014 17:52:22 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 06 Feb 2014, at 17:26, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> yes, the problem goes away when I disable agilo, just checked it. (Im
> missing the top menu when I just disable the 3 agilo components, I think I
> have to reenable some other to activate it?) There are no other plugins.
>
>
>
> You can try adding this line to the [components] section of your trac.ini
> file:
>
> trac.ticket.api.ticketsystem = disabled
>
> Does it help?
>
> Cheers,
>
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-07 08:18:42 UTC
Permalink
Hi Bernd,

On 07 Feb 2014, at 08:57, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> yes, now I don't have any error messages. It seems to work.
> What is the impact of disabling all these components?



Practically none, as they are replaced by the respective Agilo ones.

Glad it worked.

Cheers,

Stefano Rago

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Bernd Stahlbock
2014-02-07 09:56:17 UTC
Permalink
<https://lh4.googleusercontent.com/-64npxsUVF-8/UvSto1ogSII/AAAAAAAAAI0/31OR2QRvXzA/s1600/astra-rotlicht.jpeg>
Hi Stefano,

great! Thank you very much for all this help. So I can present the working
agilo in our team meeting this afternoon!
For all this work, all I can do is upload a beer for, a famous one of a
brewery suited in the hamburg harbour.



cheers
Bernd

Am Freitag, 7. Februar 2014 09:18:42 UTC+1 schrieb Stefano Rago:
>
> Hi Bernd,
>
> On 07 Feb 2014, at 08:57, Bernd Stahlbock <stah...-***@public.gmane.org <javascript:>>
> wrote:
>
> yes, now I don't have any error messages. It seems to work.
> What is the impact of disabling all these components?
>
>
>
> Practically none, as they are replaced by the respective Agilo ones.
>
> Glad it worked.
>
> Cheers,
>
> Stefano Rago
>
>

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Stefano Rago
2014-02-07 10:01:54 UTC
Permalink
On 07 Feb 2014, at 10:56, Bernd Stahlbock <stahlbock-***@public.gmane.org> wrote:

> great! Thank you very much for all this help. So I can present the working agilo in our team meeting this afternoon!
> For all this work, all I can do is upload a beer for, a famous one of a brewery suited in the hamburg harbour.


Thanks, it's one of my favourites :-)

Prost!

Stefano

--
--
Follow Agilo on Twitter: http://twitter.com/agilofortrac
Please support us by reviewing and voting on:
http://userstories.com/products/8-agilo-for-scrum
http://ohloh.net/p/agilo-trac
http://freshmeat.net/projects/agiloforscrum

You have received this message because you are subscribed to
the "Agilo for Trac" Google Group. This group is focused on
supporting Agilo for Trac users and is moderated by
Agilo Software GmbH <http://www.agilosoftware.com>.

To post to this group, send email to agilo-/***@public.gmane.org
To unsubscribe from this group, send an email to
agilo+unsubscribe-/***@public.gmane.org
For more options, visit this group at
http://groups.google.com/group/agilo

---
You received this message because you are subscribed to the Google Groups "Agilo for Trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email to agilo+unsubscribe-/JYPxA39Uh5TLH3MbocFF+G/***@public.gmane.org
For more options, visit https://groups.google.com/groups/opt_out.
Loading...