MetricsGrimoire / Bicho

Bicho is a command line based tool used to parse bug/issue tracking systems
http://metricsgrimoire.github.com/Bicho/
GNU General Public License v2.0
71 stars 31 forks source link

Bicho seems not to work with github in some situations #64

Open jgbarah opened 11 years ago

jgbarah commented 11 years ago

In some cases Bicho does not seem to work. It runs, I see no error, but I find nothing in the database:

bicho -d 1 -b github --db-user-out jgb --db-password-out XXX --db-database-out VizGrimoire_VizGrimoireR_bicho --url https://api.github.com/repos/VizGrimoire/VizGrimoireR/issues --backend-user jgbarah --backend-password XXX Checking URL: https://api.github.com Running Bicho with delay of 1 seconds Done. 7 bugs analyzed Logger ''github'' doesn't exist. No module named issues_log_github

But nothing in the VizGrimoire_VizGrimoireR_bicho database (I had created it beforehand)

However, if I run it as

bicho -d 1 -b github --db-user-out jgb --db-password-out XXX --db-database-out bicho_test --url https://api.github.com/repos/VizGrimoire/VizGrimoireR/issues --backend-user jgbarah --backend-password XXX

I get the same messages, but the database is ok after the run...

Any idea?

canasdiaz commented 11 years ago

On 20/05/13 20:35, Jesus M. Gonzalez-Barahona wrote:

In some cases Bicho does not seem to work. It runs, I see no error, but I find nothing in the database:

bicho -d 1 -b github --db-user-out jgb --db-password-out XXX --db-database-out VizGrimoire_VizGrimoireR_bicho --url https://api.github.com/repos/VizGrimoire/VizGrimoireR/issues --backend-user jgbarah --backend-password XXX Checking URL: https://api.github.com Running Bicho with delay of 1 seconds Done. 7 bugs analyzed Logger ''github'' doesn't exist. No module named issues_log_github

But nothing in the VizGrimoire_VizGrimoireR_bicho database (I had created it beforehand)

However, if I run it as

bicho -d 1 -b github --db-user-out jgb --db-password-out XXX --db-database-out bicho_test --url https://api.github.com/repos/VizGrimoire/VizGrimoireR/issues --backend-user jgbarah --backend-password XXX

I get the same messages, but the database is ok after the run...

Any idea?

Could you please try with a lowercase database name?

Thanks for the feedback Jesús!

— Reply to this email directly or view it on GitHub https://github.com/MetricsGrimoire/Bicho/issues/64.

|_____/| Luis Cañas-Díaz [o] [o] lcanas@bitergia.com - Software Engineer | V | http://www.bitergia.com | | "Bridging the gap between developers and stakeholders" -ooo-ooo-

jgbarah commented 11 years ago

It works with a lowercased database name. Thanks for the help.

However, this is probably a Bicho bug, isn't it? MySQL seems perfectly capable of managing uppercase database names...