RE: [Trac] Re: Account Manager Plugin

2017-07-17 Thread David Johnstone
Ryan,

Working now.

Thank you for your help
Cheers,
David J.

From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of RjOllos
Sent: Tuesday, 18 July 2017 9:02 AM
To: Trac Users
Subject: Re: [Trac] Re: Account Manager Plugin



On Monday, July 17, 2017 at 4:31:23 AM UTC-7, david.johnstone wrote:
Ryan,

I have changed the trac logging to DEBUG.  Below are the last few lines of the 
log file.  The log is from running tracd.  Get the same result when using 
Apache.  Tracd is on port 8080 and Apache is on port 80

Full log file is attached.

2017-07-17 21:19:23,313 Trac[main] DEBUG: Dispatching 
2017-07-17 21:19:23,328 Trac[main] DEBUG: Chosen handler is None
2017-07-17 21:19:23,328 Trac[session] DEBUG: Retrieving session for ID u'david'
2017-07-17 21:19:23,328 Trac[chrome] DEBUG: Prepare chrome data for request
2017-07-17 21:19:23,345 Trac[main] WARNING: [172.16.12.197] HTTPNotFound: 404 
Not Found (No handler matched request to /login), , referrer 'http://win-trac-2.locata.com:8080/trac'

Cheers,
David J.


From: trac-users@googlegroups.com 
[mailto:trac-users@googlegroups.com] On 
Behalf Of RjOllos
Sent: Monday, 17 July 2017 3:55 PM
To: Trac Users
Subject: Re: [Trac] Re: Account Manager Plugin



On Sunday, July 16, 2017 at 9:49:55 PM UTC-7, david.johnstone wrote:
Ryan,

Have installed r16714 and now get a message “No handler matched request to 
/login”.

The line in the trac log file is.
2017-07-17 14:44:59,489 Trac[main] WARNING: [172.16.12.197] HTTPNotFound: 404 
Not Found (No handler matched request to /login), , referrer 'http://win-trac-2.locata.com:8080/trac'

Cheers,
David J.

You also need the following in your [components] section:
trac.web.auth.loginmodule = disabled

I'll update the CookBook wiki page.

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

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


Re: [Trac] Account Manager Plugin

2017-07-17 Thread RjOllos


On Monday, July 17, 2017 at 7:31:47 AM UTC-7, hasienda wrote:
>
> acct_mgr.pwhash.* = enabled
>
> should get you started, until you understand more acctmgr internals.
> Bzw, you shouldn't start using md5 hashes but daher use sha256, if there 
> no very good reason against it.
>
> Greetings,
>
> Steffen Hoffmann
>

Hi Steffen,

He copied that from the CookBook for HtPasswd:
https://trac-hacks.org/wiki/CookBook/AccountManagerPluginConfiguration#HtPasswdStore

Should we change that from "md5" to "sha256"?

- Ryan
 

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


Re: [Trac] Re: Account Manager Plugin

2017-07-17 Thread RjOllos


On Monday, July 17, 2017 at 4:31:23 AM UTC-7, david.johnstone wrote:
>
> Ryan,
>
>  
>
> I have changed the trac logging to DEBUG.  Below are the last few lines of 
> the log file.  The log is from running tracd.  Get the same result when 
> using Apache.  Tracd is on port 8080 and Apache is on port 80
>
>  
>
> Full log file is attached.
>
>  
>
> 2017-07-17 21:19:23,313 Trac[main] DEBUG: Dispatching  "GET '/login'">
>
> 2017-07-17 21:19:23,328 Trac[main] DEBUG: Chosen handler is None
>
> 2017-07-17 21:19:23,328 Trac[session] DEBUG: Retrieving session for ID 
> u'david'
>
> 2017-07-17 21:19:23,328 Trac[chrome] DEBUG: Prepare chrome data for request
>
> 2017-07-17 21:19:23,345 Trac[main] WARNING: [172.16.12.197] HTTPNotFound: 
> 404 Not Found (No handler matched request to /login),  "GET '/login'">, referrer 'http://win-trac-2.locata.com:8080/trac'
>
>  
>
> Cheers,
>
> David J.
>
>  
>
>  
>
> *From:* trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] *On 
> Behalf Of *RjOllos
> *Sent:* Monday, 17 July 2017 3:55 PM
> *To:* Trac Users
> *Subject:* Re: [Trac] Re: Account Manager Plugin
>
>  
>
>
>
> On Sunday, July 16, 2017 at 9:49:55 PM UTC-7, david.johnstone wrote:
>
> Ryan,
>
>  
>
> Have installed r16714 and now get a message “No handler matched request to 
> /login”.
>
>  
>
> The line in the trac log file is.
>
> 2017-07-17 14:44:59,489 Trac[main] WARNING: [172.16.12.197] HTTPNotFound: 
> 404 Not Found (No handler matched request to /login),  "GET '/login'">, referrer 'http://win-trac-2.locata.com:8080/trac'
>
>  
>
> Cheers,
>
> David J.
>

You also need the following in your [components] section:
trac.web.auth.loginmodule = disabled

I'll update the CookBook wiki page.

- Ryan 

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


Re: [Trac] Re: TRACTICKETSTATS plugin

2017-07-17 Thread RjOllos


On Monday, July 17, 2017 at 1:17:05 AM UTC-7, toto200891 wrote:
>
>
>
> On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:
>>
>> On Thu, Jul 13, 2017 at 11:33 PM, toto200891  
>> wrote: 
>> > I am sorry, here it is. 
>>
>> Thanks. It seems to be normal. 
>>
>> Please check the following. 
>>
>> 1. If [ticketstats] yui_base_url is configured, remove the option from 
>> your trac.ini. 
>>
>> I removed [ticketstats] section from trac.ini file  
>
> 2. Visit /ticketstats page, view source of the page, and confirm the 
>> page has "//
>> cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".
>>  
>>
>>
>
> Both the pages are accessible via browser. But still I don't see any 
> plots. Any other method troubleshoot it? 
>

Right click on page and "view source". The source will open in another tag. 
Please search that page for "yahoo-dom-event.js" and copy the entire line 
containing that string.

- Ryan

 

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


Re: [Trac] Account Manager Plugin

2017-07-17 Thread Steffen Hoffmann
acct_mgr.pwhash.* = enabled

should get you started, until you understand more acctmgr internals.
Bzw, you shouldn't start using md5 hashes but daher use sha256, if there no 
very good reason against it.

Greetings,

Steffen Hoffmann
-- 
Diese Nachricht wurde von meinem Android-Mobiltelefon mit K-9 Mail gesendet.

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


RE: [Trac] Re: Account Manager Plugin

2017-07-17 Thread David Johnstone
Ryan,

I have changed the trac logging to DEBUG.  Below are the last few lines of the 
log file.  The log is from running tracd.  Get the same result when using 
Apache.  Tracd is on port 8080 and Apache is on port 80

Full log file is attached.

2017-07-17 21:19:23,313 Trac[main] DEBUG: Dispatching 
2017-07-17 21:19:23,328 Trac[main] DEBUG: Chosen handler is None
2017-07-17 21:19:23,328 Trac[session] DEBUG: Retrieving session for ID u'david'
2017-07-17 21:19:23,328 Trac[chrome] DEBUG: Prepare chrome data for request
2017-07-17 21:19:23,345 Trac[main] WARNING: [172.16.12.197] HTTPNotFound: 404 
Not Found (No handler matched request to /login), , referrer 'http://win-trac-2.locata.com:8080/trac'

Cheers,
David J.


From: trac-users@googlegroups.com [mailto:trac-users@googlegroups.com] On 
Behalf Of RjOllos
Sent: Monday, 17 July 2017 3:55 PM
To: Trac Users
Subject: Re: [Trac] Re: Account Manager Plugin



On Sunday, July 16, 2017 at 9:49:55 PM UTC-7, david.johnstone wrote:
Ryan,

Have installed r16714 and now get a message “No handler matched request to 
/login”.

The line in the trac log file is.
2017-07-17 14:44:59,489 Trac[main] WARNING: [172.16.12.197] HTTPNotFound: 404 
Not Found (No handler matched request to /login), , referrer 'http://win-trac-2.locata.com:8080/trac'

Cheers,
David J.

There should also be a traceback during environment load that indicated why the 
Component is not activated. You can force an environment load by restarting 
your web server and making a single request. You may want to set the log level 
to DEBUG.

- Ryan

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

-- 
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.log
Description: trac.log


Re: [Trac] Re: TRACTICKETSTATS plugin

2017-07-17 Thread toto200891


On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:
>
> On Thu, Jul 13, 2017 at 11:33 PM, toto200891  > wrote: 
> > I am sorry, here it is. 
>
> Thanks. It seems to be normal. 
>
> Please check the following. 
>
> 1. If [ticketstats] yui_base_url is configured, remove the option from 
> your trac.ini. 
>
> 2. Visit /ticketstats page, view source of the page, and confirm the 
> page has "//
> cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".
>  
>
>
> 3. Make sure your browser can access 
>
> http://cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js.
>  
>
> If it cannot, your browser configuration and/or your network is wrong. 


The browser console says that there is an uncaught error in line 37 of the 
source code "ticketstats". I have attached the screenshots of it, please 
find the same.

Regards,
SF 

>
> -- 
> Jun Omae  (大前 潤) 
>

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


Re: [Trac] Re: TRACTICKETSTATS plugin

2017-07-17 Thread toto200891


On Thursday, July 13, 2017 at 9:43:18 PM UTC+2, Jun Omae wrote:
>
> On Thu, Jul 13, 2017 at 11:33 PM, toto200891  > wrote: 
> > I am sorry, here it is. 
>
> Thanks. It seems to be normal. 
>
> Please check the following. 
>
> 1. If [ticketstats] yui_base_url is configured, remove the option from 
> your trac.ini. 
>
> I removed [ticketstats] section from trac.ini file  

2. Visit /ticketstats page, view source of the page, and confirm the 
> page has "//
> cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js".
>  
>
>
> 3. Make sure your browser can access 
>
> http://cdnjs.cloudflare.com/ajax/libs/yui/2.9.0//yahoo-dom-event/yahoo-dom-event.js.
>  
>
> If it cannot, your browser configuration and/or your network is wrong. 
>

Both the pages are accessible via browser. But still I don't see any plots. 
Any other method troubleshoot it? 

>
> -- 
> Jun Omae  (大前 潤) 
>

Regards,

SF 

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