Re: [Trac] Debian 10 - Can 'browse' git repo but can't see files

2019-09-18 Thread RjOllos


On Tuesday, September 3, 2019 at 6:33:21 AM UTC-7, elacunza wrote:
>
> Hi Jun, 
>
> El 3/9/19 a las 15:24, Jun Omae escribió: 
> > Hi, 
> > 
> > On Fri, Aug 30, 2019 at 2:57 AM elacunza  wrote: 
> >> Hi all, 
> >> 
> >> We just updated a Debian 9 trac server to Debian 10, and are having 
> this issue. 
> >> 
> >> I've seen a previous report about this, but the server has no SELinux 
> nor logs any git error. 
> >> 
> >> Debian package reports 
> >> trac 1.2.3+dfsg-1 
> >> trac-git 0.12.0.5+722342e-1 
> > Try to uninstall trac-git package. The function has been integrated 
> > into Trac core since Trac 1.0. 
> > *) Once uninstalling the package, restart your web server. 
> Thanks a lot, this fixed the issue. :-) 
> Maybe debian trac package should conflict with old trac-git package :) 
>
> Regards 
> Eneko 
>

Looks like trac-git has been removed?: 
https://tracker.debian.org/pkg/trac-git

It looks like the package was once part of Debian. If that's the case, was 
the package carried forward as you upgraded Debian even though the package 
is removed from the distribution in 2014?:
https://tracker.debian.org/news/669236/removed-01205722342e-1-from-unstable/

- 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/3416154c-e245-4139-bd70-db8bd1f89c8e%40googlegroups.com.


Re: [Trac] Debian 10 - Can 'browse' git repo but can't see files

2019-09-03 Thread Eneko Lacunza

Hi Jun,

El 3/9/19 a las 15:24, Jun Omae escribió:

Hi,

On Fri, Aug 30, 2019 at 2:57 AM elacunza  wrote:

Hi all,

We just updated a Debian 9 trac server to Debian 10, and are having this issue.

I've seen a previous report about this, but the server has no SELinux nor logs 
any git error.

Debian package reports
trac 1.2.3+dfsg-1
trac-git 0.12.0.5+722342e-1

Try to uninstall trac-git package. The function has been integrated
into Trac core since Trac 1.0.
*) Once uninstalling the package, restart your web server.

Thanks a lot, this fixed the issue. :-)
Maybe debian trac package should conflict with old trac-git package :)

Regards
Eneko

--
Zuzendari Teknikoa / Director Técnico
Binovo IT Human Project, S.L.
Telf. 943569206
Astigarraga bidea 2, 2º izq. oficina 11; 20180 Oiartzun (Gipuzkoa)
www.binovo.es

--
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/5b89295c-cc57-7381-48f0-3d28084a06ca%40binovo.es.


Re: [Trac] Debian 10 - Can 'browse' git repo but can't see files

2019-09-03 Thread Jun Omae
Hi,

On Fri, Aug 30, 2019 at 2:57 AM elacunza  wrote:
>
> Hi all,
>
> We just updated a Debian 9 trac server to Debian 10, and are having this 
> issue.
>
> I've seen a previous report about this, but the server has no SELinux nor 
> logs any git error.
>
> Debian package reports
> trac 1.2.3+dfsg-1
> trac-git 0.12.0.5+722342e-1

Try to uninstall trac-git package. The function has been integrated
into Trac core since Trac 1.0.
*) Once uninstalling the package, restart your web server.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/trac-users/CAEVLMagudDjtBwMMhEk-5XR9m42Ooi4gwqSpbmS5BJ6p0%2BWbUg%40mail.gmail.com.


Re: [Trac] Debian 10 - Can 'browse' git repo but can't see files

2019-08-30 Thread Eneko Lacunza

Hi Jacques,

El 30/8/19 a las 9:39, 'J Cornily' via Trac Users escribió:

I'm not sure if it helps, but check your
path , ownership and access rights.
Selinux gave some headakes a while
ago, but if this not activated, that's
all I can think off


Thanks but they seem correct, and I don't know how would be possible to 
retrieve for example branch names if they wouldn't...


Cheers


Mfg
Jacques


Le jeu. 29 août 2019 19:57, elacunza > a écrit :


Hi all,

We just updated a Debian 9 trac server to Debian 10, and are
having this issue.

I've seen a previous report about this, but the server has no
SELinux nor logs any git error.

Debian package reports
trac 1.2.3+dfsg-1
trac-git 0.12.0.5+722342e-1

We have multiple trac instances, mostly with git repos but some
with subversion repos.

- Browsing subversion repos works right.
- Browsing git repos, shows repos list (if configured more than
one), branches and tags in "Visit" combo, "View changes..." button
shows changeset info (but no files info, says "No files") )and can
navigate throught changesets, timeline is also shown; no files nor
directories are shown ("No files found").

Git repos are local and bare. No caching was used but I tried
enabling caching and resyncing manually.

Sample log when entering main page of a repository (click on
repository name in Browse Source->repo list).

2019-08-29 09:40:12,779 Trac[main] DEBUG: Dispatching

2019-08-29 09:40:12,780 Trac[main] DEBUG: Chosen handler is

2019-08-29 09:40:12,781 Trac[PyGIT] DEBUG: PyGIT.Storage instance
140490301300240 constructed
2019-08-29 09:40:12,781 Trac[PyGIT] DEBUG: requested weak
PyGIT.Storage instance 140490301300240 for '/srv/git/odoo'
2019-08-29 09:40:12,781 Trac[git_fs] DEBUG: enabled
CachedRepository for '/srv/git/odoo'
2019-08-29 09:40:12,836 Trac[PyGIT] DEBUG: triggered rebuild of
commit tree db for 140490301300240
2019-08-29 09:40:12,959 Trac[PyGIT] DEBUG: rebuilt commit tree db
for 140490301300240 with 5180 entries (took 122.5 ms)
2019-08-29 09:40:12,959 Trac[cache] INFO: repos rev
[4e55ab0d0313918702a20cd4c43dd2bfa6ee795f] != cached rev
[f636bf562f64d92ca89aa9a5b45bef68737bb132] in 'default'
2019-08-29 09:40:13,013 Trac[api] INFO: Synchronized 'default'
repository in 0.23 seconds
2019-08-29 09:40:13,013 Trac[PyGIT] DEBUG: requested weak
PyGIT.Storage instance 140490301300240 for '/srv/git/odoo'
2019-08-29 09:40:13,013 Trac[git_fs] DEBUG: enabled
CachedRepository for '/srv/git/odoo'
2019-08-29 09:40:13,066 Trac[cache] INFO: repos rev
[4e55ab0d0313918702a20cd4c43dd2bfa6ee795f] != cached rev
[f636bf562f64d92ca89aa9a5b45bef68737bb132] in 'prueba'
2019-08-29 09:40:13,120 Trac[api] INFO: Synchronized 'prueba'
repository in 0.11 seconds
2019-08-29 09:40:13,121 Trac[session] DEBUG: Retrieving session
for ID u'elacunza'
2019-08-29 09:40:13,122 Trac[perm] DEBUG: DefaultPermissionPolicy
allows elacunza performing BROWSER_VIEW on 
2019-08-29 09:40:13,151 Trac[chrome] DEBUG: Prepare chrome data
for request
2019-08-29 09:40:13,153 Trac[main] DEBUG: Negotiated locale: None
-> en_US
2019-08-29 09:40:13,154 Trac[perm] DEBUG: DefaultPermissionPolicy
allows elacunza performing BROWSER_VIEW on 
[varius perm logs removed - all allows]
2019-08-29 09:40:13,161 Trac[perm] DEBUG: DefaultPermissionPolicy
allows elacunza performing VERSIONCONTROL_ADMIN on 
2019-08-29 09:40:13,162 Trac[perm] DEBUG: DefaultPermissionPolicy
allows elacunza performing SEARCH_VIEW on None
2019-08-29 09:40:13,162 Trac[perm] DEBUG: DefaultPermissionPolicy
allows elacunza performing ROADMAP_VIEW on None
2019-08-29 09:40:13,163 Trac[perm] DEBUG: DefaultPermissionPolicy
allows elacunza performing TIMELINE_VIEW on 
2019-08-29 09:40:13,164 Trac[main] DEBUG: Rendering response from
handler
2019-08-29 09:40:13,341 Trac[main] DEBUG: Dispatching

2019-08-29 09:40:13,342 Trac[main] DEBUG: Chosen handler is

2019-08-29 09:40:13,342 Trac[chrome] WARNING: File
your_project_logo.png not found in any of ['/srv/trac/odoo/htdocs']
2019-08-29 09:40:13,343 Trac[main] WARNING: [172.29.37.105]
HTTPNotFound: 404 Not Found (File your_project_logo.png not
found), , referrer
'https://intranet.binovo.es/odoo/browser/default'
2019-08-29 09:40:13,343 Trac[session] DEBUG: Retrieving session
for ID u'elacunza'
2019-08-29 09:40:13,344 Trac[main] DEBUG: Negotiated locale: None
-> en_US
2019-08-29 09:40:13,348 Trac[chrome] DEBUG: Prepare chrome data
for request
2019-08-29 09:40:13,349 Trac[PyGIT] DEBUG: PyGIT.Storage instance
140490335568656 constructed
2019-08-29 09:40:13,349 Trac[PyGIT] DEBUG: requested weak
PyGIT.Storage 

Re: [Trac] Debian 10 - Can 'browse' git repo but can't see files

2019-08-30 Thread 'J Cornily' via Trac Users
I'm not sure if it helps, but check your
path , ownership and access rights.
Selinux gave some headakes a while
ago, but if this not activated, that's
all I can think off
Mfg
Jacques


Le jeu. 29 août 2019 19:57, elacunza  a écrit :

> Hi all,
>
> We just updated a Debian 9 trac server to Debian 10, and are having this
> issue.
>
> I've seen a previous report about this, but the server has no SELinux nor
> logs any git error.
>
> Debian package reports
> trac 1.2.3+dfsg-1
> trac-git 0.12.0.5+722342e-1
>
> We have multiple trac instances, mostly with git repos but some with
> subversion repos.
>
> - Browsing subversion repos works right.
> - Browsing git repos, shows repos list (if configured more than one),
> branches and tags in "Visit" combo, "View changes..." button shows
> changeset info (but no files info, says "No files") )and can navigate
> throught changesets, timeline is also shown; no files nor directories are
> shown ("No files found").
>
> Git repos are local and bare. No caching was used but I tried enabling
> caching and resyncing manually.
>
> Sample log when entering main page of a repository (click on repository
> name in Browse Source->repo list).
>
> 2019-08-29 09:40:12,779 Trac[main] DEBUG: Dispatching  "GET '/browser/default'">
> 2019-08-29 09:40:12,780 Trac[main] DEBUG: Chosen handler is  trac.versioncontrol.web_ui.browser.BrowserModule>
> 2019-08-29 09:40:12,781 Trac[PyGIT] DEBUG: PyGIT.Storage instance
> 140490301300240 constructed
> 2019-08-29 09:40:12,781 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
> instance 140490301300240 for '/srv/git/odoo'
> 2019-08-29 09:40:12,781 Trac[git_fs] DEBUG: enabled CachedRepository for
> '/srv/git/odoo'
> 2019-08-29 09:40:12,836 Trac[PyGIT] DEBUG: triggered rebuild of commit
> tree db for 140490301300240
> 2019-08-29 09:40:12,959 Trac[PyGIT] DEBUG: rebuilt commit tree db for
> 140490301300240 with 5180 entries (took 122.5 ms)
> 2019-08-29 09:40:12,959 Trac[cache] INFO: repos rev
> [4e55ab0d0313918702a20cd4c43dd2bfa6ee795f] != cached rev
> [f636bf562f64d92ca89aa9a5b45bef68737bb132] in 'default'
> 2019-08-29 09:40:13,013 Trac[api] INFO: Synchronized 'default' repository
> in 0.23 seconds
> 2019-08-29 09:40:13,013 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
> instance 140490301300240 for '/srv/git/odoo'
> 2019-08-29 09:40:13,013 Trac[git_fs] DEBUG: enabled CachedRepository for
> '/srv/git/odoo'
> 2019-08-29 09:40:13,066 Trac[cache] INFO: repos rev
> [4e55ab0d0313918702a20cd4c43dd2bfa6ee795f] != cached rev
> [f636bf562f64d92ca89aa9a5b45bef68737bb132] in 'prueba'
> 2019-08-29 09:40:13,120 Trac[api] INFO: Synchronized 'prueba' repository
> in 0.11 seconds
> 2019-08-29 09:40:13,121 Trac[session] DEBUG: Retrieving session for ID
> u'elacunza'
> 2019-08-29 09:40:13,122 Trac[perm] DEBUG: DefaultPermissionPolicy allows
> elacunza performing BROWSER_VIEW on  source:/@f636bf562f64d92ca89aa9a5b45bef68737bb132'>
> 2019-08-29 09:40:13,151 Trac[chrome] DEBUG: Prepare chrome data for request
> 2019-08-29 09:40:13,153 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 2019-08-29 09:40:13,154 Trac[perm] DEBUG: DefaultPermissionPolicy allows
> elacunza performing BROWSER_VIEW on  source:/'>
> [varius perm logs removed - all allows]
> 2019-08-29 09:40:13,161 Trac[perm] DEBUG: DefaultPermissionPolicy allows
> elacunza performing VERSIONCONTROL_ADMIN on  u'admin:versioncontrol/repository'>
> 2019-08-29 09:40:13,162 Trac[perm] DEBUG: DefaultPermissionPolicy allows
> elacunza performing SEARCH_VIEW on None
> 2019-08-29 09:40:13,162 Trac[perm] DEBUG: DefaultPermissionPolicy allows
> elacunza performing ROADMAP_VIEW on None
> 2019-08-29 09:40:13,163 Trac[perm] DEBUG: DefaultPermissionPolicy allows
> elacunza performing TIMELINE_VIEW on 
> 2019-08-29 09:40:13,164 Trac[main] DEBUG: Rendering response from handler
> 2019-08-29 09:40:13,341 Trac[main] DEBUG: Dispatching  "GET '/chrome/site/your_project_logo.png'">
> 2019-08-29 09:40:13,342 Trac[main] DEBUG: Chosen handler is  trac.web.chrome.Chrome>
> 2019-08-29 09:40:13,342 Trac[chrome] WARNING: File your_project_logo.png
> not found in any of ['/srv/trac/odoo/htdocs']
> 2019-08-29 09:40:13,343 Trac[main] WARNING: [172.29.37.105] HTTPNotFound:
> 404 Not Found (File your_project_logo.png not found),  "GET '/chrome/site/your_project_logo.png'">, referrer '
> https://intranet.binovo.es/odoo/browser/default'
> 2019-08-29 09:40:13,343 Trac[session] DEBUG: Retrieving session for ID
> u'elacunza'
> 2019-08-29 09:40:13,344 Trac[main] DEBUG: Negotiated locale: None -> en_US
> 2019-08-29 09:40:13,348 Trac[chrome] DEBUG: Prepare chrome data for request
> 2019-08-29 09:40:13,349 Trac[PyGIT] DEBUG: PyGIT.Storage instance
> 140490335568656 constructed
> 2019-08-29 09:40:13,349 Trac[PyGIT] DEBUG: requested weak PyGIT.Storage
> instance 140490335568656 for '/srv/git/odoo'
> 2019-08-29 09:40:13,350 Trac[git_fs] DEBUG: enabled CachedRepository for
> '/srv/git/odoo'
>