doesn't run on Ubuntu 12.04
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Python-PouchDB |
Fix Released
|
Medium
|
Marten de Vries |
Bug Description
Running the test suite (but also manually opening a db) gives the following error on Ubuntu 12.04. The traceback occurs because Ctrl + C is pressed, since the event loop is blocking in waitUntilCalled on the crash.
Seems similar to: https:/
Also, WebSQL does seem available. (A minimal test case creating a database in a qwebview worked & openDatabase is defined.)
marten@
line 0: TypeError: 'undefined' is not a function
line 0: TypeError: 'undefined' is not a function
Fline 0: TypeError: 'undefined' is not a function
Fline 0: TypeError: 'undefined' is not a function
line 0: No valid adapter found
^CTraceback (most recent call last):
File "pouchdb/tests.py", line 369, in <module>
unittest.main()
File "/usr/lib/
self.runTests()
File "/usr/lib/
self.result = testRunner.
File "/usr/lib/
test(result)
File "/usr/lib/
return self.run(*args, **kwds)
File "/usr/lib/
test(result)
File "/usr/lib/
return self.run(*args, **kwds)
File "/usr/lib/
test(result)
File "/usr/lib/
return self.run(*args, **kwds)
File "/usr/lib/
testMethod()
File "pouchdb/tests.py", line 40, in testWithDbAndAl
db = pouchdb.
File "/home/
getContext(
File "/home/
args=
File "/home/
self.
File "/home/
self.
KeyboardInterrupt
Changed in python-pouchdb: | |
milestone: | none → 0.2 |
....... ....... ....... ....... ....... ....... ...... ------- ------- ------- ------- ------- ------- ------- ------- -------
-------
Ran 48 tests in 18.246s
OK
Problems where: /github. com/daleharvey/ pouchdb/ issues/ 948)
- same-origin policy not being disabled (workaround: pouchdb.baseUrl)
- some JS code constructs being used not supported in an older version of webkit (https:/