Comments (18)
I can't reproduce this error, if you already follow through README, you might want to check your database or elasticsearch encoding settings.
What's your ubuntu version?
from twly-voter-guide.
我还是不知道怎么改
from twly-voter-guide.
I still don't know your ubuntu version, have you see any error while run this command
from twly-voter-guide.
怎么改怎么改怎么改
from twly-voter-guide.
have you see any error while run this command
I'll suggest you use docker to setup if you still couldn't figure out.
from twly-voter-guide.
I use docker, I don't know why this mistake
from twly-voter-guide.
while I run 'python manage.py rebuild_index' this command
from twly-voter-guide.
As error message shows, your elasticsearch service didn't start, run sudo service elasticsearch start
to start the service.
Are you using docker? if docker is used, you should run docker-compose run django python manage.py rebuild_index
instead of python manage.py rebuild_index
, it seems you didn't start docker, your django error message of python version it's not the docker settings.
from twly-voter-guide.
There will still be errors
from twly-voter-guide.
What's the error message when you run sudo service elasticsearch start
?
What message when you run curl localhost:9200
?
from twly-voter-guide.
from twly-voter-guide.
It seems you didn't install elasticsearch, please follow through README or using docker, if your didn't follow README environment, I can't help setup of everyone with their different environment, don't waste both our time.
from twly-voter-guide.
我很确信我当时安装了elasticsearch,但是为什么其他都没有问题 就只有bill这个页面出错
from twly-voter-guide.
Only some pages need to access elasticsearch, bill is one of them.
If elasticsearch started, curl localhost:9200
shows something like this:
{
"status" : 200,
"name" : "Storm",
"version" : {
"number" : "1.3.1",
"build_hash" : "2de6dc5268c32fb49b205233c138d93aaf772015",
"build_timestamp" : "2014-07-28T14:45:15Z",
"build_snapshot" : false,
"lucene_version" : "4.9"
},
"tagline" : "You Know, for Search"
}
So please make sure elasticsearch setup didn't appear any error message, or use docker as above.
from twly-voter-guide.
ok,I will try again
from twly-voter-guide.
from twly-voter-guide.
as error message, port 5432 already used in your local machine, you need to stop your service or change to a port you didn't used.
from twly-voter-guide.
我改好了 只要把编码方式改成UTF8就不会出错了
from twly-voter-guide.
Related Issues (20)
- 希望可以做一個功能就是,找出特定一些法案,贊成/反對的立委的聯集,也就是"由法案找立委"的功能
- 增加個人化頁面,可以訂閱某些人,定時跳通知
- 臉書分享個別立委時,只會出現首頁的資訊
- 造福大眾 HOT 1
- 臺南市市徽更正 HOT 5
- 搜尋立委全表決紀錄後,按下一頁會回到未搜尋之總覽 HOT 1
- 手機版網頁,選單無法顯示 HOT 1
- 邀請黨團為其表決的決定說明
- 頁面加入教育性法規供參考
- 立委屆別選單 URL 錯誤 HOT 2
- 投票如何不留使用者資訊,又能需要時提出投票證據 HOT 1
- 表決中的法案無法確切對應
- the srcret_key setting must not be empty HOT 1
- after ptyhon HOT 3
- why I can't open the list? HOT 1
- could not connect to database template1 HOT 1
- ascii codec can't encode characters inposition 0-1 HOT 1
- 第10屆立法委員臺南市選舉區劃分異動
- 2020是否有重啟的打算?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from twly-voter-guide.