Discussion:
[Trac-dev] Running trac-admin in debugging/verbose mode
Emerson Castañeda
2017-06-05 12:11:07 UTC
Permalink
Hi


I've modified the setup process for a plugin and now getting a error
message during trac-admin <env> upgrade command that does not drive me
clearly to the especific issue. Additionally in trac's log is nothing
referent to the error, it's there something else i need to activate?

I would like to know if there is a way to run trac-admin in debugging mode
or activate it to be more verbose in order to generate more debugging
information, I have reviewed the available options without success

Thanks for your time.

Regards

MC
--
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.
RjOllos
2017-06-05 12:38:48 UTC
Permalink
Post by Emerson Castañeda
Hi
I've modified the setup process for a plugin and now getting a error
message during trac-admin <env> upgrade command that does not drive me
clearly to the especific issue.
What error message you getting?
Post by Emerson Castañeda
Additionally in trac's log is nothing referent to the error, it's there
something else i need to activate?
I would like to know if there is a way to run trac-admin in debugging mode
or activate it to be more verbose in order to generate more debugging
information, I have reviewed the available options without success
You could use:
[logging]
log_type = stderr
log_level = DEBUG

so that the output is sent to the terminal.

Did you install the plugin and Trac in debug (editable) mode?
https://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup#DownloadTrac

Beyond that, you might want to use the python debugger, which can be easier
if you're using an IDE like pydev or pycharm. However, I'd first want to
take a look at the error message and see if we can narrow in on the issue
by using debug print statements.

- Ryan
--
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.
Emerson Castañeda
2017-06-05 18:11:43 UTC
Permalink
Thanks

it's working perfect now, I did not have ` log_type = stderr` option .

The message was about an index out of range , but now that I can see the
full trace I have been able to detect and fix the issue.
Post by RjOllos
Post by Emerson Castañeda
Hi
I've modified the setup process for a plugin and now getting a error
message during trac-admin <env> upgrade command that does not drive me
clearly to the especific issue.
What error message you getting?
Post by Emerson Castañeda
Additionally in trac's log is nothing referent to the error, it's there
something else i need to activate?
I would like to know if there is a way to run trac-admin in debugging
mode or activate it to be more verbose in order to generate more debugging
information, I have reviewed the available options without success
[logging]
log_type = stderr
log_level = DEBUG
so that the output is sent to the terminal.
Did you install the plugin and Trac in debug (editable) mode?
https://trac.edgewall.org/wiki/TracDev/DevelopmentEnvironmentSetup#
DownloadTrac
Beyond that, you might want to use the python debugger, which can be
easier if you're using an IDE like pydev or pycharm. However, I'd first
want to take a look at the error message and see if we can narrow in on the
issue by using debug print statements.
- Ryan
--
You received this message because you are subscribed to the Google Groups
"Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "Trac Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email to trac-dev+***@googlegroups.com.
To post to this group, send email to trac-***@googlegroups.com.
Visit this group at https://groups.google.com/group/trac-dev.
For more options, visit https://groups.google.com/d/optout.
Loading...