-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Installation problems on Ubuntu #2
Comments
Hi, I'm not sure, but I think Ubuntu still defaults to python2, so you could either use Probably the right way to support Ubuntu would be to create a .deb (and launch a PPA for it), but I do not know how to do that, unfortunately. That is certainly something I need to learn, but I do not have enough time for now. Also I don't use Ubuntu (or Ubuntu-based) Linux, to make matters worse. Help certainly appreciated! Thanks for reporting! |
I made some progress, but encountered another obstalce :)
|
I'm afraid, I cannot be of help here, because my coding knowledge is next to nothing. |
You need to |
Thanks, sudo did the trick :) But I had to copy
|
It's strange. Could you please send me the output of command |
Here it is:
|
Even more strange! The installation path used by |
Same situation with your latest version of Zimsearch on Ubuntu Gnome 15.10 and Zim 0.65. Only after manually copying BTW, if "search all notebooks, instead of only the default" is disabled in the plugin's settings, then the notebook name in the Gnome Shell overview (marked with an "#") should be hidden. This would make the results easier to read. Apart from that your plugin feels snappy. Keep up your great work! |
Having again problems installing your plugin on Ubuntu 16.04: Launching Zim with "zim -D" in the terminal shows:
Installation process:
I've manually copied Any ideas how to fix this? |
I'm not sure, but it seems that the extension is not finding dbus-python. Could you please make sure you have the package |
Installing Although I've deleted the manually copied |
False alarm! After restarting the system, I've realized, that |
Great plugin here. Seems to work really well for me, after some coaxing. Thanks, @dsboger! The trick is to not install as a Python module if the prefix is something other than where your Zim got installed to. Seems that your plugin module will get shadowed by the plugin package shipping with Zim, at least on my Debian testing/unstable system 😄 The two commits in #6 should address the installation issues. Sadly we can't do the entire install into a user's home - the .service file still needs to be where DBus can see it. I took the liberty of changing to distutils, because that actually handles data files quite well. Though that absolute path stuff still needs careful handling. |
@achadwick Thanks for looking into this! Although I know python reasonably well I'm not familiar with system-wide installations, especially involving plugin handling like Zim does. Also I'm not having a lot of free time to spend learning it. I went with autotools because I'm more familiar with it, but it seems like it's not the best tool for the job. I'll have a look at your PRs as soon as possible. |
No problem. Whenever you're ready. I've a few other tweaks in the pipeline, aiming at more nvpy-style serendipity. I'll try to construct sensible PRs for them so you can review them more easily. |
@dsboger I'm back again :) Now, on Ubuntu Gnome 16.10, the installation process went without errors, but your plugin isn't appearing in Zim's plugin list anymore. I've also tried to copy I've tried both commands:
with the following output:
As a result I have two "Zim Desktop Wiki" search plugins in Gnome Searchs' menu now. Additionally, I've run a
Any ideas how to debug this? Your help is very appreciated! |
@sojusnik I'm not developing zimsearch anymore, since I'm not using Zim and it dropped in my priority list. Maybe @achadwick might have some idea of what is happening, since he is the one who ported to python tools for installation. I'm happy to accept any pull requests. |
@dsboger That's a pity! Still all the best to your feature projects. Let's hope that @achadwick will find some time to resolve this issue fingers crossed. |
@sojusnik Looks like you're missing |
Indeed, that's the solution! Thank you @achadwick ! Because I've used both commands to install this extension
as a result I have two "Zim Desktop Wiki" search plugins in Gnome Searchs' menu now. What's the proper way to remove one of them, i.e. uninstall one? |
@achadwick The installation process went well with the new Zim version on Ubuntu 17.04, but I'm getting no results in the Gnome Shell search anymore. Could you have a quick look on that? That's my installation routine:
Installed |
@achadwick Are you still using Zim? Your help is very appreciated on this matter. |
@sojusnik You will have to clean up the files manually. There's no way of uninstalling with plain setuptools/distutils. The Proper Way To Do It™ these days is by using I've been adding some cunning stuff to zimsearch, like the ability to create new pages from the GNOME search so you go Meta |
@achadwick I'd be willing to transfer this repo to you whenever you are ready. I've never transferred a repo before, but it seems like a simple process. The only catch seems to be that you cannot have a fork of it. You could send pull requests with your changes, then after I merge them you can remove your fork so I can initiate the transfer. |
@achadwick Thanks for reacting fast! Since the new 0.66 release of Zim, this great plugin stopped working for me:
Do you observe the same? And maybe already found a solution? |
bug 🐛 bug 😄 |
@achadwick #9 is merged. Ping me again after you fork is deleted. |
@dsboger Done! You should be able to transfer ownership now. Let me know if you need anything from me. |
Okay, I had to click a link in email. It's appearing in my namespace now. Thanks! |
@achadwick Thank you too! |
Kind of a test commit, but I also want to make the README a bit prettier. Per #2 (comment), I'm adopting this project. Thanks for your good maintainership and original work, @dsboger! I'll try and take good care of Zimsearch.
Okay, let's get this old issue closed out. @sojusnik Please update, and try again. Try the instructions in the updated Installation Guide. If that doesn't work, please paste the output of find "$HOME" -iname '*zim*search*' -ls
find /usr -iname '*zim*search*' -ls You may need to manually remove those files and try again. A working install now looks like:
Also, you need to log out and back in again to get Zimsearch working, unless you're very careful about killing off old zim IPC server processes and cleaning up the server socket directory. |
Should be fixed now with the latest revision on master, even if you were having permissions issues. You will need to to an upgrade as described in https://github.com/achadwick/zimsearch/blob/master/INSTALL.md#updating-zimsearch Note that |
The installation process is much easier now, thank you! Are you sure, that your updated version is compatible with the 0.67-rc2 version of Zim, that was released recently? I've followed your instructions, the installation process went well, but don't get any results in the Gnome-Shell. Of course I've enabled both the Gnome-Shell search plugin and the Zim one. Restarted, but without any effect. Happens with Ubuntu Gnome 17.04. All files seem to be on their place:
|
@sojusnik |
Done :) |
Hey,
after
I'm stuck, because I don't know the proper path to python on my system. Any ideas about the right path on Ubuntu Gnome 15.04?
Do you thought about improving the install process for not so experienced Linux users? I can imagine, that the current approach discourages a lot of people from installing this plugin.
PS: To run autogen.sh properly, the version 1.15 of automake is requiered, but Ubuntu's repositories only provide 1.14. Gladly, it's possible to install the 1.15 version from a .deb file packaged for Ubuntu 15.10.
The text was updated successfully, but these errors were encountered: