Pastie now auto-senses if line-wrap is a bad or good idea. Feedback?
## mark a section (Learn more)
[ 7.710000] (D) Setlist loaded. [ 7.734000] (D) View: Pop: LoadingSplashScreen [ 7.734000] (D) View: Push: SongChoosingScene [ 7.734000] (D) View: Pop: Lobby [ 10.275000] (D) loadSong function call (song.py)... [ 10.279000] (E) Cache retrieval failed for D:\songs\eh\FUZiON - Test\song.ini: Traceback (most recent call last): File "D:\fofix\src\Song.py", line 527, in __init__ result = _songDB.execute('SELECT `info` FROM `songinfo` WHERE `hash` = ?', [songhash]).fetchone() ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 3392 and this is thread id 2404 [ 10.279000] (D) Retrieving parts from: D:\songs\eh\FUZiON - Test\notes.mid [ 10.302000] (D) MIDI Type identified as RB [ 10.302000] (D) Retrieving sections from: D:\songs\eh\FUZiON - Test\notes.mid [ 10.323000] (W) Song.py: Using auto-generated note count sections... [ 10.323000] (D) Writing out cache for song D:\songs\eh\FUZiON - Test\song.ini. [ 10.325000] (E) Exception occurred in main loop: Traceback (most recent call last): File "D:\fofix\src\GameEngine.py", line 1188, in run return self.mainloop() File "D:\fofix\src\GameEngine.py", line 1151, in main done = self.doRun() File "D:\fofix\src\GameEngine.py", line 1179, in doRun self._runTask(task) File "D:\fofix\src\GameEngine.py", line 1146, in _runTask task.run(ticks) File "D:\fofix\src\Resource.py", line 257, in run loader.finish() File "D:\fofix\src\Resource.py", line 114, in load self.result = self.function() File "D:\fofix\src\SongChoosingScene.py", line 751, in <lambda> self.songLoader = self.engine.resource.load(self, None, lambda: Song.loadSong(self.engine, song, playbackOnly = True, library = self.library), synch = False, onLoad = self.songLoaded, onCancel = self.songCanceled) File "D:\fofix\src\Song.py", line 3935, in loadSong song = Song(engine, infoFile, songFile, guitarFile, rhythmFile, noteFile, scriptFile, part, drumFile, crowdFile) File "D:\fofix\src\Song.py", line 2528, in __init__ self.info = SongInfo(infoFileName) File "D:\fofix\src\Song.py", line 555, in __init__ _songDB.execute('INSERT OR REPLACE INTO `songinfo` (`hash`, `info`, `seen`) VALUES (?, ?, 1)', [songhash, cPickle.dumps(pdict)]) ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 3392 and this is thread id 2404 [ 10.325000] (D) View: Pop all [ 10.325000] (D) View: Pop: SongChoosingScene [ 10.325000] (D) View: Pop: SongChoosingScene [ 10.325000] (N) ProgrammingError: SQLite objects created in a thread can only be used in that same thread.The object was created in thread id 3392 and this is thread id 2404 [ 10.325000] (D) View: Push: MessageScreen [ 11.598000] (D) View: Pop: MessageScreen [ 11.600000] (D) View: Push: MainMenu [ 11.600000] (D) View: Push: Menu [ 11.894000] (D) View: Pop: Menu [ 11.895000] (D) View: Pop: MainMenu [ 11.896000] (D) View: Pop: Menu
This paste will be private.
From the Design Piracy series on my blog: