When trying to paste some file, Geany crashes for me when it is executed natively. I don't know yet why this happens and I didn't manage it yet to debug it with gdb. This might be related to my system where I use some firewall rules to block unwanted internet access from Windows and also have proxy connections configured and after all, it is Windows 7.
That's pretty bad :) I'd be nice to have more info, and possibly whether it's new or not.
I got it. After much of debugging and mostly fiddling around, I found two causes:
The letter one is a bit tricky because some of those schemas are installed already in the Geany bundle and there we compile them also to share/glib-2.0/schemas/gschemas.compiled
.
But here we are in G-P and it has its own bundle creation which doesn't know anything about we did for the Geany bundle. If we would compile the schemas in the G-P bundle, we would override whatever was in the Geany bundle.
So far, I see only bad options:
This is probably such a case where a combined installer with everything included would be easier.
When I start Geany from within the MSYS2 environment, pasting some file works to some extend, at least no crash :). But the response look weird: […] The link below "\1" is actually also "\1".
Theresponse_str
inpastebin_parse_response
is "https://www.geany.org/p/6vzVo" which is correct. So there seems to be a problem with parsing the URL. I don't know if this related to these changes or not.This is weird, don't you have old leftover configuration for the plugin? This should only happen if your configuration has a
[parse]
section with an incorrectreplace
(if there are none, it would then use the default\1
), e.g. one referencing a missing group in thesearch
pattern.
No leftover configuration. I could reproduce this with pastebin.geany.org on Linux and Windows.
After removing the keys from the [parse]
section in geniuspaste/data/pastebin.geany.org.conf
so that the section remains empty in the config, it works.
I think this is not related to the changes here and probably was already broken before.
With this change and the additional dependencies mentioned above, I've got it finally working on Windows!!!
https://www.geany.org/p/mD5RN/ <- pasted from within Geany on Windows!
@b4n what do you think about the schemas compile problem?
—
Reply to this email directly, view it on GitHub, or unsubscribe.
You are receiving this because you are subscribed to this thread.