Communities

Writing
Writing
Codidact Meta
Codidact Meta
The Great Outdoors
The Great Outdoors
Photography & Video
Photography & Video
Scientific Speculation
Scientific Speculation
Cooking
Cooking
Electrical Engineering
Electrical Engineering
Judaism
Judaism
Languages & Linguistics
Languages & Linguistics
Software Development
Software Development
Mathematics
Mathematics
Christianity
Christianity
Code Golf
Code Golf
Music
Music
Physics
Physics
Linux Systems
Linux Systems
Power Users
Power Users
Tabletop RPGs
Tabletop RPGs
Community Proposals
Community Proposals
tag:snake search within a tag
answers:0 unanswered questions
user:xxxx search by author id
score:0.5 posts with 0.5+ score
"snake oil" exact phrase
votes:4 posts with 4+ votes
created:<1w created < 1 week ago
post_type:xxxx type of post
Search help
Notifications
Mark all as read See all your notifications »

Activity for Trilarion‭

Type On... Excerpt Status Date
Question How can I add post types to a category?
I ran earlier into this in a slightly different way, now I redid the whole QPixel setup but the problem persists: I added a first category to a development instance and wanted to create a first post but realized there are no post types available: Trying to create a post without a post type I...
(more)
almost 3 years ago
Comment Post #285515 ... that would simplify the setup. Also, the README on Github and the setup Q&A are both incomplete with respect to each other. But I'm slowly getting the hang of it, and could probably update both.
(more)
almost 3 years ago
Comment Post #285488 I posted as much of the question as possible (basically nothing with any SQL statement in it) at https://collab.codidact.org/posts/285514. Even the very first line beginning with "(1.6ms) SET NAMES..." is enough to trigger the block (also here in the comments).
(more)
almost 3 years ago
Edit Post #285514 Post edited:
almost 3 years ago
Edit Post #285514 Initial revision almost 3 years ago
Question How to fix NoMethodError: undefined method `id' for nil:NilClass when visiting the QPixel homepage?
Following the set up guide I was able to start rails server and got my very first QPixel page served (see screenshot): Screenshot of the 500 Server Error Unfortunately it was a `500 Server Error`, which I did not expect and which wasn't mentioned in the guide. Attached is part of the console ou...
(more)
almost 3 years ago
Comment Post #285488 See https://collab.codidact.org/comments/thread/5553#comment-15798
(more)
almost 3 years ago
Comment Post #285488 Two more possible ray ids from just now: 6c97676ae9cc4e8b, 6c976ebeee64692b from two different locations. Gist with the question content: https://gist.github.com/Trilarion/759cd28877179b28f9a387d400d47294 Maye it's the amount of SQL queries in the log.
(more)
almost 3 years ago
Comment Post #285488 No, seems to be only a single post.
(more)
almost 3 years ago
Comment Post #285488 Is enabled and I have asked or answered from here before without problems.
(more)
almost 3 years ago
Edit Post #285488 Post edited:
almost 3 years ago
Edit Post #285488 Initial revision almost 3 years ago
Question Why have I been blocked by cloudflare while posting and how can I circumvent it?
This is more a meta issue, but while posting an error report (with a screenshot and lengthy (but still not too long so the post could be send) error log) here, I was not able to successfully post the question (multiple times) but got a block by cloudflare each time instead. Screenshot of the cloud...
(more)
almost 3 years ago
Edit Post #285469 Post edited:
thanks for the answer
almost 3 years ago
Comment Post #285467 ...it's fine. This question is then just for having the problem noted somewhere.
(more)
almost 3 years ago
Comment Post #285468 See https://collab.codidact.org/posts/285481 Also I wonder, why are the tests running through on circle CI? What credentials do they use?
(more)
almost 3 years ago
Edit Post #285481 Initial revision almost 3 years ago
Question How to deal with OpenSSL::Cipher::CipherError when editing QPixel's credentials
On Ubuntu 20.04 (WSL) I wanted to provide an arbitrary, non-empty Stripe API key and following this answer by Art edit the credentials accordingly. ``` export EDITOR=vim bin/rails credentials:edit ``` However, that gave an `OpenSSL::Cipher::CipherError` ``` Traceback (most recent call la...
(more)
almost 3 years ago
Suggested Edit Post #285469 Suggested edit:
thanks for the answer
(more)
helpful almost 3 years ago
Edit Post #285466 Initial revision almost 3 years ago
Answer A: How to circumvent Stripe::AuthenticationError: No API key provided
As a quick fix one can remove test `should create PaymentIntent` from `DonationsControllerTest` which may backfire later on, but gets you one step further for the time being.
(more)
almost 3 years ago
Edit Post #285465 Initial revision almost 3 years ago
Question How to solve ActionView::Template::Error: Database missing time zone support for Etc/UTC in ReportsControllerTest
I ran tests (`bin/rails test`) and got ``` Error: ReportsControllerTest#testeveryrouteshouldworkformoderators: ActionView::Template::Error: Database missing time zone support for Etc/UTC - see https://github.com/ankane/groupdate#for-mysql app/views/reports/users.html.erb:17:in `appviewsrep...
(more)
almost 3 years ago
Edit Post #285464 Post edited:
almost 3 years ago
Edit Post #285464 Initial revision almost 3 years ago
Question How to solve Magick::ImageMagickError: no decode delegate for this image format in AdvertisementControllerTest#test_image_paths_should_return_png
I ran tests (`bin/rails test`) and got ``` Error: AdvertisementControllerTest#testimagepathsshouldreturnpng: Magick::ImageMagickError: no decode delegate for this image format `' @ error/constitute.c/ReadImage/572 app/helpers/advertisements/codidacthelper.rb:23:in `annotate' app/helpe...
(more)
almost 3 years ago
Comment Post #285457 An ERB file is something like a template (i.e. HTML with special placeholders that are filled with content of variables at runtime and give (render) a web page that is served, so mostly responsible for layout). I can also try other stuff, even try to fix the problem or get a Stripe API key and pro...
(more)
almost 3 years ago
Comment Post #285409 It's fine. I will wait until setting up a development instance is smoothly and then repeat the exercise and add to the collab guide/readme.
(more)
almost 3 years ago
Edit Post #285410 Post edited:
almost 3 years ago
Edit Post #285410 Initial revision almost 3 years ago
Question How to circumvent Stripe::AuthenticationError: No API key provided
I want to setup a local QPixel instance (WSL - Ubuntu 20.04) and am following the guide by luap42. Finally I get an error `Stripe::AuthenticationError: No API key provided. Set your API key using "Stripe.apikey = ".` in DonationsControllerTest. ```Error: DonationsControllerTest#testshouldcreat...
(more)
almost 3 years ago
Edit Post #285409 Initial revision almost 3 years ago
Answer A: How to solve Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379?
Likely Redis server is not running. Start with `sudo systemctl start redis-server.service` or with `sudo service redis-server start` or with `redis-server`. Check with `redis-cli` and inserting "ping" in the prompt, receiving "PONG". See for example Redis Quickstart or How to install and config...
(more)
almost 3 years ago
Edit Post #285407 Post edited:
almost 3 years ago
Edit Post #285407 Post edited:
almost 3 years ago
Edit Post #285407 Initial revision almost 3 years ago
Question How to solve Redis::CannotConnectError: Error connecting to Redis on 127.0.0.1:6379?
I tried to setup a local QPixel instance (WSL - Ubuntu 20.04) and followed the guide by luap42. I finally run `rails -s` and got ```/usr/lib/ruby/2.7.0/fileutils.rb:105: warning: already initialized constant FileUtils::VERSION /var/lib/gems/2.7.0/gems/fileutils-1.6.0/lib/fileutils.rb:105: warn...
(more)
almost 3 years ago
Comment Post #283850 Try `service mysql status` and it will probably be stopped. For me on Ubuntu `sudo /etc/init.d/mysql restart` worked.
(more)
almost 3 years ago
Suggested Edit Post #283848 Suggested edit:
better formatting, removed a few unnecessary phrases
(more)
helpful almost 3 years ago
Edit Post #285277 Post edited:
almost 3 years ago
Comment Post #285277 Like for the development of the software and the communities. For example Monica could write what she would like to see for the community and Art what we would like to see for the software or whatever you would like to write about.
(more)
almost 3 years ago
Edit Post #285277 Initial revision almost 3 years ago
Question Is there a QPixel development roadmap somewhere or can we have one?
One user gave feedback that he/she would be interested in seeing some kind of roadmap for the development (of Codidact). One aspect of that would surely be a development roadmap of QPixel. I know that with volunteers everything is more uncertain and may happen faster, slower or not at all, but at lea...
(more)
almost 3 years ago
Edit Post #285207 Post edited:
almost 3 years ago
Edit Post #285207 Initial revision almost 3 years ago
Question What can Co-Design learn from other CSS frameworks?
The Co-Design homepage shows the various elements of Co-Design very nicely and explains the usage. From my experience with other CSS frameworks like Bootstrap or Bulma, it's quite on par feature wise and could be used also outside of QPixel. One possible question would be, if Co-Design can still lear...
(more)
almost 3 years ago
Comment Post #285192 @Istiak "I don't think anyone comments in code for web designing and web development." I hope that this is not (completely) true. Usually no comments does not work for more than single person projects and even for them only if they never have to look back at their code after say six months. "web desi...
(more)
almost 3 years ago
Edit Post #285192 Initial revision almost 3 years ago
Question Desired state of code documentation
Was having a look at the QPixel code base and comments in code seem to be relatively scarce. It might be that documentation about the code is stored somewhere else with Ruby or that the general level of code documentation is relatively low currently. I also know that people have quite different views...
(more)
almost 3 years ago
Suggested Edit Post #280492 Suggested edit:
added link to wiki page about test cases
(more)
helpful almost 3 years ago