Zim

Cannot copy and past from Zim v0.66

Bug #1693178 reported by Nina
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Zim
New
Undecided
Unassigned

Bug Description

I have Windows 7. I used Desktop Installer zim-setup-0_66_2017-05-07.exe. I am regular user, not one, that tends to play with source code.

After I installed ZIM v0.66 I noticed I cannot copy and paste from ZIM into e.g. notepad or any other program. Copy & paste within the program works ok. Paste into ZIM works ok. From ZIM it doesn't work.

btw.. also if I double-click a word (which should select it) it doesn't do anything. I have to manually select the whole word.

I did try to google how to solve it, but when I tried to apply solution from Bug #783388 .. I couldn't apply that solution, because I do not have Python installed at all.

I even tried all possibilities on "text outcome" in the Preferences menu, neither worked.

PS Hmm.. I tried to run this:
Try running "zim -D" from the terminal and include any relevant messages and debug output also include the gtk versions reported by "zim -D"
* Include the Gtk+ and pygtk versions (also reported by "zim -D")

Well.. not sure about terminal, i tried to run it from cmd ..
1) without zim running as "zim -d"
2) with zim running as "zim -d"
3) with zim running as "zim -D" -> lead to "you found a bug" window

here is the whole log file:
INFO: Locale set to: English_United States.1252
ERROR: Exception in main()
Traceback (most recent call last):
  File "zim\main\__init__.pyo", line 745, in main
  File "zim\main\__init__.pyo", line 553, in run
  File "zim\main\__init__.pyo", line 502, in build_command
  File "zim\main\command.pyo", line 81, in parse_options
  File "getopt.pyo", line 133, in gnu_getopt
  File "getopt.pyo", line 190, in do_shorts
  File "getopt.pyo", line 206, in short_has_arg
GetoptError: option -d not recognized
INFO: Locale set to: English_United States.1252
ERROR: Exception in main()
Traceback (most recent call last):
  File "zim\main\__init__.pyo", line 745, in main
  File "zim\main\__init__.pyo", line 553, in run
  File "zim\main\__init__.pyo", line 502, in build_command
  File "zim\main\command.pyo", line 81, in parse_options
  File "getopt.pyo", line 133, in gnu_getopt
  File "getopt.pyo", line 190, in do_shorts
  File "getopt.pyo", line 206, in short_has_arg
GetoptError: option -d not recognized
INFO: Locale set to: English_United States.1252
INFO: This is zim 0.66
DEBUG: Python version is sys.version_info(major=2, minor=7, micro=13, releaselevel='final', serial=0)
DEBUG: Platform is nt
DEBUG: No bzr version-info found
DEBUG: Running from a source dir: C:\Program Files (x86)\Zim Desktop Wiki
DEBUG: Set XDG_DATA_HOME to C:\Users\IBM_ADMIN\AppData\Roaming\zim\data
DEBUG: Set XDG_DATA_DIRS to [<Dir: C:\Users\IBM_ADMIN\.local\share>]
DEBUG: Set XDG_CONFIG_HOME to C:\Users\IBM_ADMIN\AppData\Roaming\zim\config
DEBUG: Set XDG_CONFIG_DIRS to [<Dir: C:\Users\IBM_ADMIN\.config>]
DEBUG: Set XDG_CACHE_HOME to C:\Users\IBM_ADMIN\AppData\Roaming\zim\cache
DEBUG: Got error in dispatch: No-one is listening
DEBUG: Registered object line
DEBUG: Starting primary process
ERROR: Exception in main()
Traceback (most recent call last):
  File "zim\main\__init__.pyo", line 745, in main
  File "zim\main\__init__.pyo", line 554, in run
  File "zim\main\__init__.pyo", line 576, in _run_cmd
  File "zim\main\__init__.pyo", line 596, in _run_main_loop
  File "zim\main\__init__.pyo", line 703, in _daemonize
AttributeError: 'Blackhole' object has no attribute 'isatty'
DEBUG: Running ErrorDialog
C:\Program Files (x86)\Zim Desktop Wiki\zim.exe\zim\gui\widgets.py:3423: GtkWarning: gdk_property_change: assertion `window != NULL' failed

After all this I uninstalled 0.66 and installed 0.65; and here it works OK. I can select words by double-clik and also what I copy I can paste in notepad or elsewhere.

Could you please look at it for v0.66 ?

Thank you.

Revision history for this message
Craig Allen (cjallen88) wrote :

I also have this issue on Windows 10 x64.

Thanks.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.