-
Notifications
You must be signed in to change notification settings - Fork 1
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
Problems installing in windows #1
Comments
Hi! Sorry, I haven't really brought this to a stage where I was expecting others to try and install it. I haven't used Let me see if I can offer a quick fix (but I'm quite busy at the moment unfortunately). |
Some of your errors I just solved (but you worked around them already)
|
Can you install the latest version again? So |
Thanks for replying, the setup.py file needs a little fix
Ignoring that, the other error I see is that the vis-network.min file is not copied to its destination, in my case
Once I copied the zk_web command it worked, it's a nice visualization. Now I'm seeing what I can do with |
You're right of course! Forgot to update that
Yeah, probably needs to be added to the manifest Thanks for helping me work out all these issues! It's not thoroughly tested so there's probably a lot to do.
Ah, right it currently doesn't let you specify the input directories manually... |
also you'll need to have |
I mean what you could do as a quick workaround is to simply let |
The real solution would of course be to copy the quick command line interface also to the server application. I might try to do that in the next few days, but kind of very busy, so let's see |
Tonight I'll try to tweak the setup.py. |
I am trying to understand a small problem, at first I thought it happened only in windows but I have managed to make it happen in ubuntu (using wsl2).
and yet it was installed,
Then I discovered (I think you told me some of that) that its necessary to install it from the package manager and not from pip3.
After moving the necessary files, in this case those in the template folder this error is solved, and another appears:
And this far I can get, never use networkx and certain things I do not understand. When you have time, could you see it ?. I am using the playground directory for these tests |
Hmmm, taking a quick look at this, this is a bug that happens if there are no nodes (notes) found. So here @lru_cache(maxsize=100)
def _get_root(g: nx.DiGraph) -> str:
return min(g.nodes) you have the minimum over an empty sequence. Of course I could just return |
So the bug with having zero notes is annoying, but it shouldn't actually happen if you correctly load from the playground directory. perhaps your workaround didn't work, can you try with the example call that I wrote? |
Using the example command it loads correctly, thank you very much. The zettel display, navigation and search (I'm not so sure about this, I feel like sometimes it behaves like I'm lucky when it isn't) work. The integration with typora does not work, it seems a problem between windows and typora, I will analyze it. The copying of the html, js and company files is pending, I will also see if I learn how to do it. The reload command only reloads the directories in the environment variable, not the one specified on the command line, I think it could fix it The dashboard is not working for me, this is what I get
I read in the code, after adding some notes just in case (line 77 of bokeh_plots says # fixme: problems if we have <= 2 zks) the error persists |
I will take a look at this tomorrow! You can probably also just disable the problematic plot... |
Great! Btw, I think in the longer term we might also want to get rid of bokeh and use plotly instead. Just so much easier to use I think |
But I think it makes sense to close this issue now and rather make separate issues for things that need fixing. |
Thanks! |
Hello,
I am trying to install it in windows, I have not succeeded yet, and I need your help with a function but I will tell you about the process in case it works for someone else, at first I thought that everything had worked well, since the installation using "python setup.py install" did not mark any error. But then when running it
This library is not available, fortunately there is a replacement
A second try showed another error
Strangely, the two files inside the \ verzettler \ util folder are not copied, that is easily solved
Now we come to the problem that I can't solve
I've been looking everywhere and I can't find that function / attribute ('dot_graph'), am I doing something wrong?
Could you help me?
Thank you in advance
The text was updated successfully, but these errors were encountered: