← Back to team overview

zim-wiki team mailing list archive

Re: AttributeError: 'SimpleAsyncOperation' object has no attribute 'thread'

 

Please report issues through the GitHub issue tracker instead of discussing
on the mailing list. Will look into it.

Thanks,

Jaap


On Thu, Jan 31, 2019 at 3:25 PM Ruslan Makhmatkhanov <cvs-src@xxxxxxxxx>
wrote:

> Hello,
>
> I'm trying zim 0.70-rc2 on FreeBSD 13 with python 3.7.2. I got two
> exceptions on first run of 0.70 with my old notebooks:
>
> 1. This one is disappeared upon second run:
> ERROR: Exception while loading plugin: calendar
> Traceback (most recent call last):
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/__init__.py", line
> 361, in load_plugins_from_preferences
>      self.load_plugin(name)
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/__init__.py", line
> 459, in load_plugin
>      klass = self.get_plugin_class(name)
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/__init__.py", line
> 413, in get_plugin_class
>      mod = get_module(modname)
>    File "/usr/local/lib/python3.7/site-packages/zim/utils.py", line 35,
> in get_module
>      mod = __import__(name)
> ModuleNotFoundError: No module named 'zim.plugins.calendar'
>
> 2. But this one still persist every time I'm run zim --verbose:
> INFO: Running: ('git', 'status', '--porcelain') (cwd:
> /home/Notebooks/Notes)
> ERROR: Failed loading extension <class
> 'zim.plugins.versioncontrol.VersionControlMainWindowExtension'> for
> plugin <zim.plugins.versioncontrol.VersionControlPlugin object at
> 0x8043a6518>
> Traceback (most recent call last):
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/__init__.py", line
> 437, in _extend
>      ext = ext_class(plugin, obj)
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/versioncontrol/__init__.py",
>
> line 130, in __init__
>      self.on_preferences_changed(None, start=True)
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/versioncontrol/__init__.py",
>
> line 147, in on_preferences_changed
>      self.do_save_version_async()
>    File
> "/usr/local/lib/python3.7/site-packages/zim/plugins/versioncontrol/__init__.py",
>
> line 177, in do_save_version_async
>      self._autosave_thread = op.thread
> AttributeError: 'SimpleAsyncOperation' object has no attribute 'thread'
>
> Is there something to do with this one? Thanks
>
> --
> Regards,
> Ruslan
>
> T.O.S. Of Reality
>
> _______________________________________________
> Mailing list: https://launchpad.net/~zim-wiki
> Post to     : zim-wiki@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~zim-wiki
> More help   : https://help.launchpad.net/ListHelp
>

Follow ups

References