ActionView::Template::Error (couldn't find file 'jquery.ui.datepicker'
(in /home/raimat/webapps/keita/gems/bundler/gems/active_admin-2ae0a9e09bf9/app/assets/javascripts/active_admin/base.js.coffee:2)):
7: <%= stylesheet_link_tag params[:controller] %>
8: <link rel='stylesheet' href='/assets/typicons.min.css'/>
9:
10: <%= javascript_include_tag "application" %>
11: <%= javascript_include_tag 'ckeditor/ckeditor.js' %>
12:
13:
app/views/layouts/application.html.erb:10:in `_app_views_layouts_application_html_erb__42414357695359850_50936120'
app/controllers/home_controller.rb:15:in `index'
Run Code Online (Sandbox Code Playgroud)
这只发生在我尝试在webfaction(生产和开发)上部署我的应用程序时.我已经在两台不同的本地机器上试过它了,它应该尽可能顺利. 编辑:我在本地计算机上删除了Gemfile.lock,现在我也得到了这个错误.
尝试在rails active admin部署中找到的解决方案:找不到文件'jquery-ui',但我仍然坚持使用该bug.
我在主分支上使用Rails 4.0.2 ActiveAdmin我需要jquery-rails>〜> 3.1.0用于另一个gem
尝试添加宝石jquery-rails-ui
,但仍然没有..
想法?
在拖尾日志时,我不断从webFaction的supervisord获得以下错误:
INFO exited: my_app (exit status 127; not expected)
INFO gave up: my_app entered FATAL state, too many start retries too quickly
Run Code Online (Sandbox Code Playgroud)
这是我的supervisord.conf:
[unix_http_server]
file=/home/btaylordesign/tmp/supervisord.sock
[rpcinterface:supervisor]
supervisor.rpcinterface_factory=supervisor.rpcinterface:make_main_rpcinterface
[supervisorctl]
serverurl=unix:///home/btaylordesign/tmp/supervisord.sock
[supervisord]
logfile=/home/btaylordesign/tmp/supervisord.log
logfile_maxbytes=50MB
logfile_backups=5
loglevel=info
nodaemon=false
pidfile=/home/btaylordesign/tmp/supervisord.pid supervisord.pid
[program:my_app]
directory=/home/btaylordesign/webapps/my_app/my_app
command=celery worker -A my_app --concurrency=3 --loglevel=debug
Run Code Online (Sandbox Code Playgroud)
我从supervisord.conf的同一目录开始监督:
$ supervisord -c ./supervisord.conf
Run Code Online (Sandbox Code Playgroud)
但我似乎无法找到正确的设置组合.我需要做三件事:
但是,在解决错误之前,我无法做任何事情.我究竟做错了什么?
这个问题类似于Postgres 不搜索不区分大小写的 unicode regex
但似乎该upper
功能也不起作用?此外,似乎在服务器 utf8 上编码
我在 CentOS 6 上使用 webfaction 私有 postgres 实例,但不知道如何在创建集群时设置语言环境。
请帮忙,如何解决它。
如何在Webfaction的 CentOS 7(64 位)上运行Deno?
它给出了一个错误:
deno: /lib64/libc.so.6: version `GLIBC_2.18' not found (required by deno)
Run Code Online (Sandbox Code Playgroud) 我在Webfaction上运行此命令:
ionice -c2 -n6 pg_dump --blobs -U mhjohnson_flavma -f dump.sql
pg_dump:SQL命令失败
pg_dump:来自服务器的错误消息:错误:由于语句超时而取消语句
有关如何更改超时的任何想法?
我一直在为我的个人网站选择django CMS,我认为Mezzanine将是最能满足我需求的那个.但是我觉得我不可能在Webfaction上安装它.有各种各样的错误,对于像我这样的菜鸟,这非常令人沮丧.我遵循了这个很棒的指南,http://ijcdigital.com/blog/installing-django-mezzanine-at-webfaction/,这可能是一年前写的.不幸的是,我根本无法通过遵循该指南来实现它.那么有人能为我提供一个更新,更容易遵循的指南,在Webfaction上安装Mezzanine吗?
非常感谢.
我在测试帐户注册表时遇到此错误。我正在使用 django-registration 包。我已准备好所有必要的模板文件。我正在使用 WebFaction 进行托管。我是 Django 和 Python 的初学者。请像我五岁一样跟我说话。
SMTPAuthenticationError at /accounts/register/<br>
(535, '5.7.0 Error: authentication failed: authentication failure')
Environment:
Request Method: POST
Request URL: mywebsite.com/accounts/register/
Django Version: 1.4.1
Python Version: 2.7.3
Installed Applications:
('django.contrib.admin',
'django.contrib.admindocs',
'django.contrib.auth',
'django.contrib.contenttypes',
'django.contrib.humanize',
'django.contrib.messages',
'django.contrib.sessions',
'django.contrib.sites',
'django.contrib.staticfiles',
'registration')
Installed Middleware:
('django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Traceback:
File "/home/fireflyltd/webapps/foster/lib/python2.7/django/core/handlers/base.py" in get_response
111. response = callback(request, *callback_args, **callback_kwargs)
File "build/bdist.linux-x86_64/egg/registration/views.py" in register
187. new_user = backend.register(request, **form.cleaned_data)
File "build/bdist.linux-x86_64/egg/registration/backends/default/__init__.py" in register
79. password, site)
File "/home/fireflyltd/webapps/foster/lib/python2.7/django/db/transaction.py" …
Run Code Online (Sandbox Code Playgroud) 所以我的网站显示正常DEBUG = True
,但当我将其更改为False时,我收到200服务器错误.我一直在阅读,看到500错误是常见的,但我找不到任何200错误.我的local_settings.py文件没有ALLOWED_HOSTS区域,所以我把一个和我的服务器IP地址放在一起,但仍然遇到同样的问题.这是我的追溯.
[2013年5月16日16:21:10] [错误] /home/cleathers89/.envs/beak_mezz/lib/python2.7/site-packages/mezzanine/utils/conf.py:48:用户警告:你还没有定义了Django 1.5所需的ALLOWED_HOSTS设置.将回退到配置为站点的域.
我也查看了conf.py文件,它告诉我错误来自,但我不认为我应该编辑它.我是服务器的总菜鸟,所以任何帮助都会非常感激.
Django
admin url
自动给出,如www.example.com/admin
.我不希望任何外部访问者访问此网址.这应仅在主机中访问并允许IP address
.如果我尝试访问https://instagram.com/admin/
(使用Django
它构建),它给出了404 page not Found error
如何实现相同的行为?
这是什么首选和正确的方法?
我主持我webservice
在webfaction
和允许IP address
主机意味着其他webfaction账户持有者可能可以访问我不想管理URL.寻找一个简洁的方式
谢谢:
PS:我在这里看到了一个类似的问题,但这与PHP有关.我想知道如何才能使用相同的效果Django
?
尝试为我的 django 应用程序简化 webfaction.com 的部署过程,我有一个主(工作副本)和一个开发分支。
目前我正在做以下事情:
显然,我错过了高效的开发列车,据记录,我只作为业余项目使用了 django 几个月。
任何人都可以建议一个更有利于理智开发的 Django 部署过程吗?
webfaction ×10
django ×5
mezzanine ×2
postgresql ×2
activeadmin ×1
celery ×1
centos7 ×1
database ×1
deno ×1
django-admin ×1
hosts ×1
python ×1
python-2.7 ×1
python-3.x ×1
smtp ×1
sql ×1
supervisord ×1
unicode ×1