Reporter Field

74 views
Skip to first unread message

Ales

unread,
Sep 28, 2010, 3:31:10 AM9/28/10
to Trac Users
Hi,

I've installed Trac with Bitnami package that means that I'm using now
version 0.11.6. My problem is that I want to hide Reporter field from
new ticket. To hide owner I’m using simpleticket plugin but this one
doesn't work for reporter field. I'm a total beginner, just installed
Trac for a first time two days ago, so please be concrete with
explanation. Any help would be appreciated, thanx.

Best regards
Aleš

Erik Andersson

unread,
Sep 28, 2010, 3:51:11 AM9/28/10
to trac-...@googlegroups.com
Have you looked at: http://trac-hacks.org/wiki/BlackMagicTicketTweaksPlugin?

Cheers / Erik


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


Ales

unread,
Sep 28, 2010, 5:42:24 AM9/28/10
to Trac Users
Hi,

thank you very much for fast reply. According to description this is
exactly what I need. I tried to install it but so far it is not
working. I've done it with phython install (download source) and it
was successful. In trac.ini file I've written these values:

[components]
blackmagic.* = enabled

[blackmagic]
tweaks = priority, reporter, owner
priority.permission = TRAC_ADMIN
reporter.hide = true
owner.hide = true

I have also tried to install the plugin, one more time, through
WebAdmin but there I receive message that "Plugin
BlackMagicTicketTweaks-0.11r1-py2.5.egg already installed". So
although that plugin is successfully installed and in trac.ini I have
all the entries that should be there, the fields are still active.
Plugin is also registered in easy-install.pth file in Phyton/Lib/site-
packages folder. Any suggestion?

Thanx

Cheers
Ales
> > trac-users+...@googlegroups.com<trac-users%2Bunsubscribe@googlegrou­ps.com>
> > .
> > For more options, visit this group at
> >http://groups.google.com/group/trac-users?hl=en.- Skrij navedeno besedilo -
>
> - Prikaži citirano besedilo -

Itamar O

unread,
Sep 28, 2010, 6:15:44 AM9/28/10
to trac-...@googlegroups.com
2010/9/28 Ales <ales....@pmone.com>

Hi,

thank you very much for fast reply. According to description this is
exactly what I need. I tried to install it but so far it is not
working. I've done it with phython install (download source) and it
was successful. In trac.ini file I've written these values:

[components]
blackmagic.* = enabled

[blackmagic]
tweaks = priority, reporter, owner
priority.permission = TRAC_ADMIN
reporter.hide = true
owner.hide = true

I have also tried to install the plugin, one more time, through
WebAdmin but there I receive message that "Plugin
BlackMagicTicketTweaks-0.11r1-py2.5.egg already installed". So
although that plugin is successfully installed and in trac.ini I have
all the entries that should be there, the fields are still active.
Plugin is also registered in easy-install.pth file in Phyton/Lib/site-
packages folder.  Any suggestion?

Thanx

Cheers
Ales

Might be a long shot, but have you restarted the web server / Trac daemon?
If that's not it, try setting the log to "debug" and see if it gives you anything useful.

Ales

unread,
Sep 28, 2010, 6:47:49 AM9/28/10
to Trac Users
Hi,

more then ones, PC restart too. Nothing change. I have just installed
the same plugin on Trac 0.12 (manually installed) and it is the same
thing. Log folder is empty in projenv, Apache Logs shows no errors
connected to this plugin.

Cheers
Ales

On 28 sep., 12:15, Itamar O <itamar...@gmail.com> wrote:
> 2010/9/28 Ales <ales.bom...@pmone.com>
> anything useful.- Skrij navedeno besedilo -

Itamar O

unread,
Sep 28, 2010, 7:42:29 AM9/28/10
to trac-...@googlegroups.com
On Tue, Sep 28, 2010 at 12:47 PM, Ales <ales....@pmone.com> wrote:
Hi,

more then ones, PC restart too. Nothing change. I have just installed
the same plugin on Trac 0.12 (manually installed) and it is the same
thing. Log folder is empty in projenv, Apache Logs shows no errors
connected to this plugin.

Cheers
Ales


It's not reasonable that the log folder is empty if set to debug.
Make sure the trac.conf has this section:
[logging]
log_file = trac.log
log_level = DEBUG
log_type = file

Itamar O

unread,
Sep 28, 2010, 7:42:39 AM9/28/10
to trac-...@googlegroups.com
On Tue, Sep 28, 2010 at 12:47 PM, Ales <ales....@pmone.com> wrote:
Hi,

more then ones, PC restart too. Nothing change. I have just installed
the same plugin on Trac 0.12 (manually installed) and it is the same
thing. Log folder is empty in projenv, Apache Logs shows no errors
connected to this plugin.

Cheers
Ales

Erik Andersson

unread,
Sep 28, 2010, 8:08:16 AM9/28/10
to trac-...@googlegroups.com
And do check in the logs that the plugin is loading/loaded.

Cheers / Erik 

--
You received this message because you are subscribed to the Google Groups "Trac Users" group.
To post to this group, send email to trac-...@googlegroups.com.
To unsubscribe from this group, send email to trac-users+...@googlegroups.com.

Ales

unread,
Sep 28, 2010, 11:13:19 AM9/28/10
to Trac Users
Thanx guys,

you are really helpful. I have had a misspelling in log_type.

Plugin is loading

“2010-09-28 16:23:29,516 Trac[loader] DEBUG: Adding plugin
BlackMagicTicketTweaks 0.11r1 from c:\users\meki\bitnami trac stack
projects\pmone\plugins\blackmagictickettweaks-0.11r1-py2.5.egg”
“2010-09-28 16:23:30,348 Trac[loader] DEBUG: Loading blackmagic from c:
\users\meki\bitnami trac stack projects\pmone\plugins
\blackmagictickettweaks-0.11r1-py2.5.egg”

But there is an error with a module

“2010-09-28 16:23:30,352 Trac[loader] ERROR: Skipping "blackmagic =
blackmagic": (can't import "ImportError: No module named blackmagic")”

It seems like that I have to change something in _ini_file?

Cheers
Ales


On 28 sep., 14:08, Erik Andersson <kir...@gmail.com> wrote:
> On Tue, Sep 28, 2010 at 1:42 PM, Itamar O <itamar...@gmail.com> wrote:
> > On Tue, Sep 28, 2010 at 12:47 PM, Ales <ales.bom...@pmone.com> wrote:
>
> >> Hi,
>
> >> more then ones, PC restart too. Nothing change. I have just installed
> >> the same plugin on Trac 0.12 (manually installed) and it is the same
> >> thing. Log folder is empty in projenv, Apache Logs shows no errors
> >> connected to this plugin.
>
> >> Cheers
> >> Ales
>
> > It's not reasonable that the log folder is empty if set to debug.
> > Make sure the trac.conf has this section:
> > [logging]
> > log_file = trac.log
> > log_level = DEBUG
> > log_type = file
>
> And do check in the logs that the plugin is loading/loaded.
>
> Cheers / Erik
>
> >  --
> > You received this message because you are subscribed to the Google Groups
> > "Trac Users" group.
> > To post to this group, send email to trac-...@googlegroups.com.
> > To unsubscribe from this group, send email to
> > trac-users+...@googlegroups.com<trac-users%2Bunsu...@googlegroups.com>
> > .

Itamar O

unread,
Sep 28, 2010, 12:45:17 PM9/28/10
to trac-...@googlegroups.com
On Tue, Sep 28, 2010 at 5:13 PM, Ales <ales....@pmone.com> wrote:
Thanx guys,

you are really helpful. I have had a misspelling in log_type.

Plugin is loading

“2010-09-28 16:23:29,516 Trac[loader] DEBUG: Adding plugin
BlackMagicTicketTweaks 0.11r1 from c:\users\meki\bitnami trac stack
projects\pmone\plugins\blackmagictickettweaks-0.11r1-py2.5.egg”
“2010-09-28 16:23:30,348 Trac[loader] DEBUG: Loading blackmagic from c:
\users\meki\bitnami trac stack projects\pmone\plugins
\blackmagictickettweaks-0.11r1-py2.5.egg”

But there is an error with a module

“2010-09-28 16:23:30,352 Trac[loader] ERROR: Skipping "blackmagic =
blackmagic": (can't import "ImportError: No module named blackmagic")”

It seems like that I have to change something in _ini_file?

Cheers
Ales


I am not familiar with the Bitnami packages,
so it might be related somehow to this...
For instance, does this package comes with its own Python interpreter?
If so, maybe you installed the plugin using system-python, which is not compatible with the Bitnami one.

I'd try to launch an interactive Python session using the same interpreter used to serve Trac and see if I can "import blackmagic".

Ales

unread,
Sep 29, 2010, 2:17:24 AM9/29/10
to Trac Users
I don't think that it has something to do with Bitnami package, I get
the same error with Trac 0.12, which I've installed manually. We'll
see. Thanx


On Sep 28, 6:45 pm, Itamar O <itamar...@gmail.com> wrote:

victoria

unread,
Oct 4, 2010, 7:03:31 AM10/4/10
to trac-...@googlegroups.com
Hi Alex,

In the case of the BitNami package it is possible that you will need
to execute an additional step. Please check the section "8.3.1
Installing Trac plugins and Python eggs - NOTE FOR WINDOWS USERS" in
the README file:
http://bitnami.org/files/stacks/trac/0.11.6-1/README.txt. However if
this happens also with Trac 0.12 maybe this is a different issue.

Cheers,

Victoria.

> --
> You received this message because you are subscribed to the Google Groups "Trac Users" group.
> To post to this group, send email to trac-...@googlegroups.com.

> To unsubscribe from this group, send email to trac-users+...@googlegroups.com.

Ryan J Ollos

unread,
Oct 4, 2010, 2:22:16 PM10/4/10
to trac-...@googlegroups.com

Ales-9 wrote:
>
> Hi,
>
> I've installed Trac with Bitnami package that means that I'm using now
> version 0.11.6. My problem is that I want to hide Reporter field from
> new ticket.
>

Do you only want to hide the Reporter field on the /newticket page? If that
is all you want to do, you may just need to remove some permissions. If the
reporter has only TICKET_CREATE and TICKET_VIEW permissions, the reporter
field will not appear on the /newticket page.

On the other hand, if you want to hide the Reporter field in the ticket
header for a `newly created ticket`, that will require more work (as
described by others in this thread).

--
View this message in context: http://old.nabble.com/Reporter-Field-tp29826065p29880762.html
Sent from the Trac Users mailing list archive at Nabble.com.

Ales Bombek

unread,
Nov 7, 2010, 5:24:20 AM11/7/10
to trac-...@googlegroups.com
Hi,

a little late reply. :)

I have tried everything. I've installed new Bitnami package, installed Blackmagic manualy and through Admin. Enable it in .ini, used .bat file as suggested in your reply, I have also manualy copied Lib folder into Apache. No success.

I still get an error in log file:

"Trac[loader] ERROR: Skipping "blackmagic = blackmagic": (can't import "ImportError: No module named blackmagic")"

Why it has to be so complicated just to remove one field out of a Form!? Is there an option to simple disable individual field in .ini?

Thanx
Ales
________________________________________
From: trac-...@googlegroups.com [trac-...@googlegroups.com] on behalf of victoria [ka...@bitrock.com]
Sent: Monday, October 04, 2010 1:03 PM
To: trac-...@googlegroups.com
Subject: Re: [Trac] Re: Reporter Field

Reply all
Reply to author
Forward
0 new messages