I've been running a (company-internal) site that uses mkdocs, the materials for mkdocs them, and the default mkdocs search plugin.
It all worked fine until some point around the change of year, when the search field suddenly disapeared.. without any obvious thing having changed. The website is being served by a (company-hosted) gitlab instance.. there's no error or warning message during build that seems to relate to this issue.. nor does there seem to be any related error/warning in the javascript console. All this makes it very difficult to know where to start investigating..
Did anybody experience the same? Or do you have suggestions of where I could start looking?
best
Michael
tried to change the order in which plugins are executed, and various search plugin settings - without any effect. Looked for error/warning messages during mkdocs build (via gitlab ci-cd) and in the Javascript console - without success. Where to start?
Related
Problem started suddenly and seems to be not related to any change that happened in code around its first occurance.
We have automated CI workflow that prepares RC.
At first every second build worked. Now I had to rebuild RC 7 times to get app that is not crashing.
After investigating it is clear that there are no config values in resources, ergo plugin is not generating values from json config file. Basically rebuilding same code many times makes it work, at some point.
We had recently changed dependency injection in app from dagger components to hilt, it might be the reason of some kind of race or shared resources during build time.
It is also problematic to work around. I've prepared resource files with all values in order to manually add them in build process instead of generating with plugin. Now, because we also use crashlytics, I cannot remove google services plugin as crashlytics is checking for google services tasks in gradle. I cannot remove unused json file as plugin will crash because of lack of config file. Plugin also (based on docs https://developers.google.com/android/guides/google-services-plugin) adds some dependencies to main module, but I wasn't able to find anything in :app:dependencies so maybe docs are outdated.
I am not able to provide any project for reproduction as it only happens in commercial project. I understand it makes the problem hard to resolve in such case but maybe other people has it also.
AGP: 7.2.0-beta02
Google Services plugin: 4.3.10
Hilt: 2.41
EDIT:
I've resolved symptoms by creating gradle module for each build type we have, and each module contains only res/values.xml which I've copied from app/build/generated/res/google-services/*. This way required keys are always available in resources, as we do not often (hardly ever) change json file with config. I am still trying to investigate builds with --scan option but I cannot reproduce it with scan, it only happens without it.
I've got a project that I am working on that works fine when debugging from IntelliJ but when I do a release build (still in IntelliJ) and install the .air fil to my computer none of the FastInject tags seem to work.
I thought that this might be due to the include-as3-metadata issue but that does not seem to be the case. I have included all the metadata tags that I think I have used.
I have spent some time investigating this and have not made much progress other than getting frustrated!
I created a view that displays the logs created by spicefactory - but this seemed to fix the issue!
I tested to see if I could inject and of classes that are expected to be FastInjected, this also fixed the issue.
It seems that if I add any logging related code to the application the FastInject tags start working.
In fact, I have created a release air file here. If I install this on a computer with Flash debugging turned on the application doesn't work. If I follow the steps here to debug an installed Air application - it starts to work!
If anyone else can confirm this behavior I would appreciate it.
It turns out that this was simply a race condition causing an error in context creation that was not displayed in a non-debug player.
This exception never happened while I was developing the application and any changes to the application to add logging changed the initialisation order of the context and caused the issue.
I have a GTK3 client used to connect to server for management. It is not as simple as web-interface as user have to download client and install some libraries in order to run it.
So I remembered about broadway HTML5 backend. But there is no additional info about it since I last tried it a year++ ago.
I found out what can cause segfaults - for example, tray icons, some shadows is better to disable. Bit what about HTML title etc? Official docs says nothing at all, only how to run it.
I'd like to add custom tab to my redmine project which would be a static link to a webpage nested in IFRAME. I found this thread and I thought that my problems are solved and I won't need to learn ruby.
But later I've noticed that plugin is almost 4 years old and not really compatible with current verison (I have 2.0.3 installed). When I already got it to run it still throws errors and plugin configuration page doesn't work correctly. Bottom line: I can't add any new tab.
Did someone experience similiar problem or maybe has a workaround/another method to add a simple custom tab/iframe to redmine without digging too much into source code?
Any help wold be greatly appreciated.
The actual plugin is up to date. Have a look at the projects git page.
https://github.com/jamtur01/redmine_tab
Having tried to use the example for php/mysql at http://jstree.com/demos I have realized that I needed extra functionality and as well noticed that this works only with PHP 5 due to some errors that Firebug was prompting for the output. I then started to look for more documentation on jstree and found in here someone suggesting to review the example on the following page:
http://luban.danse.us/jazzclub/javascripts/jquery/jsTree/reference/_examples/7_full.html
I did find it very close to what I need for a personal project, however the example is fixed for one DB interaction from what I was able to see in the core dependencies (full/script.js). I'm trying to port this example to PHP 5, but at the moment just would like to know if there is a possibility to extend this to use new plugins such as 'checkbox' even-though this is an earlier version.
I've posted this question in the forums to see if there is any possibility to recreate a PHP/mySQL example using the 'contextmenu' and as well the options at the top of the panel, but since this apparently is not supported by what I was able to understand from the documentation, I thought perhaps someone have tried something similar to this?
Thanks in advance,
JP-