Chris Nelson | 9 Feb 20:40
Favicon

[Trac] Mobile Trac?

I recently got a smart phone and it occurs to me that it would be handy at times to have at least some of Trac
available on it either via a web page or an RSS feed.  Does anyone here have any experience with Trac on mobile devices?

                                                 Chris
--
Christopher Nelson, Software Engineering Manager
SIXNET - Solutions for Your Industrial Networking Challenges
331 Ushers Road, Ballston Lake, NY  12019
Tel: +1.518.877.5173, Fax: +1.518.877.8346 www.sixnet.com 

--

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

AK | 9 Feb 17:16
Picon

[Trac] Issues running trac-admin

Hi ,
I have completed the installation of trac on our ubuntu box..following
this document

http://wiki.slicehost.com/doku.php?id=install_trac_on_ubuntu

but when i get to the

 trac-admin /home/xxxxx/trac_project1 initenv

i get this error

ak <at> exZact1:~$ sudo trac-admin /home/ak/repository/ initdev
Failed to open environment. [Errno 2] No such file or directory: '/
home/ak/repository/VERSION'
Traceback (most recent call last):
  File "build/bdist.linux-x86_64/egg/trac/admin/console.py", line 158,
in env
    self.__env = Environment(self.envname)
  File "build/bdist.linux-x86_64/egg/trac/env.py", line 215, in
__init__
    self.verify()
  File "build/bdist.linux-x86_64/egg/trac/env.py", line 294, in verify
    fd = open(os.path.join(self.path, 'VERSION'), 'r')
IOError: [Errno 2] No such file or directory: '/home/ak/repository/
VERSION'

can someone please let me know if i am missing anything?

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Picon

[Trac] question re: patch TracMetrixPlugin


I'm trying to get TracMetrixPlugin to work but am bumping into this
bug:  http://trac-hacks.org/ticket/6149

We're running Trac 11.6 and Python 2.5.2.  My question is where to
find the file(s) that need to be patched per the bug report above.  I
cannot locate mdashboard.py anywhere and the versions of web_ui.py
I've located (in ./site-packages/Trac-0.11.6-py2.5.egg/trac/*) don't
contain the line shown in the patch.

I'm obviously missing something basic about Trac installations!
Hoping for enlightenment!

--mam-p

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Chris Heller | 9 Feb 12:53
Picon

[Trac] Fix for layout of admin pages in IE6

Hi all,  in case you're still dealing with any Trac admins that are using IE6 (yes, there are some floating around out there - we just found one yesterday ;-),  here is what we discovered for fixing the layout of the admin pages. 


The .addnew CSS class (from admin.css) that gets applied to things like the "Add Account" form on the users page uses float:right to move to the right side of the page.  This causes IE6 some issues in calculating the layout and is manifested by the content in the middle of the page (e.g. the user list) to stretch all the way to the right of the page. 

The fix is to forcibly set the width of the non "addnew" content since it is not calculated correctly.  

One issue that came up in applying this generally to all of the admin pages is that there isn't any class that is assigned to items that don't get the float:right treatment.  We ended up using a little bit of extra javascript to do this dynamically. 

Since we have upgraded jQuery to 1.3.2 we were able to use jQuery's closest() method to pick out forms that are within the #tabcontent id, but are not within an .addnew item.  This would get inserted into the ie_pre7_hacks.js file. 

$('#tabcontent form').each(function() {
if($(this).closest('.addnew').length == 0) {
$(this).css({width:'62%'});
}
});

If you have jQuery 1.2.6 (which is the default for Trac 0.11.x),  then you'd need to modify this slightly (or do something else to tweak the generated HTML to have a class that you can target). 

It's a bit of a hack and could certainly be more elegant, but it makes the admin pages functional under IE6 again without breaking other browsers,  so it's probably not worth too much additional effort. 

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
Vishal | 9 Feb 06:43
Picon

[Trac] regarding new database tables and safety

Hi,

I would like to add some extra data to the trac installation I have,
and for this I may need to add extra tables to the database being
used. Since the database schema will change from the default one, i
would like to know under what situations will a trac database update
be required (as done by using the upgrade command from trad-admin)?
Also, if there is no way to avoid the upgrade, is there a way to do
this seamlessly, so a user does not know about it.

An example for this situation is the client plugin. Whenever I try to
add a new client or change anything in the client custom filed, the
trac project asks me to do an upgrade. This would be sort of very
difficult for the end user, particularly since they wont have admin
permissions, but would need to to add a client nonetheless.

Your help and guidance would be highly appreciated.

Thanks and best regards,
Vishal Sapre

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Ryan J Ollos | 9 Feb 00:05

[Trac] Pass variables to a PageTemplate?


Hello,

Is there a way to pass variables to a page template without coding up a
plugin?

It appears that something similar is done when creating a NewHack on
trac-hacks.org [1], [2].  I haven't looked into that code yet, but it looks
like it would take a bit of coding to setup what I want.  I wanted to first
see if there was an easy way to do this that I'm missing.

For example, I'd like to have a PageTemplate that contains a variable, such
as ${DATE}, and have the date set in the body of the wiki page when it is is
created.

[1] http://trac-hacks.org/wiki/NewHack
[2] http://trac-hacks.org/wiki/NewHackTemplate
-- 
View this message in context: http://old.nabble.com/Pass-variables-to-a-PageTemplate--tp27507815p27507815.html
Sent from the Trac Users mailing list archive at Nabble.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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

dafu | 8 Feb 14:25
Picon

[Trac] TagsPlugin doesn't work; tag field doesn't exist

Hi everybody,

I install the bitnami project of Trac on Windows. After I download/
install the TagsPlugin via ...

easy_install http://trac-hacks.org/svn/tagsplugin/tags/0.6

Does the actions as requested by: http://trac-hacks.org/wiki/TagsPlugin

After I edit a page with the result that the tag field doesn't exist.
Then I verify the permission actions
however no action for "TAG_..." exists.

Have someone any idea what I can further check?

Thx in advance,
Daniel

--
Trac: 0.11.6
Python: 2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit
(Intel)]
setuptools: 0.6c11
SQLite: 3.6.11
pysqlite: 2.5.5
Genshi: 0.5.1
mod_python: 3.3.1
Subversion: 1.6.6 (r40053)
jQuery: 1.2.6

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Daniel_Funk | 8 Feb 14:36
Picon
Favicon

[Trac] TagsPlugin doesn't work; tag field won't displayed to edit; no permission action exists

Hi everybody,

 

I installed the bitnami project of Trac (windows, native). After I follow the steps on the page:

 

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

 

No errors occured. However after I edit a page but no tag field is displayed and also no permission

action can select on the "Admin > Permission" page.

 

Has someone any ideas what I can do further check or try?

 

Thx in advance,

Daniel

 

--

Trac:

0.11.6

Python:

2.5.4 (r254:67916, Dec 23 2008, 15:10:54) [MSC v.1310 32 bit (Intel)]

setuptools:

0.6c11

SQLite:

3.6.11

pysqlite:

2.5.5

Genshi:

0.5.1

mod_python:

3.3.1

Subversion:

1.6.6 (r40053)

jQuery:

1.2.6

 

 

TREND MICRO Deutschland GmbH, Zeppelinstrasse 1, 85399 Hallbergmoos, Germany Geschaeftsfuehrer: Raimund Genes, Amtsgericht Muenchen - HRB 114739 Die in dieser E-Mail und ihren etwaigen Anhaengen enthaltenen Informationen sind vertraulich und koennen gewerblichen Schutzrechten unterliegen. Sollten Sie keiner der vorgesehenen Empfaenger sein, sind Sie nicht berechtigt, diese Nachricht in irgendeiner Weise zu benutzen oder weiterzugeben. Bitte benachrichtigen Sie uns ggf. per Rueckantwort oder telefonisch (0811-88990700) und loeschen Sie diese E-Mail aus Ihrem E-Mail-System. The information contained in this email and any attachments is confidential and may be subject to copyright or other intellectual property protection. If you are not the intended recipient, you are not authorized to use or disclose this information, and we request that you notify us by reply mail or telephone and delete the original message from your mail system.

--
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-/JYPxA39Uh5TLH3MbocFF+G/Ez6ZCGd0@public.gmane.org
To unsubscribe from this group, send email to trac-users+unsubscribe <at> googlegroups.com.
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.
luisdev | 8 Feb 13:56
Picon

[Trac] IntegrityError: columns cookie, ipnr, name are not unique

Hi!

We have been receiving this error when trying to log in our trac
wikis.

We have determined that this is due to how Trac manages session
cookies and a yet unknown condition that leads Trac to generate
repeated cookies in a short span of time.

This condition has probably not to do with Trac itself, but with the
underlying random number generation infrastructure, we have to
investigate this more.

Session cookies for a user are generated at every log in attempt and
are stored in a table. Cookies older than 10 days are cleaned up when
the user logs out.

If the user doesn't use the log out feature, but simply closes his
browser after a session the cookies accumulate indefinitely. If, for
some reason, the random generator produces a cookie that already
exists in the table we get the IntegrityError mentioned in the subject
of this message.

While Trac's cookie management can perhaps use some improvement, we
are more concerned about the RNG producing repeated numbers in such a
short amount of time, since this seems to point to a lack of entropy
that might have negative consequences on cipher algorithms.

Our Trac server is running on an OpenVZ virtual server. Our software
setup includes:

- CentOS 5, both in the virtual and the hardware server.
- Kernel  2.6.18-92.1.13.el5.028stab059.6
- httpd-2.2.3-11.el5_1.centos.3
- trac-0.11.1-1.el5.rf

In order to help us tracking down the responsible of this lack of
entropy we would be interested to know of other users who might be
experiencing a similar condition and what is their software setup.

Kind regards,

L

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.

Joachim Langenbach | 7 Feb 16:30
Picon
Favicon

[Trac] More than one stats_provider for Roadmap and milestones

Hello!

I'm developing a plugin which implements another progressbar view of a 
milestone. But I want to have the normal ticket count progressbar 
(DefaultGroupStatsProvider) too. Is it possible to enable to providers in 
trac.ini or is it possible to return more than one stat object out of the "def 
get_ticket_group_stats(self, ticket_ids)" function.

I'm grateful for any hints!

Yours' sincerely,

Joachim Langenbach
lynda | 5 Feb 22:49
Picon

[Trac] can't copy 'tracspamfilter\templates\_svn': doesn't exist or not a regular file

I am trying to install tracspamfilter, I was thinking to make an .egg
file first, then use trac admin panel to install the .egg file.
When I use command python.exe setup.py bdist, I got this error:
 can't copy 'tracspamfilter\templates\_svn': doesn't exist or not a
regular file
How to resolve this problem?
Thank you very much!
Lynda

--

-- 
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@...
To unsubscribe from this group, send email to trac-users+unsubscribe@...
For more options, visit this group at http://groups.google.com/group/trac-users?hl=en.


Gmane