Status Update
Comments
ra...@gmail.com <ra...@gmail.com> #2
Is there any updates? This is a big problem!
gv...@gmail.com <gv...@gmail.com> #3
Hi there - could you provide more context on the issue & a sample project to reproduce? Database locked exceptions are quite difficult to pinpoint without a repro project. Thanks!
[Deleted User] <[Deleted User]> #4
Hi. It is reproduceable on some users by using this code:
suspend fun <R> MyDatabase.workaroundWithTransaction(block: suspend TransactionScope<R>.() -> R) {
useWriterConnection {
it.immediateTransaction(block)
}
// TODO: Temporally fix https://issuetracker.google.com/issues/340606803#comment2
// Manually triggers invalidation
invalidationTracker.refreshAsync()
}
ma...@google.com <ma...@google.com> #6
Hi. Please merge the pull request. This is big problem!
er...@gmail.com <er...@gmail.com> #7
Hi. Is there any updates on this problem?
co...@gmail.com <co...@gmail.com> #8
Hi, I updated my version to alpha12 but still have these crashes. Please release a fix asap.
al...@gmail.com <al...@gmail.com> #10
Hey, there is no release on Wednesday (holiday in the USA)
We haven't found the root cause of this exception, it happens when SQLite can't commit the transaction because some other connection has a lock, we need more information, a sample project that reproduces the issue preferably, or more details on how the database is being used (is it from multiple process? is there heavy concurrency?).
You can also increase the time SQLite will wait before it error with 'database locked' by executing PRAGMA busy_timeout = <time in ms>
, the current default is 3000
Description
1. Write an app that uses locale.setlocale(..)
2. I used the Django Helper
What is the expected output? What do you see instead?
This is the error I get:
Error at /tsc/
unsupported locale setting
Request Method: POST
Request URL:
Exception Type: Error
Exception Value: unsupported locale setting
Exception Location: /base/python_dist/lib/python2.5/locale.py in
setlocale, line 478
Traceback (most recent call last):
File "/base/python_lib/versions/1/django/core/handlers/base.py" in get_response
77. response = callback(request, *callback_args, **callback_kwargs)
File "/base/data/home/apps/henschkowskitest/1.18/tsc/views.py" in directupload
44. converter.convert()
File "/base/data/home/apps/henschkowskitest/1.18/tsc/bsg2tkc.py" in convert
63. locale.setlocale(locale.LC_ALL, 'de') # Google AppEngine
File "/base/python_dist/lib/python2.5/locale.py" in setlocale
478. return _setlocale(category, locale)
Error at /tsc/
unsupported locale setting
What version of the product are you using? On what operating system?
SVN / Linux
Please provide any additional information below.
Tried also locales German_Switzerland and de_DE:
try:
locale.setlocale(locale.LC_ALL, 'German_Switzerland') # Windows
except:
try:
locale.setlocale(locale.LC_ALL, 'de_DE') # UNIX
except:
locale.setlocale(locale.LC_ALL, 'de') # Google AppEngine