Comments (14)
Hi Camilo!
thanks for your feedback. Could you tell me what redmine version are you using?
Regards!
from redmine_chuck_norris.
Redmine 1.2.1.stable (PostgreSQL)
Thanks
from redmine_chuck_norris.
I was able to reproduce the exception by deleting the facts table registers. Could you check if 'chuck_norris_facts' table contains any row? Also, I've just commited a fix to avoid the exception when no fact is found.
from redmine_chuck_norris.
Thanks, that solves the problem, how can i get the facts?
from redmine_chuck_norris.
If you followed the installation notes on README.rdoc, the database migration step should have created the table chuck_norris_facts for you. Please, verify this table exists on your redmine database, and that it contains one or more row.
from redmine_chuck_norris.
Yes i have done all the steps, this is the output of the command:
Migrating redmine_chuck_norris...
== CreateChuckNorrisFacts: migrating =========================================
-- create_table(:chuck_norris_facts)
NOTICE: CREATE TABLE will create implicit sequence "chuck_norris_facts_id_seq" for serial column "chuck_norris_facts.id"
NOTICE: CREATE TABLE / PRIMARY KEY will create implicit index "chuck_norris_facts_pkey" for table "chuck_norris_facts"
-> 0.3577s
== CreateChuckNorrisFacts: migrated (14.2185s) ===============================
== TranslateChuckNorrisFacts: migrating ======================================
-- add_column(:chuck_norris_facts, :lang, :string, {:default=>"en"})
-> 0.0015s
== TranslateChuckNorrisFacts: migrated (1.9454s) =============================
There is data in the table chuck_norris_facts but it doesnt show in the page, and no errors are given in the log
from redmine_chuck_norris.
I still can't reproduce the issue. Please, check also this:
- Verify that the facts table has rows in english and spanish (column lang equals to 'en' and 'es')
- Try to force a fact reloading. Once you enter on the project overview, click the 'Next fact' link.
I'll keep trying to reproduce the problem in my own redmine, and keep you informed.
Regards!
from redmine_chuck_norris.
Thanks, i just look at the table and they has data, but the column lang was empty, so you should give a look at the content loading when setting the language in every row.
redmine=> select * from chuck_norris_facts limit 1;
id | description | lang
----+--------------------------------------------+------
1 | Guns don't kill people, Chuck Norris does. |
(1 row)
I have done an sql update for all rows in the table and now it works ok, what i do was:
redmine=> update chuck_norris_facts set lang = 'en';
UPDATE 7354
and now i have:
redmine=> select * from chuck_norris_facts where id = 1;
id | description | lang
----+--------------------------------------------+------
1 | Guns don't kill people, Chuck Norris does. | en
(1 row)
from redmine_chuck_norris.
Got similar problem on Postgres. Spanish quotes are loaded with lang set to 'es' and a lot of spaces. English quotes are loaded with a lot of spaces as lang key.
from redmine_chuck_norris.
Thanks for your feedback byteborg. It seems an encoding issue, could you tell me what OS are you using?
Regards!
from redmine_chuck_norris.
Just installed postgres and I'm getting the same issue indeed. I'll keep you informed as soon as I fix it. Thanks again for your interest and sorry for the inconveniences.
Regards!
from redmine_chuck_norris.
I've uploaded a new version that fixes the problem. I'd appreciate it if you could uninstall the plugin and reinstall, and confirm me if everything's ok already.
Thanks!
from redmine_chuck_norris.
Thanks for the fast response. It happens to work now. Neat stuff! Chuck Norris is living in our tracker ;-)
from redmine_chuck_norris.
Thank you for helping us to improve the plugin. Enjoy!
from redmine_chuck_norris.
Related Issues (5)
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 redmine_chuck_norris.