154 | | ./sqlite2pg -e /home/sahana/trac -p 'postgres://trac:pass@localhost/trac?schema=myschema' |
| 154 | ./sqlite2pg -e /home/sahana/trac -p 'postgres://tracuser:pass@localhost/trac' |
| 155 | }}} |
| 156 | Errors: |
| 157 | {{{ |
| 158 | /usr/local/lib/python2.6/dist-packages/TracScreenshots-0.8dev-py2.6.egg/tracscreenshots/core.py:13: DeprecationWarning: the sets module is deprecated |
| 159 | import sets |
| 160 | Traceback (most recent call last): |
| 161 | File "./sqlite2pg", line 335, in <module> |
| 162 | sys.exit(main(sys.argv[1:])) |
| 163 | File "./sqlite2pg", line 331, in main |
| 164 | Main(opts) |
| 165 | File "./sqlite2pg", line 250, in Main |
| 166 | rc = tmigration.migrateTable(tname) or rc |
| 167 | File "./sqlite2pg", line 72, in migrateTable |
| 168 | rc = self.default_copy(table) |
| 169 | File "./sqlite2pg", line 93, in default_copy |
| 170 | pgcur.execute(insert_into, row) |
| 171 | File "/usr/local/lib/python2.6/dist-packages/Trac-0.12.1-py2.6.egg/trac/db/util.py", line 65, in execute |
| 172 | return self.cursor.execute(sql_escape_percent(sql), args) |
| 173 | psycopg2.InternalError: current transaction is aborted, commands ignored until end of transaction block |