Login | Register For Free | Help
Search for: (Advanced)

Mailing List Archive: Trac: Users

Re: TracError: error: [Errno 2] No such file or directory [SOLVED]

 

 

Trac users RSS feed   Index | Next | Previous | View Threaded


abdulrazaq at gmail

Jul 19, 2012, 1:01 AM

Post #1 of 3 (306 views)
Permalink
Re: TracError: error: [Errno 2] No such file or directory [SOLVED]

On Thursday, July 19, 2012 9:46:02 AM UTC+8, ali wrote:
>
>
>
> On Tuesday, July 17, 2012 2:51:47 PM UTC+8, ali wrote:
>>
>>
>> On Tuesday, July 17, 2012 12:53:09 PM UTC+8, ali wrote:
>>>
>>> Hi Folks,
>>>
>>> I have configured trac (trac-admin version 0.12.3) from last few months
>>> and everything was just great until yesterday. I have no idea whats
>>> happening, I did try to set the log_level = INFO or DEBUG and log_type =
>>> syslog in trac.ini but no luck. I don't see anything in error logs. I have
>>> also tried to disable plugins under [components] but again not a chance.
>>>
>>> I do see complaints from Apache regarding to python binding but I
>>> suppose that should be fine as I haven't made any updates.
>>>
>>> Below is the exact error I see form browser:
>>>
>>> "Error
>>>
>>> TracError: error: [Errno 2] No such file or directory "
>>>
>>>
>>> Any thoughts? Is it something went wrong with env during system restart?
>>>
>>> regards,
>>>
>>> ali
>>>
>>
>> Even, I try to execute this "trac-admin /usr/trac/ repository list" in
>> tracevn directory I get the same error.
>>
>
>
> No luck so far.
>
> Is it possible to create a new trac env and then replace it with existing
> directory?
>

After couple of stressful hours I mange to make it work. I have no idea
what went wrong.

The base trac directory is /usr/trace/dev but somehow its broken. I created
a new env and replaced trac.ini form broken trac.

So here is the quick ugly fix:

0) trac-admin /usr/trac/dev_patch initenv

1) cp /usr/trac/dev/conf/trac.ini /usr/trac/dev_patch/conf/trac.ini

2) tracd --port 8001 usr/trac/dev_patch

If it does not work then try to enable stderr in trac.ini and try again.
This works with tracd.

In order to make it work with apache modify the below file and update
directory path.

3) nano /etc/apache2/sites-enabled/trac


regards,
ali

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


ryano at physiosonics

Jul 19, 2012, 1:31 PM

Post #2 of 3 (288 views)
Permalink
Re: TracError: error: [Errno 2] No such file or directory [SOLVED] [In reply to]

It sounds like you might have a permissions problems on TRACENV or some
subdirectory.

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


abdulrazaq at gmail

Jul 19, 2012, 6:21 PM

Post #3 of 3 (286 views)
Permalink
Re: TracError: error: [Errno 2] No such file or directory [SOLVED] [In reply to]

On Friday, July 20, 2012 4:31:20 AM UTC+8, RjOllos wrote:
>
> It sounds like you might have a permissions problems on TRACENV or some
> subdirectory.
>

I doubt if thats the case, chmod-ed all the directories with full
read\write.

regards,
ali

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

Trac users RSS feed   Index | Next | Previous | View Threaded
 
 


Interested in having your list archived? Contact Gossamer Threads
 
  Web Applications & Managed Hosting Powered by Gossamer Threads Inc.