Opened 9 years ago
Closed 9 years ago
#12513 closed defect (cantfix)
OperationalError: no such table: wikisync
Reported by: | Franz | Owned by: | Ivan Choo |
---|---|---|---|
Priority: | normal | Component: | TracWikiSyncPlugin |
Severity: | normal | Keywords: | |
Cc: | Franz | Trac Release: | 1.0 |
Description
When installing TracWikiSyncPlugin and clicking on Tab "Wiki Sync" it throws error OperationalError: no such table: wikisync
(see full stacktrace below).
My environment is: Python 2.7, Windows 7, SQLite
Workaround / Fix
When I change following lines, the plugin could create the necessary table:
-
C:/Projekte/Trac/TracWikiSync/wikisync/
old new class WikiSyncEnvironment(Component, WikiSyncMixin 81 81 82 82 implements(IEnvironmentSetupParticipant, IWikiChangeListener) 83 83 84 # Component cannot be turn off85 required = True86 87 84 # IEnvironmentSetupParticipant 88 85 def environment_created(self): 89 86 pass
Full Stacktrace
2015-09-14 09:51:44,948 Trac[main] ERROR: Internal Server Error: Traceback (most recent call last): File "C:\Projekte\Trac\TracCore\trac\web\main.py", line 587, in _dispatch_request dispatcher.dispatch(req) File "C:\Projekte\Trac\TracCore\trac\web\main.py", line 246, in dispatch resp = chosen_handler.process_request(req) File "build\bdist.win32\egg\wikisync\plugin.py", line 301, in process_request return self._process_main(req) File "build\bdist.win32\egg\wikisync\plugin.py", line 307, in _process_main "collection": [o for o in dao.all()], File "build\bdist.win32\egg\wikisync\model.py", line 119, in all cursor.execute(sql) File "C:\Projekte\Trac\TracCore\trac\db\util.py", line 73, in execute return self.cursor.execute(sql) File "C:\Projekte\Trac\TracCore\trac\db\sqlite_backend.py", line 87, in execute result = PyFormatCursor.execute(self, *args) File "C:\Projekte\Trac\TracCore\trac\db\sqlite_backend.py", line 63, in execute args or []) File "C:\Projekte\Trac\TracCore\trac\db\sqlite_backend.py", line 54, in _rollback_on_error return function(self, *args, **kwargs) OperationalError: no such table: wikisync
Attachments (0)
Change History (5)
comment:1 Changed 9 years ago by
comment:2 follow-up: 3 Changed 9 years ago by
Please report bugs on https://github.com/ivanchoo/TracWikiSync/issues. See TracWikiSyncPlugin#BugsFeatureRequests.
comment:3 follow-up: 4 Changed 9 years ago by
Replying to jun66j5:
Please report bugs on https://github.com/ivanchoo/TracWikiSync/issues. See TracWikiSyncPlugin#BugsFeatureRequests.
I know this project is hosted at GitHub, but I don't have an GitHub account. Furthermore Ryan questioned ivanchoo a few months ago, if he/she wants to move to trac-hacks, see https://github.com/ivanchoo/TracWikiSync/issues/4.
comment:4 Changed 9 years ago by
Replying to framay:
I know this project is hosted at GitHub, but I don't have an GitHub account. Furthermore Ryan questioned ivanchoo a few months ago, if he/she wants to move to trac-hacks, see https://github.com/ivanchoo/TracWikiSync/issues/4.
It seems that Ryan asked about joining the trac-hacks organization on GitHub, not trac-hacks (here).
Anyway, I think TracWikiSyncPlugin's issues should be reported on github after creating an account since the author says please use github in the TracWikiSyncPlugin page.
comment:5 Changed 9 years ago by
Resolution: | → cantfix |
---|---|
Status: | new → closed |
If you really want to get this fixed it might be worthwhile to contact the plugin author by email. We can fork the plugin to the trac-hacks organization on GitHub, but I like to exhaust efforts in contacting the author before doing that.
I forgot: my Trac version is 1.1.6