sessions fail to create.

Issue #6 resolved
Shane Davidson
repo owner created an issue

If you have existing .db sessions from a source idderation they load fine, but delete them all, and try and create a new session after install?
This comes outta the error log after being told their was an error in the startup process.

---begin logging---
Sun Oct 23, 2011 19:24:47 core.sessions ERROR: Unable to initialize an instance of session.Twitter
Traceback (most recent call last):
File "sessions.pyo", line 23, in RegisterSession
File "session\twitter\twitter.pyo", line 36, in init
File "core\sessions\buffers\main.pyo", line 21, in init
File "core\sessions\sound\sound.pyo", line 28, in init
File "core\sessions\sound\sound.pyo", line 115, in announce_session_mute
File "configobj.pyo", line 583, in getitem
KeyError: 'mute'
Sun Oct 23, 2011 19:24:47 root ERROR: Error in startup process.
Traceback (most recent call last):
File "main.pyw", line 37, in main
File "sessions.pyo", line 170, in setup
File "sessions.pyo", line 144, in RegisterDefaultSessions
File "meta_interface.pyo", line 129, in NewSession
File "sessions.pyo", line 94, in SetSession
TypeError: list indices must be integers, not NoneType
---end logging---

note if you have preexisting sessions and try and create a new one? You also have the same issue. the session won't create but your preexisting sessions are in tact.

note that the folder with the session name is created and an empty data folder inside that folder and a blank ssession.conf are created.
This has been filed as a blocker as we cannot release until we fix the issue.

Comments (9)

  1. tallin32
    • changed status to open

    Actually, the log spew is a bit misleading. Right now, launching the executable on a totally empty logging directory yields a 0-byte twitmonger.log and a 0-byte error.log. In essence, nothing happens. The error cited in the original bug report is likely the last error that was ever logged running from source.

  2. Log in to comment