Mo | 30 Jun 09:29 2016
Picon

[Trac] Custom ticket field for users list

Hi,

as usually many people are working on tickets simultaniously we planned to manage ticket status like...

Test:
Review:
Documentation:

...not with the workflow admin and single ticket status, but as custom fields. Those custom fields fields are of tye 'select' with values like
|? : required|+ : passed|- : failed

That means the status flags can be set independently. Later we could add restrictions that the main status can only be closed after all sub status are + or something like that.
Any idea about that first?

Next we would need to select a user for
Tester:
Reviewer:
Author:

Is there a custom ticket type for listing the users like the owner field does?

Best regards.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
esteban.schafir | 29 Jun 17:00 2016
Picon
Gravatar

[Trac] List all closed tickets with no owner assigned

Hi everyone,

I have a lot of closed tickets that have the owner field in blank. So what i want to know is who was the last user that modify each of those tickets, so i can assign them as "owners".
Is there a way to generate some kind of report for this? Im new with this tool, and im not familiarized with the query language yet.

Hope I made clear my problem.

Thanks in advance.

Esteban

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
RjOllos | 29 Jun 04:22 2016
Picon

[Trac] [Errno 24] Too many open files

This is a Trac with Nginx and fcgi configuration on Debian 8.5, which has always been problematic but has become very unstable over the past few days. I searched existing issues (1), but am currently out of ideas. Excerpt from log below, along with configuration.

Unfortunately I don't know Nginx or fcgi very well. I'm considering moving to Apache with mod_wsgi. Any hints about what the problem might be would be appreciated.

- Ryan







(1) https://trac.edgewall.org/search?q=%27too+many+open+files%27&noquickjump=1&ticket=on


2016-06-28 20:40:23,181 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/query?milestone=1.4.1&group=status&order=type&row=description'">, referrer None
Traceback (most recent call last):
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 562, in _dispatch_request
    dispatcher.dispatch(req)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 269, in dispatch
    iterable=chrome.use_chunked_encoding)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1114, in render_template
    encoding='utf-8')
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 184, in render
    return encode(generator, method=method, encoding=encoding, out=out)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/output.py", line 58, in encode
    for chunk in iterator:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/output.py", line 350, in __call__
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/output.py", line 829, in __call__
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/output.py", line 669, in __call__
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/output.py", line 774, in __call__
    for kind, data, pos in chain(stream, [(None, None, None)]):
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/output.py", line 594, in __call__
    for ev in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1320, in _strip_accesskeys
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/chrome.py", line 1309, in _generate
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/filters/transform.py", line 706, in _unmark
    for mark, event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/filters/transform.py", line 1101, in __call__
    for mark, event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/filters/transform.py", line 118, in __iter__
    event = self.stream.next()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/filters/transform.py", line 734, in __call__
    for mark, event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/filters/transform.py", line 702, in _mark
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 378, in _match
    ctxt, start=idx + 1, **vars):
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 378, in _match
    ctxt, start=idx + 1, **vars):
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 362, in _match
    content = list(content)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 326, in _match
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/path.py", line 588, in _generate
    subevent = next()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 558, in _flatten
    for kind, data, pos in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/core.py", line 289, in _ensure
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/path.py", line 588, in _generate
    subevent = next()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 618, in _include
    for event in stream:
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/markup.py", line 315, in _strip
    event = next()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 578, in _flatten
    result = _eval_expr(data, ctxt, vars)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/base.py", line 289, in _eval_expr
    retval = expr.evaluate(ctxt)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/genshi/template/eval.py", line 177, in evaluate
    return eval(self.code, _globals, {'__data__': data})
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/ticket/templates/query_results.html", line 112, in <Expression u'wiki_to_html(ticket_context, result[r])'>
    ${wiki_to_html(ticket_context, result[r])}
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1586, in format_to_html
    return HtmlFormatter(env, context, wikidom).generate(escape_newlines)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1541, in generate
    escape_newlines)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1323, in format
    result = re.sub(self.wikiparser.rules, self.replace, line)
  File "<obfuscated>/private/pve/lib/python2.7/re.py", line 155, in sub
    return _compile(pattern, flags).sub(repl, string, count)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1241, in replace
    replacement = self.handle_match(fullmatch)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/wiki/formatter.py", line 1234, in handle_match
    return external_handler(self, match, fullmatch)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 1040, in <lambda>
    y, z))
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/versioncontrol/web_ui/changeset.py", line 1072, in _format_changeset_link
    changeset = repos.get_changeset(rev)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/tracopt/versioncontrol/git/git_fs.py", line 85, in get_changeset
    return GitCachedChangeset(self, self.normalize_rev(rev), self.env)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/tracopt/versioncontrol/git/git_fs.py", line 56, in normalize_rev
    normrev = self.repos.git.verifyrev(rev)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/tracopt/versioncontrol/git/PyGIT.py", line 718, in verifyrev
    rc = self.repo.rev_parse('--verify', rev).strip()
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/tracopt/versioncontrol/git/PyGIT.py", line 140, in __execute
    p = self.__pipe(git_cmd, stdout=PIPE, stderr=PIPE, *cmd_args)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/tracopt/versioncontrol/git/PyGIT.py", line 133, in __pipe
    close_fds=close_fds, **kw)
  File "/usr/lib/python2.7/subprocess.py", line 702, in __init__
    errread, errwrite), to_close = self._get_handles(stdin, stdout, stderr)
  File "/usr/lib/python2.7/subprocess.py", line 1141, in _get_handles
    errread, errwrite = self.pipe_cloexec()
  File "/usr/lib/python2.7/subprocess.py", line 1175, in pipe_cloexec
    r, w = os.pipe()
OSError: [Errno 24] Too many open files
2016-06-28 20:40:23,400 Trac[main] ERROR: Internal Server Error: <RequestWithSession "GET '/ticket/3048'">, referrer '<obfuscated>'
Traceback (most recent call last):
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 562, in _dispatch_request
    dispatcher.dispatch(req)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/web/main.py", line 249, in dispatch
    resp = chosen_handler.process_request(req)
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 181, in process_request
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/ticket/web_ui.py", line 533, in _process_ticket_request
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/ticket/model.py", line 71, in __init__
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/ticket/api.py", line 281, in get_ticket_fields
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/util/translation.py", line 202, in gettext
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/util/translation.py", line 182, in isactive
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/util/translation.py", line 148, in activate
  File "<obfuscated>/private/pve/local/lib/python2.7/site-packages/babel/support.py", line 562, in load
IOError: [Errno 24] Too many open files: '<obfuscated>/private/pve/local/lib/python2.7/site-packages/trac/locale/en_US/LC_MESSAGES/messages.mo'

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Mingxing Tian | 15 Jun 05:01 2016

[Trac] How squared which shows the team's Avatar

{{{#!box type=normal align=right width=275
[[Include(UserManagerPluginPictures)]]
}}}

I want the code above to show team members head out in a squared inside, but the strange thing is that I get a wrong result.


--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Mingxing Tian | 14 Jun 09:37 2016

[Trac] HTTPNotFound: 404 Not Found (File default-portrait.gif not found)

2016-06-14 15:33:38,813 Trac[chrome] WARNING: File userpictures.css not found in any of ['/usr/lib/python2.6/site-packages/trac_UserPicturesPlugin-0.1.1-py2.6.egg/userpictures/htdocs']
2016-06-14 15:33:38,824 Trac[main] WARNING: [192.168.1.50] HTTPNotFound: 404 Not Found (File userpictures.css not found)


After installing UserPicture Plugin emergence of this issue,On the browser window F12 debugging found the following error

http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css Failed to load resource: the server responded with a status of 404 (Not Found)
http://trac.idouzi.com/trac/idouzi/chrome/userpictures/default-portrait.gif Failed to load resource: the server responded with a status of 404 (Not Found)
http://trac.idouzi.com/trac/idouzi/chrome/userpictures/userpictures.css Failed to load resource: the server responded with a status of 404 (Not Found)

This seems to be some static resource is not found, what should I do?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
'Andy' via Trac Users | 13 Jun 17:22 2016

https://trac-hacks.org/wiki/TagsPlugin Trac 1.0.1 ?

I've used TagPublicPlugin in a previous Trac and wanted to use the same functionality in my new Trac (Bitnami Trac 1.0.1).

The TagPublicPlugin page says it has been deprecated by the TagsPolicy of TapsPlugin.

The latter *seems* to refer to the possibility of adding/removing permissions from a page using the plugin, but I can't see an actual example of doing this.

In my case we have a 'public' Trac that we want third-parties to access to raise tickets - they will need to be authenticated and *generally* they shouldn't see any other part of Trac. However, there are a number of wiki pages that we might want to make available e.g. the landing page, instructions, etc. I hoped to be able to achieve this by 'giving' wiki_view privilege to authenticated users on certain pages through the tagging system.

I've looked for a wiki/howto but other than a reference to a discussion list that I couldn't find I've been unable to find any further information.

Has anyone done this? If so, how?

Thanks,

--
Andy

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Aikido Guy | 10 Jun 16:36 2016
Picon
Gravatar

[Trac] Sign an outgoing email from Trac?

Hi all!

I searched trac-hacks and google and tried to find out if it is possible to sign (e.g. https://www.gnupg.org/gph/en/manual/x135.html) an outgoing email from Trac. Not much luck.

Any ideas for how to configure this on a linux system?

Kindly,
Aikido Guy

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Mingxing Tian | 8 Jun 09:44 2016

[Trac] Support <at> project team members and automatically send mail to him?

I would like to comment on the task <at> inside a member, after the submission of the evaluation can be automatically e-mail notice to the other to focus on this task. There are related plug-ins to support my needs?
This feature on social platforms is essential function, I think it is very easy to use, because you can not attribute this task to remind people to pay attention. Even if he is not the task of reporting person or the executor.

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Mingxing Tian | 6 Jun 11:06 2016

[Trac] How to support HTML-formatted e-mail content

Default supports only plain text messages, but this style is ugly, I want to use HTML module to send e-mail, ask how to achieve?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Mingxing Tian | 6 Jun 10:01 2016

[Trac] WARNING: ResetPwStore is disabled, therefore password reset won't work.

2016-06-06 15:57:35,266 Trac[web_ui] WARNING: ResetPwStore is disabled, therefore password reset won't work.

I checked the options, it's really opened. I do not know if this is a false positive?

acct_mgr.web_ui.* = enabled
acct_mgr.web_ui.loginmodule = enabled
acct_mgr.web_ui.resetpwstore = enabled

Package版本TracBabelGenshiGITmod_wsgiMySQLMySQLdbPygmentsPythonpytzRPCsetuptoolsSubversionjQueryjQuery UIjQuery Timepicker
1.0.11
2.3.4
0.7 (without speedups)
1.7.1
3.2 (WSGIProcessGroup WSGIApplicationGroup %{GLOBAL})
server: "5.5.49-log", client: "5.1.73", thread-safe: 1
1.2.3c1
2.1.3
2.6.6 (r266:84292, Jul 23 2015, 15:22:56) [GCC 4.4.7 20120313 (Red Hat 4.4.7-11)]
2016.4
1.1.5
21.2.0
1.6.11 (r934486)
1.7.2
1.8.21
1.0.1


--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.
Mingxing Tian | 6 Jun 05:08 2016

[Trac] File images/ui-bg_flat_75_ffffff_40x100.png not found

2016-06-06 10:44:16,461 Trac[chrome] WARNING: File images/ui-bg_flat_75_ffffff_40x100.png not found in any of ['/home/projects/xxx/.egg-cache/TracMindMapMacro-0.4-py2.6.egg-tmp/tracmindmap/htdocs']

Although only a warning, but I still want to find out in the end what is the reason?

--
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+unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
To post to this group, send email to trac-users-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org.
Visit this group at https://groups.google.com/group/trac-users.
For more options, visit https://groups.google.com/d/optout.

Gmane