[Trac] newbie installing trac on windows 2012 server error in setup.py

2013-08-09 Thread russh
I'm really excited to get trac up and running - have bumbled through to the 
point that I'm actually installing trac using easy_install Trac==1.0, but 
this dies after a while complaining about a syntax error in setup.py.
The exact error is: 
File c:... \setuptools-0.9.8-py3.3.egg\setuptools\sandbox.py, line 71 in 
lambda
File c:... \setuptools-0.9.8-py3.3.egg\setuptoools\compat.p, line 92 in 
execfile
File setup.py, line 21  print Trac requires Python %d.%d or later % 
min_python
SyntaxError: invalid syntax

How can I get past this?
thanx
r

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] newbie installing trac on windows 2012 server error in setup.py

2013-08-09 Thread Peter Suter
You seem to be using Python 3.3, but Trac 1.0 requires Python 2.5, 2.6 or
2.7.

See http://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies

--
Peter


On Fri, Aug 9, 2013 at 2:48 AM, ru...@doublejoy.com wrote:

 I'm really excited to get trac up and running - have bumbled through to
 the point that I'm actually installing trac using easy_install Trac==1.0,
 but this dies after a while complaining about a syntax error in setup.py.
 The exact error is:
 File c:... \setuptools-0.9.8-py3.3.egg\setuptools\sandbox.py, line 71 in
 lambda
 File c:... \setuptools-0.9.8-py3.3.egg\setuptoools\compat.p, line 92 in
 execfile
 File setup.py, line 21  print Trac requires Python %d.%d or later %
 min_python
 SyntaxError: invalid syntax

 How can I get past this?
 thanx
 r

 --
 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 http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/groups/opt_out.


-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] TracHours plugin works fine except for TracHoursRoadmapFilter

2013-08-09 Thread Jader Meros
Hi all,

After installing TracHoursPlugin on my BitNami Trac Stack server all 
functionality from trachours plugin is available except for 
TracHoursRoadmapFilter (although enabled on the plugins page).
When accessing the roadmap or a specific milestone page, no information 
regarding the estimated and total hours is displayed. Looking on the Trac 
logs no error or warning messages are displayed. The only entries about 
TracHours are:
...
2013-08-09 14:09:07,233 Trac[loader] DEBUG: Loading trachours.multiproject 
from 
/opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
2013-08-09 14:09:07,234 Trac[loader] DEBUG: Loading trachours.setup from 
/opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
2013-08-09 14:09:07,234 Trac[loader] DEBUG: Loading trachours.ticket from 
/opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
2013-08-09 14:09:07,235 Trac[loader] DEBUG: Loading trachours.trachours 
from 
/opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
2013-08-09 14:09:07,235 Trac[loader] DEBUG: Loading trachours.web_ui from 
/opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
...

Regards,
Jader

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] newbie installing trac on windows 2012 server error in setup.py

2013-08-09 Thread russh
Thx Peter.  The devil really *is* in the details eh?
r


On Friday, August 9, 2013 3:28:22 AM UTC-7, Peter Suter wrote:

 You seem to be using Python 3.3, but Trac 1.0 requires Python 2.5, 2.6 or 
 2.7.

 See http://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies

 --
 Peter


 On Fri, Aug 9, 2013 at 2:48 AM, ru...@doublejoy.com javascript: wrote:

 I'm really excited to get trac up and running - have bumbled through to 
 the point that I'm actually installing trac using easy_install Trac==1.0, 
 but this dies after a while complaining about a syntax error in setup.py.
 The exact error is: 
 File c:... \setuptools-0.9.8-py3.3.egg\setuptools\sandbox.py, line 71 
 in lambda
 File c:... \setuptools-0.9.8-py3.3.egg\setuptoools\compat.p, line 92 in 
 execfile
 File setup.py, line 21  print Trac requires Python %d.%d or later % 
 min_python
 SyntaxError: invalid syntax

 How can I get past this?
 thanx
 r

 -- 
 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+...@googlegroups.com javascript:.
 To post to this group, send email to trac-...@googlegroups.comjavascript:
 .
 Visit this group at http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] newbie installing trac on windows 2012 server error in setup.py

2013-08-09 Thread RjOllos
On Friday, August 9, 2013 3:28:22 AM UTC-7, Peter Suter wrote:

 You seem to be using Python 3.3, but Trac 1.0 requires Python 2.5, 2.6 or 
 2.7.

 See http://trac.edgewall.org/wiki/TracInstall#MandatoryDependencies

 --
 Peter


Do you know of a good way that we can fix that print statement to also 
print correctly in Python 3.x?

from __future__ import print_function is not available until Python 2.6.

How about?:

try:
print Trac requires Python %d.%d or later % min_python
except SyntaxError:
print(Trac requires Python %d.%d or later % min_python)

Not yet tested, so Python 3.x syntax might not be exactly correct.

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] Re: TracHours plugin works fine except for TracHoursRoadmapFilter

2013-08-09 Thread RjOllos
On Friday, August 9, 2013 7:24:47 AM UTC-7, Jader Meros wrote:

 Hi all,

 After installing TracHoursPlugin on my BitNami Trac Stack server all 
 functionality from trachours plugin is available except for 
 TracHoursRoadmapFilter (although enabled on the plugins page).
 When accessing the roadmap or a specific milestone page, no information 
 regarding the estimated and total hours is displayed. Looking on the Trac 
 logs no error or warning messages are displayed. The only entries about 
 TracHours are:
 ...
 2013-08-09 14:09:07,233 Trac[loader] DEBUG: Loading trachours.multiproject 
 from 
 /opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
 2013-08-09 14:09:07,234 Trac[loader] DEBUG: Loading trachours.setup from 
 /opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
 2013-08-09 14:09:07,234 Trac[loader] DEBUG: Loading trachours.ticket from 
 /opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
 2013-08-09 14:09:07,235 Trac[loader] DEBUG: Loading trachours.trachours 
 from 
 /opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
 2013-08-09 14:09:07,235 Trac[loader] DEBUG: Loading trachours.web_ui from 
 /opt/bitnami/apps/trac/trac_projects/Project/plugins/TracHoursPlugin-0.6.0dev-py2.7.egg
 ...

 Regards,
 Jader



Which Trac version are you running? 

It appears that component of the plugin is not working with Trac 1.0. If I 
remember correctly, the feature is implemented via ITemplateStreamFilter, 
and probably the structure of the Roadmap and Milestone templates has 
changed.

Could you open a ticket? I will try to get it fixed soon.

https://trac-hacks.org/newticket?component=TracHoursPluginowner=rjollos

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




Re: [Trac] Re: TracHours plugin works fine except for TracHoursRoadmapFilter

2013-08-09 Thread Jader Meros
Yes, the sever is running Trac 1.0.

The ticket is opened: https://trac-hacks.org/ticket/11275

Thanks,
Jader


On Fri, Aug 9, 2013 at 2:46 PM, RjOllos rjol...@gmail.com wrote:

 On Friday, August 9, 2013 7:24:47 AM UTC-7, Jader Meros wrote:

 Hi all,

 After installing TracHoursPlugin on my BitNami Trac Stack server all
 functionality from trachours plugin is available except for
 TracHoursRoadmapFilter (although enabled on the plugins page).
 When accessing the roadmap or a specific milestone page, no information
 regarding the estimated and total hours is displayed. Looking on the Trac
 logs no error or warning messages are displayed. The only entries about
 TracHours are:
 ...
 2013-08-09 14:09:07,233 Trac[loader] DEBUG: Loading
 trachours.multiproject from /opt/bitnami/apps/trac/trac_**
 projects/Project/plugins/**TracHoursPlugin-0.6.0dev-py2.**7.egg
 2013-08-09 14:09:07,234 Trac[loader] DEBUG: Loading trachours.setup from
 /opt/bitnami/apps/trac/trac_**projects/Project/plugins/**
 TracHoursPlugin-0.6.0dev-py2.**7.egg
 2013-08-09 14:09:07,234 Trac[loader] DEBUG: Loading trachours.ticket from
 /opt/bitnami/apps/trac/trac_**projects/Project/plugins/**
 TracHoursPlugin-0.6.0dev-py2.**7.egg
 2013-08-09 14:09:07,235 Trac[loader] DEBUG: Loading trachours.trachours
 from /opt/bitnami/apps/trac/trac_**projects/Project/plugins/**
 TracHoursPlugin-0.6.0dev-py2.**7.egg
 2013-08-09 14:09:07,235 Trac[loader] DEBUG: Loading trachours.web_ui from
 /opt/bitnami/apps/trac/trac_**projects/Project/plugins/**
 TracHoursPlugin-0.6.0dev-py2.**7.egg
 ...

 Regards,
 Jader



 Which Trac version are you running?

 It appears that component of the plugin is not working with Trac 1.0. If I
 remember correctly, the feature is implemented via ITemplateStreamFilter,
 and probably the structure of the Roadmap and Milestone templates has
 changed.

 Could you open a ticket? I will try to get it fixed soon.

 https://trac-hacks.org/newticket?component=TracHoursPluginowner=rjollos

 --
 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 http://groups.google.com/group/trac-users.
 For more options, visit https://groups.google.com/groups/opt_out.




-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.




[Trac] [ANN] TracGViz 1.4.2

2013-08-09 Thread Olemis Lang
Hi!

After a long time of low activity I'm pleased to announce the release
of version 1.4.2 of TracGViz plugin [1]_ . It offers integration of
Trac and Apache™ Bloodhound with Google Charts API, amongst other
features.

It's available for download from PyPI [2]_ and sourceforge.net [8]_ .
The change log is really long. Please take a look at those pages.

Undoubtedly the most important enhancement has been the implementation
of a query engine aimed at being compatible with Google Charts query
language version 0.7 . There's still a lot of work to get there though
; beware of the differences [3]_ .

There are a few demos [7]_ in project wiki. We'll be adding more soon
(see below).

I'll be working towards version 1.4.3 [4]_ (due October 1st, 2013) and
1.5.1 [5]_ (due January 15th, 2014). Some of the immediate goals are :

  - Improved documentation
* Illustrate how to render graphs offered by related charting plugins
  and known project analytics solutions
  - Implement a widgets library suitable for deployments behind firewalls
* see an early preview of some demos here [6]_
* ... and beware of the fact that atm this is WiP
  - Multiple repository support
  - Optimizations for Apache Bloodhound
  - Performance optimizations in data sources and query engine

Hope you like it. Happy hacking !
o|:)

PS: It's not possible yet to create tickets in the issue tracker, at
least not until I finish working on OpenId auth and deploy it on that
site. Meanwhile , please, use trac-users@... mailing list to request
for support and report bugs, if any. I apologize if this causes any
trouble. I estimate this will be ready in the next one or two weeks.

.. [1] http://dataviz.blood-hound.net/wiki/Packages/TracGViz

.. [2] http://pypi.python.org/pypi/TracGViz/1.4.2

.. [3] http://dataviz.blood-hound.net/wiki/UserDoc/QueryLanguageCompatibility

.. [4] http://dataviz.blood-hound.net/milestone/tracgviz_1.4.3

.. [5] http://dataviz.blood-hound.net/milestone/tracgviz_1.5.1

.. [6] http://widgets.blood-hound.net/wiki/Demos

.. [7] http://dataviz.blood-hound.net/wiki/Demos

.. [8] https://sourceforge.net/projects/simelo/files/TracGViz/1.4.2


-- 
Regards,

Olemis - @olemislc

Apache™ Bloodhound contributor
http://issues.apache.org/bloodhound
http://blood-hound.net

Blog ES: http://simelo-es.blogspot.com/
Blog EN: http://simelo-en.blogspot.com/

Featured article:

-- 
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.


Re: [Trac] newbie installing trac on windows 2012 server error in setup.py

2013-08-09 Thread Peter Suter

On 09.08.2013 18:15, RjOllos wrote:

Do you know of a good way that we can fix that print statement to also
print correctly in Python 3.x?

from __future__ import print_function is not available until Python 2.6.

How about?:

try:
 print Trac requires Python %d.%d or later % min_python
except SyntaxError:
 print(Trac requires Python %d.%d or later % min_python)

Not yet tested, so Python 3.x syntax might not be exactly correct.


As long as no advanced features (like arguments) are used, I assume we 
could simply use

print(Trac requires Python %d.%d or later % min_python)
directly anyway, even without `from __future__ import print_function`.

All Python 2.x versions should still accept this as the old print 
statement with (superfluous but harmless) parentheses around an expression.


http://python3porting.com/noconv.html#supporting-the-print-function
 The simple cases are not problematic, you can simply put parentheses
 around the text that should be printed. The following will print
 exactly the same in all versions of Python:

  print(This works in all versions of Python!)
 This works in all versions of Python!


(For reference, I linked this thread in 
http://trac.edgewall.org/ticket/9595#comment:8 by the way.)


--
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 http://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/groups/opt_out.