Re: [Trac] Weird error in 0.11, mod_python

2010-06-07 Thread Matt Caron


On 06/04/2010 11:26 AM, JeffRo wrote:
> I'm seeing a strange error and can't find any information to resolve
> it.  Hoping more eyes on it might yield something.
>
> Here's my environment:
> - Fedora Core 13
> - Apache 2.2.15<- manual installation
> - Python 2.6.4<- installed via yum
> - mod_python 3.3.1<- installed via yum

Use mod_wsgi.

> Seems like an issue in mod_python, but I'm not sure.  Any help greatly
> appreciated.

mod_python is not really supported anymore. mod_wsgi is better/faster, 
works great, less filling, etc.

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Problems to Logout of TRAC

2010-06-04 Thread Matt Caron
On 06/04/2010 09:28 AM, Prestel, John D. wrote:
> to do with the server beyond the choice of that authentication
> method. In order to truly logout, a user needs to exit the browser.

Firefox's web developer toolbar has a menu item to clear HTTP 
authentication, thus saving you the close/reopen dance (which is useful 
when you have 30 tabs open across 5 windows...)

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Genshi UnicodeDecodeError with python 2.5.2

2010-06-04 Thread Matt Caron


On 06/04/2010 08:50 AM, Manuel Jes??s Recena Soto wrote:
> Hi, Matt
>
> Thanks for your answer. I'll do a patch. Accept it?

I'm not a Trac maintainer, so I can't accept it into trunk. I'm just a 
guy who suffers through Python in order to make Trac work the way I want.

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Integrating the trac tickets with the intranet

2010-06-04 Thread Matt Caron
On 06/04/2010 08:13 AM, Draulio Neto wrote:
> Is it possible to integrate the tickets of trac with a intranet of a
> company??

What do you mean by intranet? My definition of intranet is "a company's 
private network", so by putting a private Trac server inside your 
company's network, you've done that.

However, I expect you mean something else. Might you clarify your question?

> Anyone already did this?

By my definition, I do (both at home and at work).
-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Genshi UnicodeDecodeError with python 2.5.2

2010-06-04 Thread Matt Caron


On 06/04/2010 03:53 AM, Manuel Jes?s Recena Soto wrote:
> Hi, again.
>
> Can someone help me?
> maybe I should send this message to another list?

I think no one has responded because the possible fixes are fairly 
evident, given all of your initial analysis.
(1) Fix the code
(2) Use python 2.6

For what it's worth, both at work and at home, I maintain a separate git 
repository of Trac code (both core and trac hacks) pulled from the 
source upstream repositories to which I apply fixes and changes. Many of 
these changes come from patches in open tickets. In fact, I'd be 
surprised if anyone runs the core trac code with no personal source 
modifications.. it's just too darn hackable to leave alone. ;-)

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Warning: Version missmatch Ubuntu Lucid, Trac , jQuery

2010-06-01 Thread Matt Caron
Roger Oberholtzer wrote:
> look at the build service at http://software.opensuse.org/search
> 
> This is a place that makes installables for many os. trac is there for
> opensuse. But you will notice that there is support for building for
> many other linux distros. You can (1) check out the packaging for trac
> and see if it can help or (2) ask the person doing trac to add the
> distro you want. It is free to get an account here and start building
> for many distros. And, when your dependencies are updated, it will
> rebuild your package automatically. I even do this for some device
> drivers. I get e-mail when a rebuild happens telling me how it went.
> 
> It is really a fantastic service. And very open.

Ubuntu PPA's are a similar idea, though specific to Ubuntu. They can be 
a bit hit or miss, however.

General:
https://launchpad.net/ubuntu/+ppas

Ones mentioning Trac:
https://launchpad.net/ubuntu/+ppas?name_filter=Trac

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Trac w/ mod_python: blank page

2010-05-26 Thread Matt Caron
> Previous posts describing a similar situation mentioned a pyexpat
> conflict. I tested importing the module and this is not the problem.
> 
> Any pointers on how to resolve this would be great!

I'd start with using mod_wsgi, unless you have good reason for not doing so.

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: edit large wiki pages impossible

2010-05-26 Thread Matt Caron
frank kulow wrote:
> 
> On 25 Mai, 14:52, "Matt Caron"  wrote:
> 
>> On every web browser connecting to it, if it can be changed at all. It's
>> a client side setting, and varies by browser.
> 
> The browser give's not up.

But that wasn't what you said before:

>> i can't submit or preview large (ca. 1000 lines) Wiki pages (Forever
>> waiting of server).

 From this I understood that you were waiting for the server forever 
until the browser timed out.

> The browser is waiting for server every time.
> So bad is the connection not.

Run a fast ping for 5 hours and see what you see for latency and dropped 
packets.

> Read of a large Wiki page is'nt a problem.

It also takes less time on the server side. Also, what's your server 
load? It's possible that the server is very busy which is causing this 
to take time.

How are you running Trac? Tracd? Under Apache? I know that we noticed a 
decent speed improvement when going from fastcgi to mod_wsgi. That might 
help here.

> A large svn ci is'nt a problem.

I don't know how the underlying networking of SVN works. It's possible 
it's more tolerant.

> But read of a large svn Revision graph (Tortoise svn) often broken.

Wait, doesn't Tortoise SVN work on a local SVN checkout? If so, then 
isn't the problem likely your local machine? (FYI - I last used SVN 
about 2 years ago, and then switched to git and haven't used it since. I 
also never used Tortoise SVN, so I could be completely wrong.)
-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Backend dB choice

2010-05-26 Thread Matt Caron
> Then I look to Postgres

Then (getting this back around to a technical discussion), I have to ask:

How the heck do I grant permissions on the DATABASE so that any newly 
created tables automatically inherit said permissions? I ended up just 
granting permissions on each table in the database, because I couldn't 
figure out how to do it (GRANT.. ON DATABASE.. professed to actually 
succeed, but didn't actually *do* anything. Newly created tables were 
only accessible by the user who created them, not the one to whom I 
granted permissions).

Specifically:
- I have a database user for each application which has full control 
over every table in the database.
- I have the administrative user postgres which is where I do my mucking 
about with things.
- I have a read only role
- The read only role needs to be able to read from a variety of 
databases (and the tables contained therein), and be PROHIBITED from 
creating new tables (except temporary tables).

What ends up happening:
- I create a new table as the database user
- Permissions don't inherit
- The read-only user can't read it until I manually set the permissions 
on the table.

Any thoughts?
-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Backend dB choice

2010-05-26 Thread Matt Caron
> To add relevant content, I switched from sqlite3 to mysql on a test
> instance just to make sure I wasn't being naive about performance.  I
> wasn't.  Sqlite performed as well as mysql for our low-concurrency
> workload.

I don't think anyone ever claimed that going to MySQL/PostgreSQL over 
Sqlite would give a performance increase, merely greater concurrency.

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Backend dB choice

2010-05-25 Thread Matt Caron
Noah Kantrowitz wrote:
> And for comparison, reasons to avoid MySQL:
> 

> Much ambiguity about the future of the project since the Oracle takeover.

Theoretically, one should be able to use MariaDB, though I have not 
tested this.

But yes, I share your fears as to what SnOracle will do...
-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Backend dB choice

2010-05-25 Thread Matt Caron


Noah Kantrowitz wrote:
> The biggest problem with SQLite is that it has a very simple locking 
> model. More or less, if someone is writing to the DB no one else can 
> touch it. 

This. Once we got to about 20 people using it, someone would run a long 
query and it would lock everyone out with "Database is locked" messages.
-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Backend dB choice

2010-05-25 Thread Matt Caron
> Sorry to hijack but I was just wondering if you have any specific
> reasons for choosing mysql over e.g. PostgreSQL.  I don't know that
> much about dBs really so any thoughts welcome.  I picked PostgreSQL
> as it seemed the better supported in Trac...

As did I. However, I wish I hadn't. My reasons, however, are largely 
subjective.

Arguments for MySQL over PostgreSQL:

- MySQL is syntactically much closer to SQLite than PostgreSQL is, so 
the transition is less dramatic (changing code for plugins with embedded 
SQL queries, raw SQL report port overs, etc.)

- The permission scheme for MySQL makes more sense to me.

- The overall feel of using PostgreSQL is more akin to using an 
old-style database (Oracle/DB2). This makes sense, given its heritage, 
but makes it feel old and crufty.


-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: edit large wiki pages impossible

2010-05-25 Thread Matt Caron
>> server latency + network latency > timeout
 >
> where can i change this timeout time?

On every web browser connecting to it, if it can be changed at all. It's 
a client side setting, and varies by browser.

>> Either make your server or your network faster.
> 
> That is not in my power.

Then I think you either need to find someone in charge of your network 
and have them fix it, or you're out of luck.

I mean, if you run a ping for a long period of time, do you see high 
latency/packet loss? If so, then that is something you might be able to 
take to the person responsible for the network to demonstrate that it is 
broken.

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Error: Forbidden

2010-05-24 Thread Matt Caron
Luie Xia wrote:
> Hi,
> 
> Now when I log out from trac, I got the following errors:



> Actually I was log in when I click log out button. And I do have 
> REPORT_VIEW, WIKI_VIEW privileges.

Do you mean that you've given user "anonymous" those permissions, or the 
user as whom you're logging in?

> Can anyone give me a clue why I got this error,

I'm guessing that when you log in, you have those privileges, but when 
you log out, you lose them, likely because anonymous doesn't have those 
privileges...

> and how to fix it.

Make sure anonymous has those privileges.

If that user already does, than I don't have any idea.

-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] edit large wiki pages impossible

2010-05-21 Thread Matt Caron
frank kulow wrote:
> I have no problem, if the connection to the server is without switch.

I think you may have answered your own question.

server latency + network latency > timeout

So, you timeout. Either make your server or your network faster.
-- 
SIXNET - Industrial and Wireless Connectivity
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



RE: [Trac] Tracwikiprint 1.8.2 and images

2010-04-30 Thread Matt Caron
> On Fri, 2010-04-30 at 11:19 -0400, Chris Nelson wrote:
> > Matt, is this what we just fixed?
> 
> I just downloaded the ZIP on the Trac Hack page. Perhaps it is not in
> the ZIP file yet?

No, we're running on TracPageToPDF for our PDF conversion...


SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Remove a user from Assign To field

2010-04-07 Thread Matt Caron

> General question (little bit OT):
> 
> I've been following recently not a few threads like this , all of them
> in a �gray-zone� related to users management .
> 
> Q:
>   - Isn't it about time to provide shortcuts (admin panels ?) for such
>  routine maintenance tasks ? either in core or plugins ;o)
> 
> Just a comment of course
> ;o)

I'll write a plugin for it when I have a free moment... so maybe one 
will get written by 2015 or so... ;-)

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Remove a user from Assign To field

2010-04-07 Thread Matt Caron


legolasthehansy wrote:
> Hello,
> 
> We have some terminated users in our Assign To field that we need to
> remove. Any suggestions on how to clean up?

Here's my "remove people" procedure:

1.) Reassign their tickets somewhere else.
2.) Remove their permissions from trac admin
3.) Delete them from the DB:
delete from session where sid = "username"
delete from session_attribute where sid = "username"

(their login credentials are presumed to have already been revoked).
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Installing trac 0.12 on ubuntu karmic error

2010-03-23 Thread Matt Caron
> Installed /usr/local/lib/python2.6/dist-packages/Trac-0.12dev_r0-
> py2.6.egg
> Processing dependencies for Trac==0.12dev-r0
> Searching for Genshi>=0.6dev-r1072
> Reading http://pypi.python.org/simple/Genshi/
> Reading http://genshi.edgewall.org/
> Reading http://genshi.edgewall.org/wiki/Download
> No local packages or download links found for Genshi>=0.6dev-r1072
> error: Could not find suitable distribution for
> Requirement.parse('Genshi>=0.6dev-r1072')
> 
> I am using Python 2.6 and subversion 1.6 available from the canonical

I had the same problem. The Genshi HEAD didn't have the version number 
that Trac requires. So, I faked it, changing the Trac requirement so 
that it matched what I pulled from Genshi HEAD.
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] TracHours Plugin installation

2010-03-16 Thread Matt Caron
iMpressed wrote:
> installing it via webadmin gives the same result


(1) Does the version of python used to build the egg match the one under 
which Trac is running?

(2) What are the permissions on the egg? (Though webmin should set it 
correctly).

(3) Turn the log level to debug and tail the log file, looking for 
messages about the plugin. You might see it yelling at you because it 
can't find something.


-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] 0.11.7 release date

2010-03-08 Thread Matt Caron


anton wrote:
> Hi,
>> interested, when 0.12 will be available.
> 
> me too, or at least the first beta for tests
> 
> ( .. and  plugin developers would know that
> they can start migrating their plugins)
> 
> Anton
> 

I'm running 0.12dev (svn head as of about 2 weeks ago) at home on MySQL 
without issues.

That said, it is AT HOME which is NOT PRODUCTION. But, so far, results 
have been fine.

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] new ticket: list of email addresses?

2010-03-08 Thread Matt Caron


barbora matouskova wrote:
> Hello,
> is it possible to define a field with Cc: list of email addresses of
> people using Trac in a company so that users don't have to type their
> emails? If so, from what version? I know it's possible to define
> domains, but is there such an option for emails?

http://trac-hacks.org/wiki/AutocompleteUsersPlugin

might help.
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] move comment from one ticket to other and preserve all comment attributes.

2010-03-08 Thread Matt Caron


О©ҐО©ҐО©ҐО©ҐО©ҐО©ҐО©ҐО©ҐО©Ґ О©ҐО©ҐО©ҐО©ҐО©ҐО©Ґ wrote:
> Dear Trac Users,
> 
> I frequently face situation when comment is posted to improper ticket. I 
> would like to move these kind of comments using ticket id and comment id 
> but remain the same all attributes like the timestamp.

I'd just alter the value in the ticket column in the DB for that 
comment. It's in the ticket_change table.

If you find yourself doing it a lot, I'd write a tool for it.

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Warning: Can't synchronize with the repository...

2010-03-05 Thread Matt Caron
> Unsupported version control system "svn": "/usr/local/lib/
> libsvn_subr-1.so.0: undefined symbol: apr_memcache_add_server"

Were the apr libraries compiled with memcache support?

Is configure thinking that the memcache support is there because it's 
looking at some group of headers which don't match what you're linking 
against?
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] how to show nickname with openid

2010-03-05 Thread Matt Caron
> to refresh the web.  It still show the openid url.
> Is the patch in  http://trac.edgewall.org/ticket/7339  not the right
> solution for me?

Stupid question - is the fill name set for the user?

Also, if you're checking in some specific spot which the patch doesn't 
address (there are some, and I don't recall which ones aren't fixed), 
then that patch will only help in other areas and will need to be 
massaged to make it work the way you want.
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Warning: Can't synchronize with the repository...

2010-03-04 Thread Matt Caron
> I've discovered that subversion is using the system-installed libapr
> and libaprutil libraries.

Why do you have system installed ones + custom installed ones? Can't you 
just remove the system ones.

> Question is how do I get subversion to link against the libraries in /
> usr/local/apache2/lib/ instead of /usr/lib64/?

One of:
(1) Specify something on the configure line which tells it to
(2) Set LDFLAGS which will (hopefully but unlikely) override /usr/lib64
(3) Hack up the build code.
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] how to show nickname with openid

2010-03-03 Thread Matt Caron
> but no effects till now, where did i go wrong? or it's the cache in
> server, if so anyway to make it take effects quickly?

Bounce apache.

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Warning: Can't synchronize with the repository...

2010-03-03 Thread Matt Caron
> libsvn_ra_neon-1.so.0 -> libsvn_ra_neon-1.so.0.0.0

And here's the thing we're looking for...

Have you tried it again since running ldconfig? And it still doesn't 
work? (Because if so, I'm a little stumped...)

Can you use svn from the command line on that system without issue? Even 
just doing an svn co from the svn server on that machine to something in 
your homedir should be a reasonable test.
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Warning: Can't synchronize with the repository...

2010-03-03 Thread Matt Caron


Mike wrote:
> I reconfigured, made, and installed subversion 1.6.9.

I'm sorry you had to do that. (Too many years of being a sysadmin before 
package management). What distro are you using?

> What is the reason that /usr/local/lib/ isn't being checked? Thanks
> for you response.

First, let's make sure it isn't being checked. As root, run:

ldconfig -v

It will show all the directories and files checked.

- If /usr/local/lib DOES NOT show up, you will need to add it. This is 
either in /etc/ld.so.conf, or by adding a file in /etc/ld.so.conf.d 
(depending on what your distro does).

- If /usr/local/lib DOES show up, then something else is wrong. (But my 
guess is that /usr/local/lib is not included by default, so unless that 
proves to not be the case, I won't waste the brainpower).
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] how to show nickname with openid

2010-03-03 Thread Matt Caron
Bill wrote:
> I use both accountmanager  & openid , but when I login with openid to
> modify wiki, the author shows the url, not more human readable
> nickname?
> 
> Anybody know how to solve it?

We ended up patching Trac to use whatever the user puts in for a Full 
Name instead of the username (if full name is set).

http://trac.edgewall.org/ticket/7339
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Migrate / Move Trac Wiki pages

2010-03-03 Thread Matt Caron


Luke Ryder wrote:
> Hello all,
> 
> I have just moved Subversion & Trac from an old server to a new
> server.
> 
> But some of the Trac Projects have their own wiki pages.  Is there an
> easy way to move the wiki pages across to the new server without
> manually creating new pages?

DB export/import for the desired pages?

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Warning: Can't synchronize with the repository...

2010-03-03 Thread Matt Caron


Mike wrote:
> I get this error when accessing a Trac project:
> 
> Warning:  Can't synchronize with the repository (Unsupported version
> control system "svn": "libsvn_swig_py-1.so.0: cannot open shared
> object file: No such file or directory" ). Look in the Trac log for
> more information.

locate libsvn_swig_py-1.so.0

Does it find anything? If not, you have an unmet dependency and need to 
install whatever package provides that shared library. (I'm going to 
take a guess that it's python-subversion on debianish distros, just by 
doing a quicj apt-cache search libsvn on Ubuntu)...

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Problem with notifications

2010-02-18 Thread Matt Caron
> Matt, thank you for your answer! was starting to feel lonely on the
> issue,

No problem.

> I have trac 0.10.3 installed since thats what i got when i did
> aptitude install command.

Then I'd file a bug with your distro vendor asking for 0.10.5, which is 
the latest in the 0.10 series.

FYI - Ubuntu 9.10 is at 0.11.5...

> Is the transition traumatic ?

I have no idea - I've never used 0.10, so I never went from 0.10 to 0.11.

> I also wanted to try to understand this error, because i don�t want to
> update and then get the same error again. I�m not lazy bro, just got
> my hands full with a lot of work!

I'd open the source file which is complaining 
(/var/lib/python-support/python2.4/trac/notification.py) in an editor, 
and search for Markup. You should find a line importing it, like:

from genshi.core import Markup

But I'm not sure if genshi provides this for 0.10 or if it is provided 
internally. As I said, I've not used 0.10.

> So you think i should check Genshi somehow ?

Well, Genshi should have been pulled in as a dependency, presuming that 
0.10 actually needs it. I don't know when Genshi was added as a 
dependency. You'd have to check. Before that, Markup could have been 
provided by something else.

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Problem with notifications

2010-02-18 Thread Matt Caron
Ernesto Butt� wrote:
> I see, how can i correct this error ? can i edit the SQL for that
> report somehow ? how come it came wrong ?

If it's a custom report, just clicking "Edit Report" should bring you to 
the SQL.

If it's a simple report (with the checkboxes, etc.) then it's a bug in 
the trac core.

> Hope they are not too many questions !

Nope.
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: mod_python vs. wsgi

2010-02-18 Thread Matt Caron
Roger Oberholtzer wrote:
> maintained. But, as they say, if it ain't broken...

Upgrade to mod_wsgi for a speed increase?

(Going from fastcgi to mod_wsgi saw about a 20% decrease in page load 
times in our deployment. We weren't using mod_python, so I don't have 
numbers for that. I'd be interested to see what the speed increase 
actually is, since a lot of folks claim mod_wsgi to be faster).
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Re: Problem with notifications

2010-02-17 Thread Matt Caron
> Got this error on my tickets report (got a mysql database)
> 
> Report execution failed: (1064, "You have an error in your SQL syntax;
> check the manual that corresponds to your MySQL server version for the
> right syntax to use near ' 'admin', ')'\n ORDER BY (status =
> 'assigned') DESC, p.value, milestone, t.type,' at line 9")

I do not believe that this is correct:

ORDER BY (status = 'assigned') DESC

I think you want:

ORDER BY status DESC
-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Problem with notifications

2010-02-17 Thread Matt Caron
Ernesto Butt� wrote:
> raise TracError(Markup('Unable to send email due to identity '
> NameError: global name 'Markup' is not defined

It looks like it can't find Markup. I believe this is provided by Genshi.

Looking at my code (Trac 0.11.6), this code is:

 raise TracError(tag(tag.p('Unable to send email due to identity '

I presume you are running 0.12? You might consider 0.11.6, as it is 
listed as the latest stable release.

> I have also another question, can i add descriptions to the
> components ? im planing on using the components as features, and i
> also need to link components to the svn commits some how.


-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



RE: [Trac] Re: TracNotification email from:field

2010-02-04 Thread Matt Caron
> "comments"...  We are adopting trac partly for this reason (to avoid the
> loss of important decisions in peoples ever-expanding email archives).

Mailing list with auto-archiving + web frontend + linked to from trac?

(I find "discussions" on trac to be sub-optimal. I prefer to hash it out
via email, then distill it down into a web page for future reference.)

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



RE: [Trac] Upgrading Trac on Ubuntu 6

2010-01-29 Thread Matt Caron
> Is there a reason you want to stick with Ubuntu 6? If you were to upgrade to
> a more recent version of Ubuntu using apt-get dist-upgrade, that would
> install a more recent version of trac.

FYI - Ubuntu 10.04 will be a long term supported version and will likely
have an even more updated Trac installation than 8.04. (Presuming that
you're looking to stay on LTS releases)

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] setting user's email addresses

2010-01-28 Thread Matt Caron
> >  INSERT INTO session_attribute (sid, authenticated, name, value)
> >   VALUES ('user', 1, 'email', 'user.n...@sixnet.com');
> >  INSERT INTO session_attribute (sid, authenticated, name, value)
> >   VALUES ('user', 1, 'name', 'User Name');
> 
> Yes, that's what I need. I'm sorry if I'm being dense, but is there
> somewhere I can read aobut how the trace database is organized,

Presuming linux/sqlite:

sqlite3 /path/to/trac/db/trac.db
.tables
.schema 

The layout is pretty logical.

-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.



Re: [Trac] Embedding pages?

2010-01-28 Thread Matt Caron
> I would like to know if it is possible to embed another url page into
> the wiki.

One of these might work:

http://trac-hacks.org/wiki/IncludeMacro
http://trac-hacks.org/wiki/IncludePagesPlugin
http://trac-hacks.org/wiki/IncludeSourcePartialPlugin
http://trac-hacks.org/wiki/WikiIncludePlugin


-- 
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY 12019
Tel: 1.518.877.5173, Fax: 1.518.877.8346
www.sixnet.com

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To post to this group, send email to trac-us...@googlegroups.com.
To unsubscribe from this group, send email to 
trac-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en.