Re: [Trac] Re: getting blank report pages

2020-06-12 Thread Ryan Ollos
I think the code change was minor. If you look at the ticket I referenced you 
can see the theme.html change. Your log file shows the location of theme.html 
in the traceback at the end of the log. You might be able to fix the issue be 
editing theme.html


From: trac-users@googlegroups.com  on behalf of a 
colk 
Sent: Friday, June 12, 2020, 16:05
To: Trac Users
Subject: [Trac] Re: getting blank report pages

I'm on Fedora 32 and it was installed via the DNF package manager.  I tried to 
uninstall jinja but DNF wanted to uninstall everything, including trac.  I did 
this or that but in the end, it was a PITA trying to get it to work without 
installing things and it seemed that when installing with pip, things were 
still defaulting to what was installed with DNF.

I did have version 2.11 of Jinja.  If you're going to release a new version 
that might solve the problem, let's wait.  A few days of putting issues in a 
text file isn't a big deal.  I'll wait for the update and see if it solves it.  
Thanks for your quick reply.

--
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/c31aed55-f22c-42da-adc1-8c580f6a498fo%40googlegroups.com.

-- 
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/MWHPR0101MB2944F641D58E3F8E4CC90A29FF810%40MWHPR0101MB2944.prod.exchangelabs.com.


[Trac] Re: getting blank report pages

2020-06-12 Thread a colk
I'm on Fedora 32 and it was installed via the DNF package manager.  I tried 
to uninstall jinja but DNF wanted to uninstall everything, including trac.  
I did this or that but in the end, it was a PITA trying to get it to work 
without installing things and it seemed that when installing with pip, 
things were still defaulting to what was installed with DNF.

I did have version 2.11 of Jinja.  If you're going to release a new version 
that might solve the problem, let's wait.  A few days of putting issues in 
a text file isn't a big deal.  I'll wait for the update and see if it 
solves it.  Thanks for your quick reply.

-- 
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/c31aed55-f22c-42da-adc1-8c580f6a498fo%40googlegroups.com.


[Trac] Re: getting blank report pages

2020-06-12 Thread RjOllos


On Friday, June 12, 2020 at 10:26:02 AM UTC-7, a colk wrote:
>
> Trac was working perfectly for years until about a month ago, I got a 
> prompt to upgrade.  Without preserving my VM's state, I just clicked 
> upgrade and now I am unable to view my tickets or anything else.
>

Trac doesn't have a "prompt to upgrade" feature, but maybe that's a feature 
of a software stack you are using, such as Bitnami? Or was that your OS 
package manager, and if so, what OS?
 

> I can startup at:  localhost:8000/trac
>
> And will see the welcome screen and can login but if clicking on tickets 
> or search, the page comes up completely blank.  I use various bookmarked 
> URL's that worked for forever but those too are coming up with a completely 
> blank page.
>
> I went back to a VM where trac worked and under /usr/sbin/tracd, it was 
> using with V 1.2.4.  The current /usr/sbin/tracd version is 1.4. 
>
> I've tried to copy over my trac directory and sbin/tracd files from the 
> older VM to see if I could get that to work but came up with nothing. 
>
> I've set the log level in trac.ini to DEBUG and got the attached log file.
>
> I'd like to give more information to start with but am not sure where to 
> start.  Ideas?
>


What version of Jinja2 do you have? You can query via "pip list" or through 
your OS package manager.

You probably have 2.11 or later, which introduced a change and now we have 
incompatible syntax:
https://trac.edgewall.org/ticket/13242

We'll be releasing Trac 1.4.2 with a fix in the next few days. In the 
meantime, please downgrade to jinja2 < 2.11. Please let me know if you need 
help on downgrading. Are you using pip for package management?

$ pip uninstall jinja2
$ pip install "jinja2<2.11"

If you've installed from your OS package manager it could be more difficult 
to downgrade jinja2.

- 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/6a8d4d9a-462c-4ad9-a544-a058f35cd505o%40googlegroups.com.


[Trac] getting blank report pages

2020-06-12 Thread a colk
Trac was working perfectly for years until about a month ago, I got a 
prompt to upgrade.  Without preserving my VM's state, I just clicked 
upgrade and now I am unable to view my tickets or anything else.

I can startup at:  localhost:8000/trac

And will see the welcome screen and can login but if clicking on tickets or 
search, the page comes up completely blank.  I use various bookmarked URL's 
that worked for forever but those too are coming up with a completely blank 
page.

I went back to a VM where trac worked and under /usr/sbin/tracd, it was 
using with V 1.2.4.  The current /usr/sbin/tracd version is 1.4. 

I've tried to copy over my trac directory and sbin/tracd files from the 
older VM to see if I could get that to work but came up with nothing. 

I've set the log level in trac.ini to DEBUG and got the attached log file.

I'd like to give more information to start with but am not sure where to 
start.  Ideas?

-- 
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/43218f83-1896-413b-897b-d83d77d18843o%40googlegroups.com.
2020-06-12 11:06:15,173 Trac[env] INFO:  
environment startup [Trac 1.4] 
2020-06-12 11:06:15,261 Trac[loader] DEBUG: Loading plugin "trac.about" from 
"/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,264 Trac[loader] DEBUG: Loading plugin "trac.admin.console" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,313 Trac[loader] DEBUG: Loading plugin "trac.admin.web_ui" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,321 Trac[loader] DEBUG: Loading plugin "trac.attachment" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,332 Trac[loader] DEBUG: Loading plugin "trac.db.mysql" from 
"/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,387 Trac[loader] DEBUG: Skipping "trac.db.mysql = 
trac.db.mysql_backend [mysql]": DistributionNotFound: The 'PyMySQL' 
distribution was not found and is required by the application
2020-06-12 11:06:15,387 Trac[loader] DEBUG: Loading plugin "trac.db.postgres" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,395 Trac[loader] DEBUG: Skipping "trac.db.postgres = 
trac.db.postgres_backend": DistributionNotFound: The 'psycopg2>=2.0 or 
psycopg2-binary' distribution was not found and is required by Trac
2020-06-12 11:06:15,396 Trac[loader] DEBUG: Loading plugin "trac.db.sqlite" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,399 Trac[loader] DEBUG: Loading plugin 
"trac.mimeview.patch" from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,404 Trac[loader] DEBUG: Loading plugin 
"trac.mimeview.pygments" from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,459 Trac[loader] DEBUG: Skipping "trac.mimeview.pygments = 
trac.mimeview.pygments [pygments]": DistributionNotFound: The 'Pygments>=1.0' 
distribution was not found and is required by the application
2020-06-12 11:06:15,459 Trac[loader] DEBUG: Loading plugin "trac.mimeview.rst" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,518 Trac[loader] DEBUG: Skipping "trac.mimeview.rst = 
trac.mimeview.rst [rest]": DistributionNotFound: The 'docutils>=0.3.9' 
distribution was not found and is required by the application
2020-06-12 11:06:15,518 Trac[loader] DEBUG: Loading plugin "trac.mimeview.txtl" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,575 Trac[loader] DEBUG: Skipping "trac.mimeview.txtl = 
trac.mimeview.txtl [textile]": DistributionNotFound: The 'textile>=2.0' 
distribution was not found and is required by the application
2020-06-12 11:06:15,575 Trac[loader] DEBUG: Loading plugin 
"trac.notification.api" from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,577 Trac[loader] DEBUG: Loading plugin 
"trac.notification.mail" from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,580 Trac[loader] DEBUG: Loading plugin 
"trac.notification.prefs" from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,590 Trac[loader] DEBUG: Loading plugin "trac.prefs" from 
"/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,594 Trac[loader] DEBUG: Loading plugin "trac.search" from 
"/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,600 Trac[loader] DEBUG: Loading plugin "trac.ticket.admin" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,644 Trac[loader] DEBUG: Loading plugin "trac.ticket.batch" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,649 Trac[loader] DEBUG: Loading plugin 
"trac.ticket.notification" from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,652 Trac[loader] DEBUG: Loading plugin "trac.ticket.query" 
from "/usr/lib/python2.7/site-packages"
2020-06-12 11:06:15,663 Trac[loader] DEBUG: Loading plugin "trac.ticket.report" 
from