Recent Posts
posted 2 years ago
xabier
10 posts
|
Forum: Instiki – Topic: Debian installation Indeed it worked. Thank you! |
posted 2 years ago
distler
123 posts
|
Forum: Instiki – Topic: Debian installation I think there’s an issue with Rack 3.0. See if this change to your Gemfile helps
|
posted 2 years ago
xabier
10 posts
|
Forum: Instiki – Topic: Debian installation Here we are again… I have just installed Instiki on a machine running Linux Mint Debian Edition 5. Bundling seems OK but when I try to run the program I get this: Traceback (most recent call last): 6: from ./instiki:6:in `<main>' 5: from ./instiki:6:in `load' 4: from /home/xabier/instiki-0.30.3/script/server:56:in `<top (required)>' 3: from /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require' 2: from /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in' 1: from /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `block in require' /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require': cannot load such file -- rack/handler (LoadError) 7: from ./instiki:6:in `<main>' 6: from ./instiki:6:in `load' 5: from /home/xabier/instiki-0.30.3/script/server:55:in `<top (required)>' 4: from /home/xabier/instiki-0.30.3/script/server:58:in `rescue in <top (required)>' 3: from /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require' 2: from /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:547:in `new_constants_in' 1: from /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `block in require' /home/xabier/instiki-0.30.3/vendor/rails/activesupport/lib/active_support/dependencies.rb:182:in `require': cannot load such file -- rack/handler (LoadError) Any help in making some sense of this output? Thanks! |
posted 2 years ago
admin
63 posts
|
Forum: Instiki – Topic: noob backup question If you’re using the (default) sqlite3 database, that’s a plain file in the |
posted 2 years ago
neddy
1 post
|
Forum: Instiki – Topic: noob backup question How do I back up and restore a wiki to a new computer? Looking though the instiki site I could not find this … This may be obvious but I can’t understand how to do it … (I’m an embedded engineer, I can barely spell HTML much less use it) thx |
posted 2 years ago
distler
123 posts
|
Forum: Instiki – Topic: Instiki 0.30.3 While there are a few new features, this is primarily a security release, to deal with an issue uncovered by Christian Sattler. You will need to do a
to update some of the dependencies. |
posted 3 years ago
distler
123 posts
edited 3 years ago |
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly Just a tip: you don’t really need to wrap your SVG in a MathML equation. If all you need is to center the figure,
will suffice (and won’t generate the superfluous MathML wrapper). (Even better, edit the CSS tweaks for your Web, to add a
Then this could be abbreviated to
) |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly Ohh. That was a stupid miss on my part. I never thought to look at ids! I changed them and it all works fine now. Thanks a lot |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly Just so we’re clear, Instiki takes care to uniquify the |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly Sorry. I guess I misunderstood what you are doing. Instiki allows the inclusion of Tikz source (either inline or via You’ve created two SVG fragments by some means or other. It doesn’t matter whether you put them inline or via Fix your This again, has nothing to do with Instiki, its support for Tikz or for SVG. It’s basic X(HT)ML. |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly Please find here the link to the page. And the link to the two individual figures: fig1, fig2 |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly I have pages with multiple Tikz-generated images. So I don’t know what your problem is. Perhaps if you porvided a link … |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Page with multiple SVGs doesn't render properly I have a page which includes two SVG images that were generated by tikz and then converted to SVG online. Both of them render perfectly if they are the only images on the page. But when both of them are included, the second image does not render correctly at all. All the math in the image is wrong and includes weird symbols. Is there a fix for this? |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: tex2svg on Heroku Thanks a lot! This works for now. I will ask in Heroku forums in case the timeouts grow inconvenient. |
posted 3 years ago
admin
63 posts
|
Forum: Instiki – Topic: tex2svg on Heroku If you’re using the “free” level of service at Heroku, then timeouts can be a problem. It takes a while for Heroku to spin up a Dyno. Just try editing the page again. Once tex2svg is up and running, it should respond very quickly. As to setup, there are many ways to do it. The simplest is simply to have two Heroku apps that talk to each other over http(s). So, e.g., in Instiki’s
This configuration can suffer from the timeout issue just mentioned. Better would be to have them both running in the same Heroku instance. But that’s a Heroku question, not an Instiki question and you’ll get better advice on one of the Heroku forums. |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: tex2svg on Heroku I deployed the tex2svg server on Heroku as per the instruction given here by creating a separate app. What exactly do I now need to put in the |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Heroku hosting fails It works now! Thanks! |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: SVG editor doesn't work The problem isn’t on the browser end, but rather on the server end. Instiki is misinterpreting your browsers request for that file (which resides under |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: Heroku hosting fails Hmm. Looking more closely at your error message, I think this commit might fix your problem. Dunno what the source of the extra space is, but that seems to be the cause of Heroku’s complaints. |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Heroku hosting fails I followed the exact instructions on the site. The Gemfile.lock that I can see on my machine also doesn’t have the “BUNDLED WITH” line. The code seems to be running BUNDLED_WITHOUT : remote: Running: BUNDLE_WITHOUT=‘development:test’ BUNDLE_PATH=vendor/bundle BUNDLE_BIN=vendor/bundle/bin BUNDLE_DEPLOYMENT=1 BUNDLE_GLOBAL_PATH_APPENDS_RUBY_SCOPE=1 bundle install -j4 But I do not know what BUNDLED_WITH version it is removing in a previous line. None of the files (Gemfile or Gemfile.lock) seem to have either BUNDLED_WITH or the BUNDLED_WITHOUT line. I found a dicussion on stackoverflow but the accepted answer says the same thing the log file says. I did not run bundle install at any point. |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: SVG editor doesn't work No I do not have any wiki (web) of that name. Or even a page. I got the same error when I tried it with different browsers also (with and without any extensions/addons). |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: SVG editor doesn't work Do you have a Web named “svg-edit”? |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: Heroku hosting fails Clearly you are trying to use the wrong Try following these instructions. |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Heroku hosting fails I tried it again and got this error: —–> Building on the Heroku-20 stack —–> Determining which buildpack to use for this app —–> Ruby app detected —–> Installing bundler 1.17.3 —–> Removing BUNDLED WITH version in the Gemfile.lock —–> Compiling Ruby/Rack —–> Using Ruby version: ruby-2.7.1 —–> Installing dependencies using bundler 1.17.3
! ! Failed to install gems via Bundler. ! ! Push rejected, failed to compile Ruby app. ! Push failed I am not sure now if this was a problem from my side. |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: SVG editor doesn't work When I try to add an SVG graphic in a page using the Create SVG button, the popup windows doesn’t display anything. From the log it seems that it is unable find the css file Processing WikiController#editor (for 127.0.0.1 at 2021-09-25 09:55:03) [GET] Parameters: {“web”=>“svg-edit”, “id”=>“jgraduate/css/jGraduate.css”} Rendering template within layouts/error Filter chain halted as [:connect_to_model] rendered_or_redirected. Completed in 4ms (View: 1, DB: 3) | 404 Not Found [http://localhost/svg-edit/editor/jgraduate/css/jGraduate.css] Could someone please look into the issue and help? |
posted 3 years ago
distler
123 posts
|
Forum: Instiki – Topic: Heroku hosting fails Hmm. Yes, it looks like the |
posted 3 years ago
bcs
11 posts
|
Forum: Instiki – Topic: Heroku hosting fails I followed the instructions on the instiki site to create and host a wiki on heroku. But there seems to be an error which is probably to do with the gemfile? Here is the build log —–> Building on the Heroku-20 stack —–> Determining which buildpack to use for this app —–> Ruby app detected —–> Installing bundler 1.17.3 —–> Removing BUNDLED WITH version in the Gemfile.lock —–> Compiling Ruby/Rack —–> Using Ruby version: ruby-2.7.1 —–> Installing dependencies using bundler 1.17.3
! ! Failed to install gems via Bundler. ! ! Push rejected, failed to compile Ruby app. ! Push failed Could someone help with this issue? |
posted 3 years ago
distler
123 posts
|
Forum: tex2svg – Topic: Announcing tex2svg Actually, with tex2svg 1.0.12, the size of the Docker image has shrunk to 1.09 GB. |
posted 3 years ago
distler
123 posts
|
Forum: tex2svg – Topic: Announcing tex2svg With the aid of this optional add-on, Instiki (and this forum) can process embedded Tikz code to produce SVG figures. Think of it as a non-WYSIWYG alternative to SVG-Edit. You can get the code from Github. The easiest way to run it is as a Docker container. The Docker image is 2.14 GB, which is on the large side, but not as large as a full Texlive installation. Instructions for integrating it with Instiki are here. |
posted 4 years ago
admin
63 posts
|
Forum: Instiki – Topic: ubuntu upgrade broke instiki You will need to upgrade to the latest Instiki if you want to run on Ruby 2.7. The Instiki website is running on Ruby 2.7.1. |