David Bremner writes:
> For what it's worth, I can't replicate that with the given script (I ran
> it 1000 times without any aborts).
I am not surprised, initially it worked fine for me too. No idea what
changed.
I ended up changing my script to use Python2.
>> Curiously, changes to tags don't
Brian May writes:
> On 2018-03-16 11:28, David Bremner wrote:
>
>> I suspect it has to do with changes in memory management in python3.
>>
>> You hide the problem by adding
>>
>> del(db)
>>
>> at the end of your script.
>
> Unfortunately, I still seem to be getting this abort error, although n
On 2018-03-16 11:28, David Bremner wrote:
> I suspect it has to do with changes in memory management in python3.
>
> You hide the problem by adding
>
> del(db)
>
> at the end of your script.
Unfortunately, I still seem to be getting this abort error, although not
as often.
Curiously, changes
David Bremner writes:
> You hide the problem by adding
>
> del(db)
>
> at the end of your script.
>
> You can read some discussion at
>
> https://notmuchmail.org/pipermail/notmuch/2016/021622.html
Thanks for this, and the work around.
The workaround works fine.
--
Brian May
Brian May writes:
> === cut ===
>
> I get the following output:
>
> brian@wspdigital:~$ /usr/bin/python3 ./tagmail
> Aborted
>
> If I comment/remove any of the lines out (including the function that isn't
> even referenced anywhere) or switch to Python2, then it works without any
> problems.
>
> A
On Fri, Mar 16 2018, Brian May wrote:
> If I try to run the following program on Debian Stretch:
>
> === cut ===
> #!/usr/bin/python3
> import notmuch
> db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
>
> def abcdef():
> pass
>
> q_new = notmuch.Query(db, 'tag:new')
> === cut ===
Package: python3-notmuch
Version: 0.23.7-3
Severity: important
If I try to run the following program on Debian Stretch:
=== cut ===
#!/usr/bin/python3
import notmuch
db = notmuch.Database(mode=notmuch.Database.MODE.READ_WRITE)
def abcdef():
pass
q_new = notmuch.Query(db, 'tag:new')
=== cut
7 matches
Mail list logo