Skip to content

Instantly share code, notes, and snippets.

View caduguedess's full-sized avatar
🏠
Working from home

Carlos caduguedess

🏠
Working from home
View GitHub Profile
@caduguedess
caduguedess / gist:4cd6d9205f741e105722d53451bb46c2
Created July 3, 2019 22:42
bundle exec rake test:db --trace
View gist:4cd6d9205f741e105722d53451bb46c2
carlos@carlos-Inspiron-7773:~/openstreetmap-website$ bundle exec rake test:db --trace
The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
** Invoke test:db (first_time)
** Invoke db:test:prepare (first_time)
** Invoke db:load_config (first_time)
** Invoke environment (first_time)
** Execute environment
** Execute db:load_config
** Execute db:test:prepare
** Invoke db:test:load (first_time)
View gist:ccf911088775eaf644893352be23e865
Error:
UserChangesetCommentsTest#test_displaying_form:
ActionView::Template::Error: couldn't find file 'settings.local.yml'
Checked in these paths:
/home/carlos/openstreetmap-website/app/assets/favicons
/home/carlos/openstreetmap-website/app/assets/images
/home/carlos/openstreetmap-website/app/assets/javascripts
/home/carlos/openstreetmap-website/app/assets/opensearch
/home/carlos/openstreetmap-website/app/assets/stylesheets
/home/carlos/openstreetmap-website/vendor/assets/bootstrap
View gist:5018e16746c538628e8060c135c42a40
carlos@carlos-Inspiron-7773:~/openstreetmap-website$ bundle exec rake test:db
The HashDiff constant used by this gem conflicts with another gem of a similar name. As of version 1.0 the HashDiff constant will be completely removed and replaced by Hashdiff. For more information see https://github.com/liufengyun/hashdiff/issues/45.
set_config
------------
(1 row)
[Coveralls] Set up the SimpleCov formatter.
[Coveralls] Using SimpleCov's 'rails' settings.
Run options: --seed 29739
@caduguedess
caduguedess / gist:15dd5728a59b78485ada46fe0301382e
Created July 8, 2019 15:57
renderd -f -c /usr/local/etc/renderd.conf
View gist:15dd5728a59b78485ada46fe0301382e
carlos@carlos-Inspiron-7773:/usr/local/etc$ renderd -f -c /usr/local/etc/renderd.conf
renderd[7126]: Rendering daemon started
renderd[7126]: Initiating request_queue
renderd[7126]: Parsing section renderd
renderd[7126]: Parsing render section 0
renderd[7126]: Parsing section mapnik
renderd[7126]: Parsing section ajt
renderd[7126]: config renderd: unix socketname=/var/run/renderd/renderd.sock
renderd[7126]: config renderd: num_threads=4
renderd[7126]: config renderd: num_slaves=0
View gist:1388a8862387b1f43a395e3bd2ef46dc
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
View gist:91833b6782897a7d12b4f581c94240ff
Routing Error
No route matches [GET] "/land.html"
Rails.root: /home/carlos/openstreetmap-website
Application Trace | Framework Trace | Full Trace
actionpack (5.2.3) lib/action_dispatch/middleware/debug_exceptions.rb:65:in `call'
actionpack (5.2.3) lib/action_dispatch/middleware/show_exceptions.rb:33:in `call'
railties (5.2.3) lib/rails/rack/logger.rb:38:in `call_app'
View gist:9f5e4ccb9b343bb7f7ce21a2ca589d88
class Notifier < ActionMailer::Base
default :from => Settings.email_from,
:return_path => Settings.email_return_path,
:auto_submitted => "auto-generated"
helper :application
before_action :set_shared_template_vars
before_action :attach_project_logo
def signup_confirm(user, token)
with_recipient_locale user do
View gist:601442967206f47910b748045f06ee4a
# The server protocol and host
server_protocol: "http"
server_url: "openstreetmap.example.com"
# Publisher
#publisher_url: ""
# The generator
generator: "OpenStreetMap server"
copyright_owner: "OpenStreetMap and contributors"
attribution_url: "http://www.openstreetmap.org/copyright"
license_url: "http://opendatacommons.org/licenses/odbl/1-0/"
View ors.log
2020-05-05 03:44:34,961 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Can't decode srtm_28_17.tif
2020-05-05 03:44:34,969 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: Couldn't process file data/osm_file.pbf, error: Can't decode srtm_28_17.tif
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_252]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_252]
at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.1.0]
at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.1.0]
at org.heigit.ors.servlet.listeners.ORSInitContextListener.lambda$contextInitialized$0(ORSInitContextListener.java:40) ~[classes/:6.1.0]
at java.lang.Thread.run(Thread.java:748
View ors.log
2020-05-06 15:34:51,302 ERROR [routing.RoutingProfileManager] - java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.carrotsearch.hppc.BufferAllocationException: Not enough memory to allocate new buffers: 3,771,757 -> 5,657,635
2020-05-06 15:34:51,304 ERROR [routing.RoutingProfileManager] - Failed to initialize RoutingProfileManager instance.
java.util.concurrent.ExecutionException: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.carrotsearch.hppc.BufferAllocationException: Not enough memory to allocate new buffers: 3,771,757 -> 5,657,635
at java.util.concurrent.FutureTask.report(FutureTask.java:122) ~[?:1.8.0_252]
at java.util.concurrent.FutureTask.get(FutureTask.java:192) ~[?:1.8.0_252]
at org.heigit.ors.routing.RoutingProfileManager.initialize(RoutingProfileManager.java:162) ~[classes/:6.1.0]
at org.heigit.ors.routing.RoutingProfileManager.getInstance(RoutingProfileManager.java:57) ~[classes/:6.1.0]
at org.heigit.ors