shell integration chrash after sending parameters

Bug #1081900 reported by jochen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kupfer
New
Undecided
Unassigned

Bug Description

Hi,

I recently installed Kupfer for the first time on my machine. Awesome application!
Anyway I found a annoyig bug concerning one of the neat plugins: The shell integration (I can't find the exact name right now)
With this plugin active it is possible to send texts to scripts. Means, if I enter text mode in kupfer (hitting period) and type something the plugin allows me to send this as a parameter to a script. however it always crashes after I hit enter. It sends the command just fine but can't be reopened afterwards.

Also, I have a question about this plugin: Is it possible to send multiple parameters? Let's say my script has two read parameters. How do I assign one word to the first and one word to the second?

I hope you guys can help me.
Keep up the good work!!

Revision history for this message
Karol Będkowski (karol-bedkowski) wrote :

Hi,
Please give us some examples?
Also please attached log from kupfer (bu running for example kupfer --debug | tee kupfer.log)

Revision history for this message
jochen (j-welle) wrote :
Download full text (11.6 KiB)

hi,
well, one example would be my google search script. I enter text mode in kupfer, type what I want to search for and hit tab. There I select "write to command", tab again, and select my script. After I hit Enter Kupfer doesnt start anymore using the hotkey.

this is what i get when i type your command:

~$ kupfer --debug | tee kupfer.log
Gtk-Message: Failed to load module "overlay-scrollbar"
Kupfer: A free software (GPLv3+) launcher
 Copyright © 2007--2011 Ulrik Sverdrup with others
 http://kaizer.se/wiki/kupfer/

[kupfer.ui.browser] WindowController: An instance is already running, exiting...

$ kupfer --debug | tee kupfer.log
Gtk-Message: Failed to load module "overlay-scrollbar"
D [kupfer.scheduler] Scheduler: Loading
D [kupfer.core.plugins]: Loading kupfer.plugin.applications
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/applications.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.applications.OpenWith>
D [kupfer.core.sources]: Add <kupfer.plugin.applications.SetDefaultApplication>
D [kupfer.core.sources] SourcePickler: Loading Applications from kOqeQrgq3epiIo0mjl6AuSw-v4.pickle.gz
D [kupfer.core.sources]: Add <kupfer.plugin.applications.AppSource>
D [kupfer.core.plugins]: Loading kupfer.plugin.archivemanager
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/archivemanager.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.archivemanager.UnpackHere>
D [kupfer.core.sources]: Add <kupfer.plugin.archivemanager.CreateArchive>
D [kupfer.core.sources]: Add <kupfer.plugin.archivemanager.CreateArchiveIn>
D [kupfer.core.plugins]: Loading kupfer.plugin.calculator
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/calculator.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.calculator.Calculate>
D [kupfer.core.plugins]: Loading kupfer.plugin.clipboard
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/clipboard.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.clipboard.ClearClipboards>
D [kupfer.core.sources] SourcePickler: Loading Clipboards from kLGWjsI1s1XOk4xJ-ffWrew-v4.pickle.gz
D [kupfer.core.sources]: Add <kupfer.plugin.clipboard.ClipboardSource>
D [kupfer.core.plugins]: Loading kupfer.plugin.commands
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/commands.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.commands.CommandTextSource Shell Commands>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.PassToCommand>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.PassToCommand>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.FilterThroughCommand>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.WriteToCommand>
D [kupfer.icons]: Loading icon kupfer-object at 24 for core
D [kupfer.icons]: Loading icon kupfer-object at 128 for core
D [kupfer.icons]: Loading icon kupfer-object-multiple at 24 for core
D [kupfer.icons]: Loading icon kupfer-object-multiple at 128 for core
D [kupfer.core.plugins]: Loading kupfer.plugin.core
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/core/__init__.pyc
D [kupfer.plugin_support]: Registered alternative icon_renderer: kupfer.plugin.core.gtk
D [kupfer.plugin_support]: Registered alternative terminal: kupfer.plugin...

Revision history for this message
Karol Będkowski (karol-bedkowski) wrote :

Hi,
It is whole log?
Please attach log after crash.

Revision history for this message
jochen (j-welle) wrote :
Download full text (17.6 KiB)

hi, sorry i gotslightly confused with the log... here is the whole log now

~$ kupfer --debug | tee kupfer.log
Gtk-Message: Failed to load module "overlay-scrollbar"
D [kupfer.scheduler] Scheduler: Loading
D [kupfer.core.plugins]: Loading kupfer.plugin.applications
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/applications.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.applications.OpenWith>
D [kupfer.core.sources]: Add <kupfer.plugin.applications.SetDefaultApplication>
D [kupfer.core.sources] SourcePickler: Loading Applications from kOqeQrgq3epiIo0mjl6AuSw-v4.pickle.gz
D [kupfer.core.sources]: Add <kupfer.plugin.applications.AppSource>
D [kupfer.core.plugins]: Loading kupfer.plugin.archivemanager
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/archivemanager.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.archivemanager.UnpackHere>
D [kupfer.core.sources]: Add <kupfer.plugin.archivemanager.CreateArchive>
D [kupfer.core.sources]: Add <kupfer.plugin.archivemanager.CreateArchiveIn>
D [kupfer.core.plugins]: Loading kupfer.plugin.calculator
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/calculator.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.calculator.Calculate>
D [kupfer.core.plugins]: Loading kupfer.plugin.clipboard
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/clipboard.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.clipboard.ClearClipboards>
D [kupfer.core.sources] SourcePickler: Loading Clipboards from kLGWjsI1s1XOk4xJ-ffWrew-v4.pickle.gz
D [kupfer.core.sources]: Add <kupfer.plugin.clipboard.ClipboardSource>
D [kupfer.core.plugins]: Loading kupfer.plugin.commands
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/commands.pyc
D [kupfer.core.sources]: Add <kupfer.plugin.commands.CommandTextSource Shell Commands>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.PassToCommand>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.FilterThroughCommand>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.WriteToCommand>
D [kupfer.core.sources]: Add <kupfer.plugin.commands.PassToCommand>
D [kupfer.icons]: Loading icon kupfer-object at 24 for core
D [kupfer.icons]: Loading icon kupfer-object at 128 for core
D [kupfer.icons]: Loading icon kupfer-object-multiple at 24 for core
D [kupfer.icons]: Loading icon kupfer-object-multiple at 128 for core
D [kupfer.core.plugins]: Loading kupfer.plugin.core
D [kupfer.core.plugins]: from /usr/share/kupfer/kupfer/plugin/core/__init__.pyc
D [kupfer.plugin_support]: Registered alternative icon_renderer: kupfer.plugin.core.gtk
D [kupfer.plugin_support]: Registered alternative terminal: kupfer.plugin.core.gnome-terminal
D [kupfer.plugin_support]: Registered alternative terminal: kupfer.plugin.core.xfce4-terminal
D [kupfer.plugin_support]: Registered alternative terminal: kupfer.plugin.core.lxterminal
D [kupfer.plugin_support]: Registered alternative terminal: kupfer.plugin.core.xterm
D [kupfer.plugin_support]: Registered alternative terminal: kupfer.plugin.core.urxvt
D [kupfer.core.sources]: Add <kupfer.plugin.core.text.BasicTextSource Text>
D [kupfer.core.sources]: Add <kupfer.plugin.core.text.PathTextSource Filesystem Text...

Revision history for this message
jochen (j-welle) wrote :

any news? is this the correct log?

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.