On Tuesday, February 21, 2017 at 11:05:15 AM UTC-8, D Noble wrote: > > Hi, > > Im new to Trac. I have been tasked in getting it working. > Ive got it working if I use the default SQLite DB but I would like to use > our MySQL DB as the Trac DB. > I have altered the .ini file to give it a username and password and the > ipaddress, port and database name but I get the following error when I try > to run Trac: > > AttributeError: 'FakeSession' object has no attribute 'authenticated' >
Which version of Trac? Have you installed any plugins? > Has anyone got any suggestions as to what to try next or have I missed a > step. > Im quite a newbie with Trac. > > thanks, > > Del > I suspect that your database connection string is incorrect, but I'm not sure why it's yielding the "FakeSession" error. It's sounds vaguely familiar and we may have fixed the issue in a newer release of Trac. https://trac.edgewall.org/wiki/TracEnvironment#MySQLConnectionString If you temporarily switch back to the SQLite database, is the issue resolved? You may want to also check the logs: https://trac.edgewall.org/wiki/TracTroubleshooting#ChecktheLogs - 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 [email protected]. To post to this group, send email to [email protected]. Visit this group at https://groups.google.com/group/trac-users. For more options, visit https://groups.google.com/d/optout.
