[Trac] BlueFlatTheme menu not working on Safari for iOS

2018-02-12 Thread Matthew
Anyone have any ideas on how to get the main menu for 
https://trac-hacks.org/wiki/BlueFlatTheme to work on Safari, specifically 
on iOS? It doesn't work in Safari on my iPhone, Safari in Responsive 
Developer mode, or in the iOS simulator.

It works fine on Chrome on Android and desktop.

-- 
You received this message because you are subscribed to the Google Groups "Trac 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to trac-users+unsubscr...@googlegroups.com.
To post to this group, send email to trac-users@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.


[Trac] Re: Nubie Setup questions

2008-02-06 Thread Matthew Carlson


On Feb 5, 10:39 pm, Edward Elhauge [EMAIL PROTECTED] wrote:
 The only feedback I'd have is that an Edit button would be nice so that
 the Change Properties - Description textbox section wouldn't take up
 so much room. Alternatively a read-only view of the ticket, with all of
 it's comments, would be solve the same problem. I envision bringing a
 stack of open tickets to a project meeting and going over them one at
 a time to see what it would take to close them.

Here's the Release Ticket Review report we use to go over tickets in
meetings:

SELECT
   (CASE WHEN t.status='closed' THEN
 t.milestone||' ('||t.status||': '||t.resolution||')' ELSE
 t.milestone||' ('||t.status||')' END) AS __group__,
   id AS ticket, summary, type, reporter, owner AS owner_,
   ' ' AS sp1, (CASE WHEN sub.value='New' OR sub.value='Other' THEN
 component||'.'||sub.value ELSE
 sub.value END) AS subcomponent_,
   t.description AS _description_,
   author||': '||lastcomment AS _comment_
  FROM ticket t
   INNER JOIN milestone m ON (t.milestone = m.name)
   LEFT OUTER JOIN
 (SELECT outtc.ticket, outtc.author, outtc.newvalue AS
lastcomment
  FROM ticket_change AS outtc
  JOIN (SELECT ticket, Max(time) AS lasttime
FROM ticket_change
WHERE field = 'comment' AND newvalue  ''
GROUP BY ticket) AS intc ON (outtc.time = intc.lasttime)
  WHERE outtc.field = 'comment') lc ON (t.id = lc.ticket)
   LEFT OUTER JOIN ticket_custom obj ON (t.id = obj.ticket AND
obj.name = 'objects')
   LEFT OUTER JOIN ticket_custom sub ON (t.id = sub.ticket AND
sub.name = 'subcomponent')
  WHERE m.due  0 AND m.completed = 0
  ORDER BY m.due, t.status, t.resolution, t.reporter, ticket

It groups tickets by milestone and status, lists some header
information for each ticket, then the description and the last comment
made on the ticket.  You can cut out the buisness about objects and
subcomponents if you like; I left them in to illustrate how to include
custom fields, and because I'm lazy :).  If you don't need the second
line, you can also remove Sp1 which is a spacer I added to give the
ticket number some space (makes the report much easier to read).  The
report isolates milestones that are open and have a due date because
we a have a milestone for long-term and pie-in-the-sky tickets that we
don't consider on a regular basis.

Oh, and we run trac on postgres, so the SQL syntax may be different
depending on the database you use.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: restricting access to browse source from ldap authenticated users

2008-02-14 Thread Matthew Carlson

In Trac, authentication and permissions are seperate; I'm assuming
Apache is handling ldap authentication in your setup.

You should be able to use the standard Trac permissions system to
manage permissions for your users.  However, as far as I know,
permissions in Trac bubble up; you can only add additional
permissions to the permissions a user receives from the groups they
belong to, not revoke them.  To get a better idea of what's going on,
you can use the permissions section in Web Admin.  It lists all the
permissions Trac has stored.  My guess is that either the group
anonymous or the group authenticated has BROWSER_VIEW, LOG_VIEW,
FILE_VIEW, CHANGESET_VIEW and all your users inherit these
permissions.  In that case, you will have to work the other way -
remove these permissions from the large group, and add them to
individual users that need source access.

If you have a large number of people to handle, you may want to
consider the LdapPlugin (http://trac-hacks.org/wiki/LdapPlugin).

 - Matthew

P.S. As a disclaimer, we don't use Apache or Ldap authentication.  I'm
just going on what I've read.

On Feb 13, 5:30 pm, JoeNMDA [EMAIL PROTECTED] wrote:
 My users authenticate via ldap. Even my external subversion access
 (browser based outside of trac) authenticates against ldap.

 I want to restrict certain ldap users from browsing the source, so I
 run:
 trac-admin myproject permission remove myuser BROWSER_VIEW LOG_VIEW
 FILE_VIEW CHANGESET_VIEW

 User myuser can still access the browse source tab and peruse the
 source.

 authz_file is empty in [trac] inside my trac.ini file.

 Can this be done on an ldap user?

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



[Trac] Re: email2trac on Windows

2008-03-24 Thread Matthew Carlson

I have updated the documentation at
https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracInstallation/Windows.
A summary of my posts can be found at my blog (shameless plug!)
http://functionalelegant.blogspot.com/2008/03/email2trac-on-windows.html.

 - Matthew Carlson

On Mar 23, 1:00 am, Nicole [EMAIL PROTECTED] wrote:
 The page has moved 
 tohttps://subtrac.sara.nl/oss/email2trac/wiki/Email2tracInstallation/Wi...

 On Mar 21, 5:09 pm, Nicole [EMAIL PROTECTED] wrote:



  I thought it seemed most relevant to add it to the email2trac website,
  so I have.  I'm considering it a work in progress as of now.

  See:https://subtrac.sara.nl/oss/email2trac/wiki/Email2tracOnWindows

  Matthew -- If you have time, could you look at the pieces specific to
  using the built-in SMTP server to make sure it's accurate?

  Thanks everyone!

  --Nicole

  On Mar 12, 2:57 pm, Mike Henke [EMAIL PROTECTED] wrote:

   You should upload your solution 
   tohttp://trac.edgewall.org/wiki/Email2tracOnWindows?action=edittemplate=

   On Mar 12, 12:43 pm, Nicole [EMAIL PROTECTED] wrote:

Thanks, Matthew, for your detailed response.  It's amazing what a
couple edits to the email2trac.py script can do!  I'm happy to say
that I've now got it all working smashingly.

A bit about my working solution:

1. Fetchmail -- Retrieves email from the Exchange server.  I have it
set up to automatically feed retrieved messages to the script so I
don't need an additional script to do this.  At some point I might
want to change this piece of the equation to get rid of the overhead
of the Cygwin component, but it's working and I like having to do a
little Unix-y work.  Relevant .fetchmailrc file:

poll mail.domain.com with proto IMAP, auth ntlm user [EMAIL PROTECTED]
with password xxx is trac here options keep
mda C:/python25/python.exe C:/projects/email2trac/email2trac.py

2. email2trac script -- As can be seen in the above .fetchmailrc file,
I put my script and related files in the path C:/projects/email2trac.
I made the changes to email2trac.py that Matthew mentions along with a
couple changes specific to my solution.
    * Config file variable -- Since I'm calling the script from
fetchmail, I needed to specify the full path to the config file in the
email2trac.py script, i.e. C:/projects/email2trac/email2trac.conf
    * Signature stripping -- I found that the signature stripping done
in the script when the strip_signature config variable was set didn't
work correctly for the format of our emails so I made a slight edit to
the script.  In the section of the script that defines useful mail
constants (around line 141), I added the variable
self.get_signature_match = '---'.  Then in the strip_signature method
(around line 728) I replaced the line if line == '-- ': with if
line.startswith(self.get_signature_match):.  This resulted in the
successful stripping of most signatures as well as old original
message info I didn't want to get added on each response.

Note: 
Seehttps://subtrac.sara.nl/oss/email2trac/wiki/Email2tracConfiguration
for complete configuration instructions.

3. email2trac.conf -- Matthew covered this, but might as well mention
it again along with a caveat I found related to using email2trac with
trac 0.11.  So, important config variables:
    [DEFAULT]
    project: C:\projects\trac\environmentname
    tmpdir: C:\tmp
    ticket_update: 1
    strip_signature: 1
    python_egg_cache: C:\Python25\Scripts
    trac_version: 0.11

Obviously, if you don't wish to strip signatures, you would set that
to 0.  The trac_version variable is important if you're running trac .
11 so that you don't receive an error like str object is not
callable.  Seehttps://subtrac.sara.nl/oss/email2trac/ticket/34for
more information about the background of this one.

4. Making it all work together -- I created a simple batch file that
is run by Scheduled Tasks.  All it does is run fetchmail.

C:\cygwin\bin\fetchmail -v --fetchmailrc C:/cygwin/path/to/fetchmailrc
--logfile c:/projects/email2trac/fetchmail.log

Thanks everyone for your responses and hopefully this can help someone
in the future!

--Nicole- Hide quoted text -

 - Show quoted text -
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Importing from Excel into TRAC

2008-06-16 Thread Matthew Carlson

We did this during our initial Trac setup using MS Access and the
Postgres ODBC driver. Create linked tables in Access for the
spreadsheet and the ticket table, then use an append query to copy the
data from one the other. One gotcha: the dates in Trac are stored as
Unix timestamps in integer type fields, so you need to convert Excel/
Access dates using the expression time: DateDiff(s,#12/31/1969
7:00:00 PM#,[excelDateField]).

 - Matthew Carlson

On May 30, 6:06 am, Nora [EMAIL PROTECTED] wrote:
 I am trying to determine the most efficient method to import a two
 column spreadsheet (one column with all the‘tickets’ Names and the
 other one, with Codes), into TRAC.

 Should I detour into Access?  Use a text file?
 Any ideas???

 Thanking you in advance,
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Status of SimpleTicketPlugin

2008-09-26 Thread Matthew Carlson

At the company I work for, we currently have several Trac environments
all running on Trac 0.10.4 (or 10.3, I don't remember).  We would like
to upgrade to 0.11, but our Helpdesk relies heavily on the
SimpleTicketPlugin (http://trac-hacks.org/wiki/SimpleTicketPlugin) to
hide fields they want to manage internally.  What is the status of
this plugin?  I see that it says it's not compatible with trunk/0.11,
yet there is an initial 0.11 port committed to SVN.  Is that stable
enough to use in production?  Is anybody else using this plugin in
0.11?  Is there a different plugin that could substitute for
SimpleTicket?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/trac-users?hl=en
-~--~~~~--~~--~--~---



[Trac] Re: Change start page from WikiStart to ticket overview

2009-12-13 Thread Matthew Carlson
First option is easy.  The setting you're looking for is
default_handler in the [trac] section of your environment's trac.ini
file.  See http://trac.edgewall.org/wiki/TracIni#trac-section.  We
have several Tracs that default to the New Ticket page.

Not sure about how to forward directly to a report.  Maybe a plugin at
trac-hacks.org?  Maybe a trick in your web server config?  We just use
tracd and I don't really know Apache.

On Dec 13, 1:23 am, trac it like beckham trac-it-like-beck...@web.de
wrote:
 Hi all,

 for my trac project I don't need the wiki function. Would it be
 possible to change the default page onhttp://my.url/trac/from
 WikiStart to the ticket overview or even better a specific report 
 likehttp://my.url/trac/report/16?

 Thanks for your help!

--

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.




[Trac] Re: information regarding ticket_custom

2010-01-29 Thread Matthew Carlson

 I can (shamelessly) recommend my plugin that makes administration
 slightly easier, and that mimics the way other Ticket meta-information
 in Trac can be configured by project/ticket administrators - it
 provides a webadmin interface to the trac.ini changes:

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

 :::simon

I just wanted to say thank you for such a useful plugin.  We use it on
all of our Trac systems, and as our sole Trac administrator, I can say
that it's plugins like this that make Trac such a pleasure to use and
manage (ok, well I think Edgewall deserves credit for such a well-
designed product).  Thanks for helping out the community.  And thanks
to all of the Trac plugin writers.

-- 
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] Sending Trac Tickets by email

2010-06-14 Thread Matthew Caron



On 06/14/2010 07:21 AM, Draulio Neto wrote:

Hi, Good morning,

I'm tring to configure the Trac Tickets to be send by email.


I don't understand exactly what you want here. Do you want to:

(A) Send emails from trac to people when tickets change.

(B) Allow people to send emails to some mailbox and have Trac do 
something with them (like enter tickets).


I ask because they are two completely different things.

--
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] How to grant sqlite3 user privilege to update trac database?

2010-06-14 Thread Matthew Caron

On 06/14/2010 11:11 AM, Luie Xia wrote:

Hi,

My trac uses sqlite3 as backend database. Only user root and user trac
can insert/delete/update database now. I would like to grant db update
privileges to user builder, so my build script can automatically update
the db table.


There are a couple of options here:

(1) Have the script run a python script which imports the Trac 
environment and uses the Trac API.


(2) Create a group w/ write permissions on the db file and add the build 
user to that group.


--
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] Can't read doxygen content: [Errno 13] Permission denied

2010-06-15 Thread Matthew Caron



On 06/15/2010 05:06 AM, Kai wrote:

I installed the Doxygen-Plugin the manual way and the button works but
I get this error:
  Can't read doxygen content: [Errno 13] Permission denied: u'/var/
cache/doxygen/html/index.html'

I double checked the permissions and recursively set owner and group
to www-data.


Starting at what directory? What does:

ls -ld /var/cache/doxygen

say?

Can you:

sudo -u www-data cat /var/cache/doxygen/html/index.html

and actually get something?

--
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: Can't read doxygen content: [Errno 13] Permission denied

2010-06-16 Thread Matthew Caron

I assume this is a problem due to configuration of sudo. Am I right?


No. It means that somewhere in the directory hierarchy (start at /var 
and work your way down), www-data has no permission to access that file. 
All the sudo -u www-data is doing is running the command as www-data, so 
you can pretend to be the user as which apache is running to check the 
permissions.


Based on this and other emails:
/var
/var/cache
/var/cache/doxygen

all look okay (they're world readable), so let's see the permissions of
/var/cache/doxygen/RayWare/
/var/cache/doxygen/RayWare/html
/var/cache/doxygen/RayWare/html/index.html
--
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 0.11.1 (TurnKey appliance) and plugins installation

2010-06-16 Thread Matthew Caron

On 06/15/2010 01:53 PM, Mírian Bruckschen wrote:


Is there any additional step in order to make them show in my Manage
Plugins page?


The webserver user needs to be able to read them. What are the 
permissions on them?




So far, I did the following:
- attributed full access to my trac plugins directory for my www-data
user;
- downloaded accountmanagerplugin_0.11-r8116.zip from
AccountManagerPlugin wikipage and renamed it to egg;
- uploaded the egg file using the Install Plugin option;
- installed it using easy_install.

The same for IniAdminPlugin.


I'm confused - that does not jibe with what you stated before. Your trac 
plugins directory should not be /usr/lib/python2.5/site-packages. But, 
the above should have worked, since the Install Plugin option should 
have taken care of the details.


Also I don't think that the zip file you downloaded 
(accountmanagerplugin_0.11-r8116.zip) is not an egg. I think if you 
unzip it, you'll find that it source code out of which you need to make 
an egg, eg:


python setup.py bdist_egg

(make sure to use the correct python as what trac is running under. So, 
if you server is on python2.5, you'll want to make sure you're using 
that to build it).



Also, I added the following lines to my trac.ini file, under
[components]:
webadmin.* = enabled
acct_mgr.* = enabled


Did you bounce the webserver? I find that I sometimes have to do that in 
order for it to see new plugins, depending on the method of trac access 
(mod_wsgi vs. fastcgi vs. regular cgi, etc.)


Also, what does the log file say? Anything useful? It might be reading 
the plugins fine, but not

--
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] Unable to Close Tickets fixed is not a valid value for the resolution field

2010-06-17 Thread Matthew Caron

On 06/17/2010 04:52 AM, steven.rogers wrote:

We need to close out some of our tickets, in the Action field we
select the radio button for Passes Testing as Fixed but we get the
following;  ”Warning: fixed is not a valid value for the resolution
field”.

This is in the Action's are of the ticket form, I have not been able
to find where I can fix this and need advise.


Admin-Resolutions. Make sure fixed is in the list.
--
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] SMTP notification problems

2010-06-21 Thread Matthew Caron

On 06/21/2010 09:54 AM, Ben wrote:


I'm guessing I need to set smtp_user and smtp_password but do I really
have to type a plain-text password into my trac.ini file?


Only if the SMTP server you're using requires authentication. Typically, 
things are set up so:


(1) The server will relay to any address which it considers local 
without authentication. (So, for example, if it is a company mailserver, 
it will deliver mail to anyone within the company)


(2) The server will relay to any address as long as the originating 
machine is within a pre-approved list.


(3) The server will relay to any address as long as you're authenticated.

(4) Otherwise, relaying will be denied.

My guess is that the connection is closed because the server is actually 
saying 'relaying denied' and closing it... or it's requiring 
authentication for *all* connections.

--
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] Transfering archieves from tracs

2010-06-22 Thread Matthew Caron



On 06/22/2010 09:37 AM, Draulio Neto wrote:

Hello,

I´m creating a new trac in the company, and they asked me to migrate the
trac archieves from one server to another. IS it possible to do this
transfer without having to download and upload the archieves one by one??


Assuming your setup is done this way, you should just be able to tar up 
the whole subdirectory (all our trac instances are in /opt/trac, yours 
are likely different), copy it over to the other machine, then untar it.


If you're not using sqlite, you'll likely need to dump and load the DB's 
that they use as well.


If you're serving with Apache, you'll likely have to copy over the 
configuration files, possibly changing them along the way (new version 
of apache, different hostnames, 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] Can I use ssmtp with trac?

2010-06-28 Thread Matthew Caron



On 06/28/2010 07:30 AM, gra...@googlemail.com wrote:

Hi,

I would like to setup notification for my trac project. For the server
I already setup ssmtp as an simple sendmail replacement. Now I want
trac to use ssmtp but I always receive an (111, 'Connection refused')
error.


I think that's because ssmtp is not a sendmail replacement in the way 
that you're thinking. I don't believe it actually listens on port 25 - 
it just adds a sendmail binary (and others) so that simple mailers which 
only know how to submit mail for sending to a local MTA still work. Trac 
actually understands how to talk to an SMTP server, so it's not really 
necessary.


 Is there a way to configure trac to use ssmtp?

All ssmtp does is forward mail to another smtp server, so why not just 
have Trac use that smtp server? Why bother with ssmtp in the middle?

--
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.



[Trac] Notify [list of users] if any ticket they've ever touched has changed?

2010-06-30 Thread Matthew Caron

Hey folks,

I want people to be able to be emailed if:

1. Anyone updates a ticket which they have updated.
2. They are on a list of people and/or have chosen that setting (perhaps 
in their preferences).


always_notify_{reporter,owner,updater} all don't work because they might 
not be the reporter, owner or updated.


I can't find anything on Trac Hacks which does it.

Does anyone know how to do this with something already existing (config 
option or hack), or am I writing a new hack for it?


Thanks in advance.
--
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] Notify [list of users] if any ticket they've ever touched has changed?

2010-06-30 Thread Matthew Caron

I can't find anything on Trac Hacks which does it.


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


I was worried you'd say that. It's already on my list of things to 
install, but I keep ducking it because we've hooked quite heavily into 
Trac's notification system and AnnouncerPlugin warns that it might break 
all of your notifications.. so it will take me a couple of days of 
testing to make sure that it doesn't.



I know it does #2, allowing multiple lists. #1 is possible if they
select that they want to watch a ticket. The plugin adds an item to the
top of each page to allow this.


Yeah, but I want it to be automatic. I don't want users to have to 
subscribe to every ticket they want to watch.



What I would like is for users to get notifications of all new
tickets/wiki pages. Then they can visit the page and select to watch it.
The AnnouncerPlugin does not seem to allow that.


I'm sure one can add it.


But the things you ask for are possible.


Of that I'm certain. Trac is remarkably flexible in that regard. I was 
just trying to not invent the wheel and all that.


Thanks.

--
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] Notify [list of users] if any ticket they've ever touched has changed?

2010-06-30 Thread Matthew Caron

I would like to know how. It would allow a middle ground between needing
all notifications so you are told about new things, and being told
nothing and having to check for interesting pages you can subscribe to.
Effectively, each new item advertises itself for subscription. I do
think one can have a mailing list in the AnnouncerPlugin that is only
active for certain actions on the item. That would solve it for me.


Can't you register as a change listener, and then check the history to 
see if it's new or actually changed? This is presumptive that the 
various change events fire on new page/ticket creation, but I'd at least 
dummy something up to test the theory. Once you have that, it's pretty 
simple to notify a list (or even grab all email addresses from the 
preferences) and tell folks about it.


--
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] Transfering archieves from tracs

2010-07-06 Thread Matthew Caron



On 07/05/2010 01:11 PM, Olemis Lang wrote:

scp -r src_folder dest_location

isn't it ?


You'd want:

scp -rp src [u...@]dest_machine:dest

(-p preserves permissions, which I think would be necessary in this case)

but then you'd be scp-ing as root which should be disallowed by good 
security practice (PermitRootLogin no). I'd rather:


cd trac_parent_dir
sudo tar -cf trac.tar source
scp trac.tar m...@othermachine:.
ssh othermachine
cd trac_parent_dir
sudo tar -xf ~/trac.tar

But that's because I'm a bit paranoid.
--
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] Notification emails not getting sent

2010-07-08 Thread Matthew Caron

On 07/08/2010 10:03 AM, Ben wrote:

Here's what I have in my trac.ini

[notification]
admit_domains =
always_notify_owner = true
always_notify_reporter = true
always_notify_updater = true

Is this a viable configuration?


No. There's no smtp server set. What do you expect to use for a 
mailserver? You need some stuff like:


smtp_enabled = true
smtp_from = someem...@my.domain
smtp_password =
smtp_port = 25
smtp_replyto = repl...@my.domain
smtp_server = someserver
smtp_user =

(Unless Trac uses the local mail service if these aren't defined, but I 
don't think 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] - tickets closing by just commenting

2010-07-09 Thread Matthew Caron

Our workflow has many mods and uses Advanced Ticket Workflow plugin.
This only happens sometimes and I believe I'm doing something accidental
to select the action.


Perhaps using the scroll wheel to scroll the page, but the wrong UI 
element is selected (thus scrolling through radio buttons).


--
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] Proposal for Trac

2010-07-14 Thread Matthew Caron
Warning: This is personal opinion, and I'm going to be climbing up on my 
soapbox here for a bit. If a bunch of folks want to work on the parent's 
project, don't let me stop you, but I feel that a counter point here 
might be useful.



Hi, I agree: a) public relation isn't a strength of Trac ;-)


Nor should it be. I want Trac to be awesome. It is. PR doesn't help with 
that. Sure, it helps more people know about Trac's awesomeness, but 
viral advertising (word of mouth, blog posts, podcasts, etc.) is free.


Further, the last thing I want is this list being invaded by a bunch of 
clueless n00bs who need to go RTFM. Indeed, I remember listening to 
someone from a F/OSS project (inkscape, I think, but I could be wrong), 
who was talking about how they tried to make it easier to use and came 
out with a Windows installer, and then all of a sudden they get deluged 
with people who have zero clue. The estimate I heard was that it set 
their project back a year because they had to deal with the pile of 
totally useless bug reports, endless basic questions, etc.



b) it's
really hard to explain business people why to introduce Trac


I don't understand why you're doing this. It's free. Find a box, set it 
up, start using it. Share it with other users, and I think you'll irally 
infect your organization. Productivity goes up, and folks are happy 
about it.


Alternatively, lot of arguments can be made about improved productivity, 
but unless you're comparing it to no process at all, the numbers are 
essentially meaningless anyway. In the end, I find it comes down to 
someone installing a bunch of them, setting them up, letting people beat 
on them, and doing a comparative analysis of a whole pile of very soft 
criteria.


However, the only real test is running it as your production process for 
3-6 months.


That said, Trac may not always win. If what you have meets your needs, 
then why bother convincing people to move to Trac? This is a pragmatic 
decision about worker efficiency, not a religious war.



c) the first steps to install and configure aren't documented for
non-developers


Why should non-developers be installing it anyway? This is a job for IT. 
(Defined as developers who serve internal customers rather than 
external customers). If this is not the case in your organization, than 
your organization is broken, and you have bigger problems.



d) running and maintaining Trac often requires
developer or command line skills


Which the people maintaining it should have, or they should learn them.

Essentially, your argument boils down to this:

  Trac is too hard because it requires people to learn skills.

I look at it as:

  These are skills that people maintaining Trac should have. If they 
don't, they should learn them. If they are unwilling to learn them, then 
perhaps they should find another line of work, because this is what is 
required for proper system administration. You need to understand how 
the system *actually works*.



better: how to install Trac _WITHOUT_ going to the command line (gui
based installers for Linux + Windows).


On Linux, you can always just get the premade package for Trac from your 
repository.

--
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] Proposal for Trac

2010-07-14 Thread Matthew Caron

Even if I agree 90% with you, in this case, the only thing I'd like to
point out is that sometimes it's useful to have the possibility of
building up-to-date Trac installers containing a given set of plugins
as well as initial environment configuration (which might be a simple
apt-get-infected bash script , but AFAICS the number of Trac plugins
packaged for Debian is still scarce , and this approach doesn't work
with other systems :( ... )


Fair point. However, I would argue that Trac is one of those so 
absurdly hackable systems that there is no point in installing it from 
a pre-done package, because you're going to want to change *something*. 
Plus, the existing installation script (as documented in INSTALL, and 
basically boils down to: python ./setup.py install), is so trivially 
easy that I don't really care about my distro's premade packages. I tend 
to only use them for the general python library dependencies.


I take it a step further, cloning the repo with git-svn and maintaining 
my own local branch with site-specific customizations. Anything 
generally useful is submitted back as a patch (though I tend to have 
more fixes on plugins than the core code, it mainly just works(tm)). As 
new versions come out, they are merged into this local branch and pushed 
to testing. Once they pass testing, I merge them into production and 
deploy there.


In general, upgrading to a new version of Trac (merge, test, etc.) takes 
about 2 days, so it's not like it's a big deal. If I didn't do the due 
diligence derived from too many years working at a 24/7/365 uptime web 
business, it would only take a couple of hours...




I do think that admin skills and knowledge about the system are still
necessary , but I also think that e.g. iniadmin plugin is cool (with
respect to editing trac.ini ;o).


That's a different level of administration than what I'm talking about 
(development and deployment vs. day to day operations), so I totally 
agree with you.

--
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] Proposal for Trac

2010-07-14 Thread Matthew Caron

It's so damn annoying that I've to spend my rare time having to hack
nearly every simple plugin to get it work


I agree, but this is why I contribute back my changes. If everyone does 
this, eventually it all just works(tm), right? Also, plugins not working 
out of the box has nothing to do with packaging up trac with an 
installer, or better documenting how to install it.



and to set up many repeating jobs by hand


How so? I do not find myself doing this at all.


Your statement is very unbalanced - if I understood you correctly,
everybody who is no experienced Python programmer even doesn't
have the right to use Trac - because trac is only for cool programmers.


That was not my intended message. What I meant was that you need to 
*learn* things like how your systems go together in order to properly 
administer them.



Many experienced Unix admins aren't Python programmers


I wasn't either, until I started using Trac. It is still my least 
favorite language.



and even don't
have the time to learn it - only because 1 of their tools lacks
convenience functions like an installer!


This argument is a paper tiger. You don't need to learn python to run 
the existing installer. You can just read the INSTALL file and follow 
the (well documented) instructions.



And your time estimations fail in reality: I'm using Trac (and programming
and bugfixing plugins for it) for 3 years now - but a new Trac (especially
a version jump like 0.10 to 0.11) took me nearly a week, until all of my
plugins worked (often this isn't the case, due to version
incompatibilities).


I've only been doing the 0.11.x upgrades, so your point may be valid.


AND:
Many companies try tools like Redmine etc. and even don't know about Trac
and even if they do - it's (even for a hardcore user like me) hard to tell
them,


But why do you care? If they're using Redmine, and they're happy doing 
so, then where is the issue there? If they want a demo, isn't that what 
the t.e.o site is for?



what Trac can do and how to set it up (no, they aren't noobs, yes -
there are many IT professionals who aren't cool Python hackers).


Meanwhile, there are quite a few people who regard installing Trac as 
positively trivial - the hardest part being the *optional* Apache 
installation. So, if what we're arguing is is Trac too difficult to set 
up, I'd argue No. Because, in my personal experience, everyone who 
I've talked to who has had to set up Trac has found it well documented 
and trivial.



I agree with your statement that opening the project for simple users
(noobs) will increase the amount of support drastically. But be honest:
That can be influenced and solved. And: Which script kiddy needs Trac?


I'd argue that a very large portion of what constitutes IT these days 
are at that level. Heck, Microsoft made a whole marketing push out of it 
back in the NT 4 days - why hire expensive Unix experts when Windows is 
easy so the labor is cheap!



And: The lack of documentation is a typical developer problem -
why do argue against documentation?


I'm not. However, the documentation *I* would like to see written is 
*not* yet another this is how you install Trac howto (because there 
are quite a pile of them out there, where the INSTALL file is really 
quite sufficient), but rather extensive documentation of all the 
interfaces, APIs, etc.



Please: Skip telling me sources are the best documentation - thats
a reason to get fired in my job.


I don't recall ever saying that. Indeed, that's what I use Trac for the 
most - documenting how all the bits work.



PS: You understand to demotivate people who want to contribute! Good work!


So any criticism of a proposal is demotivational? I thought the 
discussion would be good for focusing our efforts as a community, as to 
*where* exactly we wanted to spend our time.


To put it another way:

Let's say, for example, that a lot of the core maintainers read this 
thread - your initial post, several folks agreeing with you, and they 
said well, it seems like everyone agrees with this fellow, maybe we 
should spend some time on that. Meanwhile, there's a bunch of other 
people who didn't want to criticize the idea who really don't care. 
However, they didn't speak up when they had the chance, and engage in 
the discussion, so they really can't complain, can they?

--
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] Proposal for Trac

2010-07-14 Thread Matthew Caron



Let's say, for example, that a lot of the core maintainers read this
thread - your initial post,


Correction - it was Todd Worden's initial post. You were agreeing with 
him. Apologies for the lack of historical accuracy.

--
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] Update translation in a working installation of Trac 0.12

2010-07-15 Thread Matthew Caron

On 07/15/2010 11:46 AM, Mírian Bruckschen wrote:

I've already read and followedhttp://trac.edgewall.org/wiki/
TracL10N  steps, but since my original installation of Trac was done
using easy_install, I'm not sure of how can I update this installation
with my recently compiled messages.mo. Is there any way of doing it?


In my installation of 0.11 (installed using python ./setup.py install, 
all the trac code is uncompressed in 
/usr/lib/python2.5/site-packages/Trac-0.11.6-py2.5.egg (the .egg being a 
directory, not a file). If easy_install does the same thing, and 0.12 is 
similarly set up, you should just be able to find that file and replace 
it...


--
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: Update translation in a working installation of Trac 0.12

2010-07-15 Thread Matthew Caron

It seems that my case is somewhat different. My Trac installation is
under the same directory (/usr/lib/python2.5/site-packages), but my
egg is a file, not a directory. I did try to unzip it, update the
messages.mo file and replace the original egg file, but also no
success. Any ideas of what I am doing wrong?


That should have worked. Did you restart the webserver? Also, I'm not 
familiar with translations - is the .mo an input file which needs to be 
byte-compiled to some output object?


I also suspect that you might be able to get away with unzipping the egg 
into a directory named the same as the egg. Then you should be able to 
just drop the file in..


I think... ;-)


--
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: Update translation in a working installation of Trac 0.12

2010-07-16 Thread Matthew Caron

I think... ;-)


Worked like a charm, didn't even had to restart the server :)
Thank you very much!


I think what happens is that when it's an .egg file, it presumes 
everything is already byte-compiled. If it's a .egg directory, it checks 
for updated source and byte-compiles it if necessary.


I am not certain, however, as I know comparatively little about python's 
underpinnings.


--
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] - AccountManager Login for all trac sites

2010-07-16 Thread Matthew Caron

On 07/16/2010 12:02 AM, mark ardiente wrote:

We have several trac sites and we don't want to login to each one of
them every time we go to a different trac site.


Can't you do a single sign-on type thing, where the Windows credentials 
are provided by the browser?


--
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] Pre-populate user preferences

2010-07-30 Thread Matthew Caron

On 07/30/2010 06:51 AM, 3xIlling wrote:


if you can wait that long.


I think for me, waiting is even faster than learning python and
understanding how trac works, right? ;-)


If you're using trac, you're going to have to learn eventually. It's 
just too hackable to let 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] About users management

2010-08-02 Thread Matthew Caron



On 08/01/2010 04:44 PM, nacho wrote:

Hi, i'm trying to configure a trac enviroment. But i can't find
anywhere, where can i add users and their mails to the system so when
i create a new ticket i can assign one of those users and email is
sent to the user.



Does anyone knows where could i configure this?


Adding users is done in whatever your auth backend is (htpasswd, 
kerberos, etc).


Email addresses and such is done off the user's preferences panel, or 
you can do:


INSERT INTO session_attribute (sid, authenticated, name, value) VALUES 
('user', 1, 'email', 'user.n...@domain.com');
INSERT INTO session_attribute (sid, authenticated, name, value) VALUES 
('user', 1, 'name', 'User Name');


If you're using a drop down assign to list, you'll also likely need to 
add something to session as well:


INSERT INTO session (sid, authenticated, last_visit) VALUES ('user', 1, 
(SELECT EXTRACT (EPOCH FROM NOW(;


--
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] About users management

2010-08-03 Thread Matthew Caron

Hm, time to introduce the session commands for trac-admin in 0.12 ;-)


OOoooOOOhh.

Too bad I'm still on 0.11 (for now). :-)

--
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] MySQLdb backend for trac - setup configuration

2010-08-05 Thread Matthew Caron

On 08/05/2010 03:48 AM, mark ardiente wrote:


Hi Guys,
Has anyone had any success on running trac against MySQL?


I've had success with Trac 0.12 on MySQL on a low-load testing system, 
but have not used it in production.



We're having some performance issued on our trac server and
I'd like to know if someone has successfully used MySQL for trac
agains Sqlite.


PostgreSQL can coexist quite nicely on the same system as MySQL. Half 
our stuff works best with MySQL, half likes PostgreSQL, so we just run both.

--
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 uploading documents

2010-08-06 Thread Matthew Caron

On 08/06/2010 07:35 AM, Draulio Neto wrote:

Hi,

I'm trying to upload some pdf files but appears the ERROR 413 - too large.

How I solve this? This problem is with the SVN or the server?


How exactly are you trying to upload? Do you mean attaching it to a page 
or ticket, or doing an svn commit? (I ask about SVN because you mention 
SVN).


If you're just attaching a PDF to a wiki page, then you likely want this 
setting:


[attachment]
max_size = some number larger than what you're trying to upload

--
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: Trac on Osx Server

2010-08-06 Thread Matthew Caron

On 08/06/2010 09:13 AM, Olemis Lang wrote:


Mac OS X is (AFAIK) a full FreeBSD system with a proprietary kernel


Is it? I thought that the kernel was released under Apple Public Source 
License, which is what the Darwin project was all about.

--
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 uploading documents

2010-08-06 Thread Matthew Caron

On 08/06/2010 09:18 AM, Draulio Neto wrote:

By svn commit.


Then I'd say its not a Trac issue, but an SVN issue, isn't it?

--
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] - adding wrap to comments

2010-08-10 Thread Matthew Caron

On 08/09/2010 08:21 PM, mark ardiente wrote:

Instead of having to horizontally scroll for content on the comments,
can Trac be configured to wrap the content?


The only time I have to horizontally scroll for comment content is if 
its in {{{ }}}'s. Otherwise, it automatically wraps.


More info might be useful.

1. You are talking about ticket comments, correct?
2. What version of Trac?
3. What browser(s) have you tried?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 find TRAC source code structure?

2010-08-27 Thread Matthew Caron

On 08/27/2010 12:45 PM, Luie Xia wrote:

Hi All,

I would like to understand the TRAC source code. But I found it is very
difficult to understand source code structure. For instance, I could not
find the main.py code.  Does anyone can guide me how to find the main
file,


(ma...@e2-06l) ~/workspace/code/trac (master)$ find . -name main.py
./trac/web/main.py
./trac/versioncontrol/web_ui/main.py

I'd expect that trac/web/main.py is the one you seek.


and read all source codes from there?


In the main.py file, I see the following import directives related to trac:

from trac import __version__ as TRAC_VERSION
from trac.config import ExtensionOption, Option, OrderedExtensionsOption
from trac.core import *
from trac.env import open_environment
from trac.perm import PermissionCache, PermissionError, PermissionSystem
from trac.resource import ResourceNotFound
from trac.util import get_lines_from_file, get_last_traceback, 
hex_entropy, \

  arity
from trac.util.compat import partial, reversed
from trac.util.datefmt import format_datetime, http_date, localtz, timezone
from trac.util.text import exception_to_unicode, shorten_line, to_unicode
from trac.util.translation import _
from trac.web.api import *
from trac.web.chrome import Chrome
from trac.web.clearsilver import HDFWrapper
from trac.web.href import Href
from trac.web.session import Session

So, for example, trac.config.py is in trac/config.py.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Deleting Old Reports

2010-09-15 Thread Matthew Caron

On 09/15/2010 01:55 PM, Rogers, Steven (TX57) wrote:

I wish it was, please see below for report-26 which has an error, there
is no button to delete it in this view.


When that happens to me, I just fix it in the DB. Replace the query with 
that works, and then you get a nice UI with delete button.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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.



[Trac] Re: Two questions about Trac

2010-09-20 Thread Matthew Carlson
On Sep 20, 6:01 am, Water Lin waterlin1...@gmail.com wrote:
 2. Can I export tickets as excel or word, or something else, so I can print
 tickets very convinently. Is there any good plugin for it?

Trac also exports reports and custom queries to CSV, which will open
in Excel directly.  Click the Comma-delimited Text link near the
bottom of the page.

-- 
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 and Git: ready for prime time?

2010-10-15 Thread Matthew Caron

On 10/14/2010 05:27 PM, Gary Oberbrunner wrote:

Our repo has around 7k files and around 17k commits total, so it's not
huge. But the trac source browser takes upwards of 30-60 seconds just to
display the top-level source dir!


We actually dodged this problem because we needed git multirepository 
support, so we changed the post-commit hook to insert links in the 
ticket on commit to the relevant repository in gitweb. We don't actually 
use the git source browser.



I'm wondering who else is using Trac with git repos?


We are, and have been for about 2 years.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 with Account Manager Plugin

2010-10-18 Thread Matthew Caron

On 10/18/2010 12:44 PM, Draulio Neto wrote:

The password file could not be updated. Trac requires read and write access
to both the password file and its parent directory

What's missing in my configuration??


Can the webserver user write the file and its parent directory?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 on OSX

2010-10-22 Thread Matthew Caron

On 10/22/2010 04:47 AM, cap_sue wrote:

http://trac.edgewall.org/wiki/TracInstall, I've managed to get trac running
on the standalone server, tracd. However, I don't see the New Ticket tab
on the right side of the page.


Depending on how you have it configured, you may need to log in first.



Also, I'm not sure how/where to add the
information under configuring authentication. Can somebody please help?


According to the docs, it looks like you tell it where the password file 
is. See here:


http://trac.edgewall.org/wiki/TracStandalone#UsingAuthentication

It appears that the password file is htpasswd/htdigest, which you can 
generate with apache tools.


Where are you getting stuck on these steps?
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] PostgreSQL - a straw poll

2010-10-25 Thread Matthew Caron

On 10/20/2010 12:57 AM, Andy Baker wrote:

Hi All,

I'm looking into switching from sqlite to postgreSQL as our backend. I'm
assuming this shouldn't be an issue, but does anyone have any good/bad
experiences to share?


I recently did a similar migration, using Postgres 0.11.6. The core Trac 
code went over fine, but our custom queries all needed to be ported 
(there were a lot of SQLite-ism's, specifically as related to datetime 
type functions). Further, many of our plugins needed to be updated, as 
there were subtle variations in the SQL (quotes around arguments being 
different, etc.).


In all, I like PostgreSQL less than SQLite. It reminds me of my brief 
brush with Oracle - a lot of the meta-syntax is obscure, it's annoyingly 
picky about stupid things such as how to quote strings, and it just 
feels slightly wrong. That said, it does work, and we noticed a complete 
evaporation of our issues relating to people fighting over the database. 
SQLite and MySQL are much less annoying to work with... I mean, until 
MySQL corrupts its tables because MyISAM is still the default on most 
package installs (I'm looking at you, Ubuntu 10.04).

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] - database is locked

2010-10-27 Thread Matthew Caron

The database is locked. Does anyone know how to solve this problem?


(1) Fewer concurrent users.
(2) A database that is not SQLite. :-)

(This is why we migrated to PostgreSQL from SQLite at my installation - 
Once we got over about 5 people using it, these became more and more 
frequent).


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] - svn post-commit hooks fail when using MySQL database

2010-11-02 Thread Matthew Caron

On 11/02/2010 12:10 AM, mark ardiente wrote:

I tried manually adding the changeset and it works
trac-admin /var/path/to/trac/project changeset added path/to/svn/reporevison

but it issues this error when i commit any changes to my svn repo

  Warning: 'post-commit' hook failed with error output:
TracError: Unsupported database type mysql


Presuming that the two run as different users, I'd suggest that perhaps 
the post-commit hook user's environment is different than yours. Try:


sudo -u post-commit user -i

Then run your command.

Further, it could be that since it is not actually a login environment, 
that some paths are not being set up correctly for that user. This, of 
course, is heavily platform dependent, especially when dealing with 
older-style systems making use of environment variables to configure 
shared library paths.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 (almost) hangs

2010-11-08 Thread Matthew Caron

On 11/08/2010 03:48 AM, Torsten Bronger wrote:

Any idea why this is?


I believe it is because you aren't starting enough servers/keeping 
enough spare servers


My out of the box Ubuntu 10.04 server setup is:

IfModule mpm_prefork_module
StartServers  5
MinSpareServers   5
MaxSpareServers  10
MaxClients  150
MaxRequestsPerChild   0
/IfModule

IfModule mpm_worker_module
StartServers  2
MaxClients  150
MinSpareThreads  25
MaxSpareThreads  75
ThreadsPerChild  25
MaxRequestsPerChild   0
/IfModule

Which section you use depends, of course, in which version of apache 
you're running (the traditional prefork model, or the new threaded 
worker model).


Other thoughts:

- If the machine is RAM constrained, it is possible that any files read 
into memory and cached there are being dropped as the machine sits idle, 
so it needs to re-read them from memory.


- If the browser's cache times out and the page content is flushed, all 
the graphics, etc. will need to be pulled in again. Setting up a static 
cache of these so they are pulled through apache rather than through 
wsgi/trac/etc. may help things


- If you're using SQLite as a DB, and have several users, you will 
likely see issues like this if a user is reading from a table which is 
being updated by another user.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 (almost) hangs

2010-11-09 Thread Matthew Caron

On 11/09/2010 06:05 AM, Dave Love wrote:

I guess it's https://bugs.launchpad.net/trac/+bug/607117


I'm still on 8.04, so this very well could be it. I haven't tried it on yet.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 on OSX

2010-11-11 Thread Matthew Caron

On 11/11/2010 04:14 AM, cap_sue wrote:

Thanks a lot for your input and sorry that I have taken so long to respond.
I was working on other stuff and only got back to the Trac installation now.


I have no idea what that is like at all. Seriously. ;-)

(No worries)


I have successfully managed to create authentication and once logged in, I
can see the New Ticket field.


Excellent.


I have another (or a few) question(s).


Ask away.


Would it be possible to continue using sqlite for actual bugtracking
purposes or will i run out of database space soon and/or are the feature in
sqlite very limited compared to MySQL? In other wods, what would be the
advantage of going with MySQL as opposed to sqlite.


MySQL is a real database server. It has a finer granularity of locking, 
better concurrency, less latency, etc.


SQLite is a database engine, suitable for small installations and 
embedding into applications. It is easier to set up, as you don't have 
to set up a daemon, tweak much of anything, worry that much about 
security, etc.


You won't really run into space issues with either, until you run out of 
disk space. You also won't (generally) run into compatibility/feature 
issues as Trac is programmed to be reasonably database abstract. 
However, you might run into problems with plugins which call direct SQL 
commands rather than the Trac API, as they may not have been programmed 
as conservatively as core Trac is. This is generally not a big deal - 
fix the SQL until it works, file a bug with the plugin maintainer, 
submit a patch, get on with life.


That said, you will likely run into scalability issues. If you're 
supporting two users, and don't intend in going over about five people 
in the near future, then don't worry about it - just use SQLite. Once 
you hit about 5-10 heavy users, however, you'll start seeing issues with 
people stepping on each other (you'll start seeing database is locked 
timeout errors) and then you'll need to migrate to a real DB server.


Also note that any custom reports you do will be all on you. I've 
specifically run into variances with time-related ones, as MySQL, 
PostgreSQL and SQLite all have different date-handling functions. Also, 
the quoting can be subtly different (PostgreSQL wants single quotes).



We do have a SnowLeopard Server which I can use to install trac once I
establish trac is working fine on my system. In that case, I do have MySQL
pre-installed on the Server OS. Would there be a big difference in the
procedure to set up the trac project if I went for a MySQL DB?


Depends on how paranoid you are and how much functionality you need.

With SQLite, you just point the ini file at the file you want to use 
and, once it is created, restrict permissions so someone else can't fire 
up the SQLite CLI client and modify it, while not breaking the 
permissions necessary for trac to work. Generally, the correct owner and 
permissions 0644 do the trick, which also means your nightly stats 
gathering scripts can dump the db to, say, email each manager a summary 
of the day's events.


With MySQL, you (or, at least I)
 - Install it
 - Create root user
 - Create empty trac db
 - Create trac user with access only to that db
 - Point trac.ini at that DB with those credentials
 - Since trac.ini now has credentials, lock it down so no one can read 
it except those who need to
 - Create a readonly user with SELECT permissions (so that nightly 
scripts can query the DB, as mentioned above)


It's is not particularly difficult, just a little bit more work.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 on OSX

2010-11-16 Thread Matthew Caron

I have no idea what that is like at all. Seriously. ;-)


How I wish I could be the same!!


Actually, I was being sarcastic. I don't think I even get to go a whole 
day on just one job.



Right now, its about 3-4 ppl who'll be working on the server, of which only
1-2 might work simultaneously. So, from what you're saying I guess its not
necessary to have a MySQL DB.


I would agree.


But since the Snow Leopard server comes with
MySQL pre-installed, we'll probably move to that when we install trac on the
server.


That's what I would do.


In the meantime, I'll try and get another trac project running with
MySQL(after the installation procedure as you've explained in the mail) on
my system. I hope this is possible - to run a trac project on sqlite while
the other runs on mysql (both standalone).


As long as they have different .ini files and point at different 
databases, that's fine. You can even do two different ones on MySQL or 
two on SQLite, as long as the actual databases (the MySQL DB name or the 
SQLite table) are not the same.



This would ease my paranoia of being able to set it up with MySQL on the
server later on.


Understandable.


Is the Trac website the best place to direct new users to, to get a basic
idea of how it works?


We wrote up a basic GettingStartedWithTrac page and linked to it from 
the main Wiki page. This allowed us to craft a help page which is 
optimized for what most people do here, addresses our workflow and 
procedures, and explains several plugins which are installed. Of course, 
this varies by installation, so custom help is kind of the only way that 
it works.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 0.12.1 attachements after upload broken

2010-11-19 Thread Matthew Caron

On 11/19/2010 08:02 AM, goo...@ifo.net wrote:

This could be an image (jpg or png), which is corrupt, if you download
the file again.



May you have some suggestions,


What happens with a plain text file? My thought is, if it is being 
mangled in some way, and you upload a plain text file, how it is being 
mangled may become apparent.


What happens if you upload a file, then copy it off the server via some 
other method (say, like scp). Is it still corrupt?


What happens if you try a different browser to do the upload?
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 0.12.1 attachements after upload broken

2010-11-19 Thread Matthew Caron



On 11/19/2010 09:46 AM, goo...@ifo.net wrote:

Dear Matthew,

Thanks for your response!

  What happens with a plain text file? My thought is, if it is being
mangled in some way, and you upload a plain text file, how it is being
mangled may become apparent.
The textfile is normal, no corruptions.


Based on your subsequent comments, it may be because the text file is small.


If have tested more uploads yet. As I can see, a png-Image with about
3KB size is ok,
if the png-Image is a larger on (about 140KB), the image is corrupt.

Could the size a problem for the upload? In my oppinion 140KB is not so
big for a documentation image.


Hmm.. in trac.ini, what is max_size (under [attachment]) set to? I 
wonder if it is set to 140k, and the the file you're trying to upload 
is too big logic is not working correctly in 0.12? (I'm still on 0.11.6).


Also, are the files corrupt because they're truncated to some limit, or 
are they full size? If, for example, you're uploading a 3M file, but 
only 140K hits disk, that could easily be the cause of the corruption 
(which is slightly different than it getting mangled but being roughly 
the same size).


Also, hitting long shots here:
 - is the disk full?
 - is the webserver user hitting some usage quota?
 - How does a 4K file do? 8K? 16K? I ask because these are typical 
allocation blocksizes for a variety of storage systems. If, for example, 
your RAID controller is doing something strange, it could result in 
badness there (although you would be noticing a lot more random crashes 
and everything would be largely going down in flames).


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 0.12.1 attachements after upload broken

2010-11-19 Thread Matthew Caron

On 11/19/2010 10:30 AM, goo...@ifo.net wrote:

No truncation. I have uploaded a 5MB JPG-Image, it also has 5MB on the
server. If I download the image, you can view the image, but it's a
corrupted (wrong colors and so on).


On a corrupt file, are the file sizes exactly the same?

I guess my next step would be a binary diff of two small-ish files which 
exhibit this corruption. At this point, we're firmly into strange crap 
territory. I have seen corruption like this in the past, and it often 
comes down to I compare the files, and notice that the corruption 
happens because there is random garbage inserted on interval 
boundaries, and then the file picks up again. In a case like that, the 
issue is that someone is reading interval + some size bytes out of a 
buffer into which only interval bytes have been stuffed, etc.


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 0.12.1 attachements after upload broken

2010-11-19 Thread Matthew Caron

On 11/19/2010 10:59 AM, Matthew Caron wrote:

I guess my next step would be a binary diff of two small-ish files which
exhibit this corruption.


To be more clear - this should be between the original and corrupted 
version of the same file.


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 0.12.1 attachements after upload broken

2010-11-29 Thread Matthew Caron

On 11/25/2010 07:34 AM, goo...@ifo.net wrote:

Dear Matthew,

Sorry for my late response, but I have a lot to fix in my company...


And I was on holiday, so I apologize for my even later response.


What about your suggestion with binary diff, how could I do on the
linux-system? May you have an example.


apt-cache search binary diff returns the kitchen sink. A quick looking 
about in that lists suggests:


vbindiff
xdelta
hexdiff
bsdiff


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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 trac configuration

2010-12-03 Thread Matthew Caron

On 12/03/2010 10:01 AM, Surryr wrote:

I got problem with configuring trac (mod_wsgi + postrgre + trac 0.12)

Everything works perfect, when trac is in standalone mode (racd -s --
port 8000 //home/project-home/trac).


Five bucks says that your webserver can't read the config file.


TimeoutError: Unable to get database connection within 0 seconds.
TracError(u'Database /PathToMyTrac/db/trac.db not found.',)


You're using postgres, but yet it's trying to open a sqlite DB (the 
default). This implies that it hasn't parsed the trac.ini. Can it read it?



my conf.ini(db connection string):


Shouldn't this be trac.ini? Or did that change with 0.12?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Change of Trac User name

2010-12-08 Thread Matthew Caron

On 12/08/2010 12:28 AM, cristina wrote:

Upon creation of account in Codesion, we have used an admin name which we
would like to change now. However, there is no option for that right now.
How do we go about this task?


I don't think there is a nice way to do this. I think you have to hit 
the DB directly. Off the top of my head (likely incomplete):


1. change the user's name in whatever backend password store you're using

2. change the user's name (sid) in session and session_attribute on all rows

3. change the reporter and owner in ticket

4. change the author in ticket_custom, as well as any instances of 
oldvalue or newvalue which reference the old name


5. fix the permissions for that user (can be done through the admin 
console, provided you have someone else with admin access


6. Change the author in wiki

I'm probably missing some tables which need to be updated.


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Track notification with corporate email

2010-12-09 Thread Matthew Caron

On 12/08/2010 01:41 PM, P L wrote:

My question : which smpt server shall we use in track.ini file for our gmail
based commercial email addresses ?


I would ask Google, as they provide the server.


THIS WORKS :
smtp_from = pierrotlafou...@gmail.compie...@technowait.com
smtp_from_name = PierrotLafouine
smtp_replyto  = pierrotlafou...@gmail.compie...@technowait.com
smtp_always_bcc = pierrotlafou...@gmail.compie...@technowait.com
smtp_always_cc = pierrotlafou...@gmail.compie...@technowait.com


What's with the malformed email address lines? Depending on how Trac 
parses these (I don't actually recall), either:

 - it will break
 - it will send to both of those addresses
 - it will use the email of pie...@technowait.com while thinking the 
friendly name is pierrotlafou...@gmail.com



THIS DOESN'T WORKS :
smtp_server = smtp.ourcompanyname.comhttp://smtp.gmail.com/


I do not believe that this is a valid SMTP server line, it should be either:

smtp_server = smtp.ourcompanyname.com
- or -
smtp_server = smtp.gmail.com

Further, are you *actually* using smtp.ourcompanyname.com? Shouldn't it 
be smtp.technowait.com, or something similar? After all, 
smtp.ourcompanyname.com resolves to:


~$ host smtp.ourcompanyname.com
smtp.ourcompanyname.com has address 208.73.210.29
smtp.ourcompanyname.com mail is handled by 0 mx.fakemx.net.

And the MX record here is not very promising...

Now, assuming your company is indeed technowait.com, some quick DNS 
lookups tell me the answer:


~$ host technowait.com
technowait.com has address 69.164.210.132
technowait.com mail is handled by 10 alt2.aspmx.l.google.com.
technowait.com mail is handled by 0 aspmx.l.google.com.
technowait.com mail is handled by 10 alt1.aspmx.l.google.com.

According to the above, your mail servers are:
aspmx.l.google.com
alt1.aspmx.l.google.com
alt2.aspmx.l.google.com

Now, whether or not these servers are configured to relay outgoing mail 
(many just receive email destined for your domain and reject all 
others), I cannot say. You would have to ask google.


Also, smtp.technowait.com doesn't exist:

~$ host smtp.technowait.com
Host smtp.technowait.com not found: 3(NXDOMAIN)
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Does TRAC have a SCRUM plugin?

2010-12-09 Thread Matthew Caron



On 12/09/2010 10:29 AM, MrPink wrote:

I'm new to track and just wanted know if a SCRUM plugin exists for
TRAC.


EstimationTools has a burndown chart.

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

You also might look under the agile tag:

http://trac-hacks.org/tags/'agile'

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Bug in log out?

2010-12-14 Thread Matthew Caron

On 12/12/2010 05:50 PM, Dani Nicolaevsky wrote:

Is this a bug or an expected behavior?


Expected behavior.


Maybe a missconfiguration? I
would expect  log out link to finish the current session and allow me
to sign in with a different user name.


Not when your browser caches HTTP credentials, which most do.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] In linux boots up, tracd script starts automatically then GUI of Linux not get loaded

2010-12-16 Thread Matthew Caron

On 12/16/2010 03:29 AM, kavitha wrote:

If tracd script starts automatically (kept in /etc/rc.d/init.d/) when
the linux machine boots up then unable to use the GUI of Linux. If I
stop the script then GUI is working fine.


Please be more specific. It doesn't work is not a valid problem 
description. How does it not work? Does the machine start tracd and just 
sit there? Do you get to a login prompt? Can you log in and get a 
desktop? If it's hung, can you switch to another VTY (ie 
Ctrl+alt+F1-F6). What distribution are you using? Into what runlevels 
are symlinks to the tracd script installed? When you make it run again, 
how are you stopping the script?



Note: I used the tracd script which is in the path 
http://trac.edgewall.org/ticket/4352


Did you modify it in any way?
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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: In linux boots up, tracd script starts automatically then GUI of Linux not get loaded

2010-12-20 Thread Matthew Caron

On 12/20/2010 01:44 AM, kavitha wrote:

Answer for your question:
   Machine started tracd perfectly and just sit there.


Hmm.. It sounds like it didn't correctly daemonize.

What happens when you boot and start it manually? Does the terminal in 
which you're starting it return to a prompt, or does it just sit there 
as well? If it just sits there, then your problem is that something is 
not working right with the daemon program (which is odd).



Solution taken:
   Trough remote, issued the below commands
   chkconfig svntracd off
   reboot
   Afer reboot issued /etc/rc.d/init.d/svntracd start (prints all the
information in the console)


What information does it print? Does it go back to a prompt.


Script modified as below:
1. OPTIONS variable changed to OPTS as SVN didn't accept it


This has nothing to do with SVN. OPTIONS is used internally by that 
startup script. (Or do I misunderstand?)



2. Declared the OPTS variable as OPTS=-p 8014 -e /home/kavitha/svn/
tracenv/


And that's likely your problem - you dropped the -d, so it's not 
daemonizing.


Also, why did you drop the -r?



3. return -1; inside the if condition in start() throws error and
modified into exit;


Why? It will return -1 which will then exit with -1 following the 
conclusion of the case statement.



4. Sometimes, only lockfile is created. But stop() checks for only pid
file, so changed the script to check for lock file also. If exist then
remove (rm) is called for lock file also.


I'd prefer to have it not start so I can verify that trac wasn't 
manually started. Removing a lockfile from a running trac is not a good 
idea.



Trust I have given all the information, if not please let me know.


Nope, that's fine.


Did I made any wrong value in OPTS varibale?


Yes, you left off -d.

-d, --daemonize   run in the background as a daemon

This is also why you're not getting a pidfile:

--pidfile=PIDFILE When daemonizing, file to which to write pid

(implies that it won't creat a pidfile when not daemonizing).
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Git trac 0.12 post receive hook problem

2011-01-04 Thread Matthew Caron

On 12/21/2010 01:49 AM, tony wrote:

Hi!
We activated the DEBUG with a commit (see attached file) and we could
not identity any problem (there is a line that says 'Failed to load
Subversion bindings', but I am not sure this is relevant due we use
git)


I believe it is. An ImportError is fatal, if I remember correctly.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Straw poll - which Trac version are you using?

2011-01-05 Thread Matthew Caron

On 01/05/2011 10:29 AM, Dan North wrote:

Which version of Trac are you using, and if you're on 0.12 what prompted you
to upgrade from 0.11?


0.11.6. Haven't had the time to validate 0.12 for production use.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Reporter/Owners who have left

2011-01-11 Thread Matthew Caron

On 01/11/2011 01:23 PM, Marjory L. Mackes wrote:

I have a person who left the project and they were originally a
reporter on several tickets that are still open.   I have taken them
out from the permissions and removed them from the Password file, but
when the tickets are updated they are still getting notified.  Short
of going in and change alot of tickets manually to someone else, is
there a way to prevent a user who left from getting emails on tickets
they originally reported.


We reparent them, changing the reporter to someone else (typically their 
manager).


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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] Help?

2011-01-21 Thread Matthew Caron

On 01/21/2011 12:07 PM, Guilliams, Ken wrote:

I have a new ticket created. In the action field, the green dot is lit
at the bottom of the ticket with State Leave as New. I want to move the
ticket to the next State but cannot get it out of New? Can someone help
me?


1. This is a new conversational thread. Please follow standard list 
etiquette and do not start a new one by replying to an old one. Start a 
new one.


2. Can you be more specific about the issue. cannot get it out of New 
can mean there are no other options to select or when I select 
another state, I get an error, or something else. What exactly are you 
seeing?


3. What is the workflow set up for that ticket type?
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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 Ticket Assistance Needed

2011-01-21 Thread Matthew Caron

On 01/21/2011 01:19 PM, Guilliams, Ken wrote:

I have a new ticket created with the State as New at the bottom of the
ticket. At the bottom of the ticket, under Actions a green dot appears
lit green with the State, Leave as New. There are no other options
except this one at the bottom. The ticket States are Open, Investigate,
Correct, Implement, and Close, but I see one State that is showing is
New and I cannot change it.


What is the workflow for that ticket type? I bet it doesn't have any 
other states it can get to, so it's stuck at new.


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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.



[Trac] Work flows - Reassigned Testing

2011-02-07 Thread Matthew Crane
Hello,

I'm something of a newcomer to Trac and I was hoping I could seek some
assistance in customising the Trac work flow to reflect that of our
office.

Basically I'd like to introduce a testing phase, so a ticket would be
created, the work done and then the programmer would select 'submit
for testing' and the ticket would then be reassigned to the reporter
(who could either return the job for further testing or close it).

I've been following the instructions on 
http://trac.edgewall.org/wiki/TracWorkflow
which are perfect except it doesn't reassign the ticket (when choosing
testing)

Any suggestions on how best to solve this would be most appreciated.
The lines I have thus far added to workflow are below:

testing = new,accepted,needs_work,assigned,reopened - testing
testing.name = Submit to reporter for testing
testing.permissions = TICKET_MODIFY

reject = testing - needs_work
reject.name = Failed testing, return to developer

pass = testing - closed
pass.name = Passes Testing
pass.operations = set_resolution
pass.set_resolution = fixed

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



[Trac] Re: Work flows - Reassigned Testing

2011-02-08 Thread Matthew Crane
Thanks for that, works perfectly (probably a better solution in
honesty than always having to send it back to the reporter)

On Feb 7, 2:22 pm, Cooke, Mark mark.co...@siemens.com wrote:
  -Original Message-
  From: trac-users@googlegroups.com On Behalf Of Matthew Crane
  Sent: 07 February 2011 12:53
  To: Trac Users
  Subject: [Trac] Work flows - Reassigned Testing

  Hello,

  I'm something of a newcomer to Trac and I was hoping I could seek some
  assistance in customising the Trac work flow to reflect that of our
  office.

  Basically I'd like to introduce a testing phase, so a ticket would be
  created, the work done and then the programmer would select 'submit
  for testing' and the ticket would then be reassigned to the reporter
  (who could either return the job for further testing or close it).

  I've been following the instructions on
 http://trac.edgewall.org/wiki/TracWorkflow
  which are perfect except it doesn't reassign the ticket (when choosing
  testing)

  Any suggestions on how best to solve this would be most appreciated.
  The lines I have thus far added to workflow are below:

  testing = new,accepted,needs_work,assigned,reopened - testing
  testing.name = Submit to reporter for testing
  testing.permissions = TICKET_MODIFY

  reject = testing - needs_work
  reject.name = Failed testing, return to developer

  pass = testing - closed
  pass.name = Passes Testing
  pass.operations = set_resolution
  pass.set_resolution = fixed

 The line I think you are missing is something like:

 testing.operations = set_owner

 ...this will allow the owner to be changed to the (user
 selected/specified) user.  However, there is no automagic 'assign to
 reporter' option like set_owner_to_self...

 ~ mark c

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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.



[Trac] Email notification only when owner changes?

2011-02-08 Thread Matthew Crane
Hello,

I've just been setting up notifications in Trac and I was wondering if
there was a way of only sending notification when the owner of a
ticket changes?

At the moment I've set 'always_notify_owner = true' but then I recieve
an email everytime a change is made. We'd basically just like to use
the notification to let developers know they have a new\reassigned
case. An email by email record of changes is thus uneccesary.

any ideas if this is possible?

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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] Subticket macro question: Adding existing tickets as a subticket

2011-02-09 Thread Matthew Caron

On 02/09/2011 08:26 AM, Roger Oberholtzer wrote:

I am guessing I can do this via the sqlite3 command?


Yes.


I am never sure
about the BEGIN TRANSACTION / COMMIT stuff. Do I need to put that around
the DELETE statement?


Only if you care about being able to roll back a set of commands if one 
of them fails. Short version: No.



(Despite these questions, I am a C/Tcl/ASM/etc. programmer. Just not so
familiar with SQL.)


It's easier than it looks. The query optimizations are a bit of a black 
art, but most DB's provide instrumenting so you can see where it is 
spending its time.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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 proposal on stackexchange.com

2011-02-21 Thread Matthew Caron

Personally I find it faster to scan email lists and reply quickly.
Forums tend to be slow and kludgy, the idea of them sounds nice.  But
it always seems to me they are much harder follow/watch and
participate in than mailing lists.  But that's just me...


No, it's not just you. :-)

For those who say that they want an archive of what was discussed 
available for those coming late to the party, well, that's what 
web-based email list archives are for. :-)


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] “DLL load failed” when using mercurial on trac

2011-03-02 Thread Matthew Caron

On 03/02/2011 04:23 AM, blokeley wrote:

I know that the directory c:\docume~1\tomoak~1\locals~1\temp
\easy_install-cas_ve\ does not exist on disk.


Even in it's long form? (C:\documents and 
settings\tomoaksomething\local storage\temp)


If so, then I think the config is pointing in the wrong spot.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Sophisticated ticket interface (with tabs)

2011-03-02 Thread Matthew Caron

On 03/02/2011 09:19 AM, Squirr3l wrote:

Would it be possible to use tabs in the ticket? I assume with templates.


You might try directly swallowing the page content, though I'm not 
certain how well it would work:


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

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Sophisticated ticket interface (with tabs)

2011-03-02 Thread Matthew Caron

On 03/02/2011 09:25 AM, Squirr3l wrote:


I would need fields and data from the database, so i need all the trac
functionality, but with a huge amount of fields. I would need some kind of
workaround for this..


Then I'm afraid I really don't understand what you're trying to do.

Are you trying to migrate your ticket system in to Trac, or are you 
trying to use your current system through Trac? I thought the latter, 
hence my suggestions.


One thing we do is use a plugin which displays different fields based on 
ticket type, but that doesn't sound like what you want either.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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: “DLL load failed” when using mercurial on trac

2011-03-02 Thread Matthew Caron

On 03/02/2011 10:00 AM, blokeley wrote:

The folder C:\Documents and Settings\Tom Oak\Local Settings\Temp
exists but not the sub-folder easy_install-cas_ve.

Which config do you think is pointing to the wrong spot?


Trac.ini? One of the apache configs?


It would be a great help if you can name the suspect config file.

Note that it works fine when using the tracd server. It is only when
running via apache that the error occurs.


I'd `grep -r easy_install` in places like /etc/apache and wherever 
trac's data is installed and wherever the trac plugin is installed. 
Unfortunately, I gave up on Windows about ten years ago, so I don't know 
where those things are these days. Perhaps someone else knows.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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.



[Trac] Calendar with ical tickets?

2011-03-10 Thread Matthew Crane
Hi there,

Does anyone know if there's a Trac calendar plugin that lets you
display both local track ticket info/dates as well as external ical/
html calendar info?

It would be really useful to be able to intergrate our ticketing with
people's personal calendars.

thanks

Matt

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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] Running trac (0.11.7) and accessing it via a proxy

2011-03-14 Thread Matthew Caron

On 03/10/2011 09:51 AM, Bruce Stephens wrote:

We were running trac on out main intranet server (call it www.domain),
and we're in the process of splitting things out, so now trac is
running on trac.domain and www.domain proxies to that with:

Location /trac/
 ProxyPass http://trac.domain/trac/
 ProxyPassReverse http://trac.domain/trac/
/Location

But that doesn't quite work.  It seems that anything involving
redirection (logging in, logging out) redirects to trac.domain,


That's really odd - it shouldn't be.

Question: did you change your trac url as well? If so, that's likely 
part of the problem - it's prepending that to any generated urls. You 
might need to leave that as www, since it's only accessed through the 
proxy - but I thought that the proxy would intercept the stream and 
rewrite that.


Also, I've never used that variant of the configuration option before. 
Typically, I'd do:


ProxyPass /trac/ http://trac.domain/
ProxyPassReverse /trac/ http://trac.domain/


So what's the simplest way of fixing things?


I'd fix the proxy.


Alternatively, what's really happening?  Is it the redirection, and if
so where's the server name from trac.domain coming from?  Adding
ServerName www.domain to the config on trac.domain doesn't seem to
work, for example.


I think that comes from the [project] section, the url parameter.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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 Git post-receive problem

2011-03-14 Thread Matthew Caron

On 03/10/2011 01:00 PM, Dominik Kupschke wrote:

Hi,

I have a machine which is running Trac and Git.
For the repositories I want to be able to close tickets from the commit
message.
I followed the tutorial on this site:
http://trac-hacks.org/wiki/GitPlugin#post-receivehookscripts

My problem is, that everything I do seems to do nothing.


I'd have the script append to a log file in /tmp and see if it is even 
being called.



Has someone a working setup like mine and could provide a working tutorial?


I do, but I can provide no more tutorial than what is on the site, since 
it just worked for me.


That said, I turned off the ability to close tickets from the commit 
message because we never used it.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Editing Multiple Tickets breaks all but the last one

2011-03-16 Thread Matthew Caron

On 03/16/2011 09:50 AM, sandinak wrote:

If you're editing multiple things (ticket/wiki/blog) on the same Trac
instance, something happens that breaks all but the last thing you
edited.


Can you define breaks?


I assume it's cookie based.  Is there a way to make this NOT
happen? Right now I have to open 4 different browsers to get around
the problem.


I typically open multiple tabs talking to the same Trac instance sharing 
the same login without issue. This works fine on FF 3, FF 4, and Chrome.


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] zipimport fails to open main Trac .egg

2011-03-16 Thread Matthew Caron

On 03/15/2011 02:29 AM, Drawknob wrote:

[Mon Mar 14 23:11:52 2011] [error] [client 172.16.1.104] IOError: zipimport:
can not open file
/usr/local/lib/python2.7/site-packages/Trac-0.12.2-py2.7.egg


Please do:

ls -l /usr/local/lib/python2.7/site-packages/Trac-0.12.2-py2.7.egg

and paste the output.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] zipimport fails to open main Trac .egg

2011-03-16 Thread Matthew Caron

On 03/16/2011 02:44 PM, Drawknob wrote:

Hi, thanks for the reply.
The .egg permissions were fine as I had chowned to the apache user and
group, but it turns out that python2.7 directory was 750 instead of 755 so I
changed it and now things work. Not sure why the installation of python
didn't set permissions right.


It's always the simple things that get you. No worries.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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.



[Trac] Disabling links on ticket summary

2011-03-30 Thread Matthew Crane
Hi guys,

I'm running trac 12 and I was wondering if there was anyway to disable
the links on ticket summary - owner, milestone, component etc.

thanks

-- 
You received this message because you are subscribed to the Google Groups Trac 
Users group.
To post to this group, send email to trac-users@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] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Matthew Caron

On 03/29/2011 08:46 PM, Eric Ray wrote:

2011-03-29 13:37:30,542 Trac[query] DEBUG: Count results in Query: 0


It looks like you have no results. Doesn't that mean there would be no 
chart?


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Nothing visible/rendered with TracJSGanttChart

2011-03-30 Thread Matthew Caron

On 03/30/2011 08:53 AM, Eric Ray wrote:


I just opened the page (no graph) and did View Source.

I see (just the interesting part, obviously) the following code...but no chart. 
Seems like it
knows of stuff to chart.


Did the Gantt JS actually get loaded? Like, is it wget-able?

Assuming FF, are there any useful JS errors?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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 Environment

2011-04-12 Thread Matthew Caron

On 04/12/2011 05:44 AM, Hasibullah wrote:

# chmod 777 -r /usr/local/trac/mysite   // i gave full permission
after doing this the problem was solved but .


This is fine for testing, but is a very bad idea for a permanent 
solution. Set permissions correctly such that the apache user (whatever 
user apache runs as) has rw permission to that directory - NOT everyone.



It showed this error message  and i don't know what to do, i upgraded
it but the trac server said no need to upgrade

error message

Trac Error

TracError: The Trac Environment needs to be upgraded.

Run trac-admin /usr/local/trac/mysite upgrade


If I understand you correctly, you are saying that trac is telling you 
to run the above command, but when you do it says that there is no need 
to upgrade, yet when you load trac it still says an upgrade is needed?


If so, that is very strange.

If not, run that command.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Help needed

2011-04-19 Thread Matthew Caron

This happened when I increased the size of the partition where the reos were 
stored.


I presume you both increased the partition *and* the filesystem 
inhabiting it.


Did you fsck the revised partition?

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Help needed

2011-04-20 Thread Matthew Caron

On 04/20/2011 02:12 AM, Saurav Sagar wrote:

SubversionException: ('Revision file lacks trailing newline', 160004)

Can you please suggest something for this..


I'd make sure you can check out the repository with SVN. It looks like 
this is a SVN problem, not a Trac problem. It's reporting that it can't 
access the SVN revision file because there isn't a trailing newline. One 
can theoretically add a newline, but I'm not sure that will work - it 
sounds like things are a bit corrupt.


I'd use SVN's tools to try and fix the repository. Once SVN says its 
okay, then you can try to resync.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Safe way to remove trac-user

2011-04-26 Thread Matthew Caron

On 04/26/2011 04:12 AM, Masopust, Christian wrote:

Hi all,

is there a safe (or recommended) way to remove some users that left project?


I just delete them from the DB.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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: AW: [Trac] Safe way to remove trac-user

2011-04-26 Thread Matthew Caron

On 04/26/2011 08:37 AM, Masopust, Christian wrote:

Hi Matthew,

just from session- and session_attribute-table?


Yes.


so i could also
use trac-admin  ... session delete ..., right?


No idea. I wasn't even aware that command existed. However, let me know 
if that works - seems a little safer. :-)


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Where is the command line?

2011-05-02 Thread Matthew Caron

On 05/02/2011 10:08 AM, jobxyz wrote:

where is the command line tool ?


Depends on where your installation installed it. Mine is in /usr/bin.


do i have to run something else to get the command line tool?


I don't think so. Mine was installed as part of core trac.


I see the admin tab - but what i want to do is see how a backup looks like
- before i start using the system and i just don't know where to simply
run the script


I'd open a shell and `locate trac-admin` (which makes some tremendous 
assumptions about your OS and environment, but we'll start there and see 
where that gets us).

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Where is the command line?

2011-05-02 Thread Matthew Caron

On 05/02/2011 10:50 AM, jobxyz wrote:


I'm using windows and things seem to be installed in
C:\Documents and Settings\my name\BitNami Trac Stack repository\


So then:

1. Find the subdirectory of that which has a trac-admin.exe (or similar) 
file.
2. add the directory you found in step 1 to your path for your shell of 
choice (you can use the DOS shell, but I tend to install Cygwin BASH. 
Rumor has it that the shell which comes with Windows 7 is halfway decent 
as well).



If I'm not mistaken /usr/bin is something from Linux no?


Yes.
--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Doing something wrong with apache, but not sure what.

2011-05-03 Thread Matthew Caron

On 05/03/2011 10:36 AM, John wrote:

   File build/bdist.linux-x86_64/egg/trac/db/pool.py, line 146, in
get_cnx
TimeoutError: Unable to get database connection within 0 seconds.
(trac.core.TracError instance at 0x2af86290)


It can't talk to the DB.


I've heard rumblings of the .egg unzip issue, but that does not
resolve the problem. Could someone please point me in the right
direction? I'm not strong in this area.


Check permissions. Make sure the user as whom apache runs can access the 
DB. Assuming SQLite, this means making sure that it can rw the file.


--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Doing something wrong with apache, but not sure what.

2011-05-03 Thread Matthew Caron

On 05/03/2011 11:09 AM, John Hutchison wrote:

Pardon my ignorance, but which specific file?


Typically it's tracroot/db/trac.db

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Webserver can't write to trac.ini

2011-05-17 Thread Matthew Caron

On 05/17/2011 02:23 PM, Dimitri Maziuk wrote:

Christian Boos wrote:
Yeah, well, I'm sure I'll memorize yet another login and password that I
will use most likely never again to add three words to some wiki page.


keepassx



Aside from the obvious bit where having to make trac.ini world-writable
in order to make trac work is wrong.


You don't - it just needs to be webserver writeable.

Mine:
-rw-r- 1 www-data www-data 37201 2011-05-16 18:54 trac.ini

Parent dir:
drwxrwxr-x 2 www-data admin 4096 2011-03-28 10:58 ./

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Webserver can't write to trac.ini

2011-05-17 Thread Matthew Caron

On 05/17/2011 02:40 PM, Dimitri Maziuk wrote:

If you're the only user on your network and your name is root.


I don't follow. If you're rewriting the .ini file through Trac, it 
arbitrates access to the file, so no matter who logs in to trac, the 
webserver is what is accessing the filesystem.


If you're having folks ssh in and edit the .ini file manually, but don't 
want them all to be able to edit everyone else's trac .ini files, then 
yeah, you're doing groups or sudo.



Otherwise you're looking at creating and managing lots of groups and
most of us just say screw it, chmod -R a+w even before their number
hits 32.


So, security is hard and I'm a lazy sysadmin?

If it makes you feel any better, HBGary Federal and Sony appear to have 
sysadmins which take a similar view, so you're not alone in the world.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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 initializing project with MySQL

2011-05-20 Thread Matthew Caron

On 05/19/2011 05:18 PM, Ryan Elliott Turner wrote:

using the connection string mysql://user:pw@127.0.0.1/db (credentials
check out too, I've connected using mysql workbench),


Double check this. I'm not familiar with mysql workbench, but users 
access is scoped in mysql. If you're connecting to it on localhost with 
trac, and from another machine with the workbench, it could succeed in 
one case and fail in another. You need to make sure that the user can 
access it the same way.


To get a proper list, do:

mysql -u root -p

(log in)

use user;
select User, Host from user;

You'll get a list of users and from where they are allowed to connect.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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] Cannot load Python bindings for SQLite

2011-05-24 Thread Matthew Caron

On 05/24/2011 05:50 AM, Phil Ewington - iModel wrote:

Weird, I configured my project to use Postgres! Why is this error
occurring and how do I go about fixing it so that Trac uses Postgres and
not SQLite. I did check trac.ini and the database parameter is correctly
set as postgres://user:passwd@localhost/project


Check the permissions on trac.ini. Make sure the webserver can read it.

--
Matthew Caron
Build Engineer
Sixnet | www.sixnet.com
O +1 518 877 5173 Ext. 138
F +1 518 602 9209
matt.ca...@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-users@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.



  1   2   3   >