Page 50 of 53
Re: EBTST - EBT stats tool
Posted: Tue May 17, 2016 9:28 pm
by marty44
dserrano5 wrote:Lost interest. Hey the tool is open source
I tried it some time ago. But I have very little knowledge of Perl, etc.
Also it seems to be a conflict with Mojolicious. When I tried to start, it always said something like: the start command ist not correct/out of date.
I think I will try it again some time
marty
Re: EBTST - EBT stats tool
Posted: Wed May 18, 2016 10:43 am
by gabonik
marty44 wrote:dserrano5 wrote:Lost interest. Hey the tool is open source
I tried it some time ago. But I have very little knowledge of Perl, etc.
Also it seems to be a conflict with Mojolicious. When I tried to start, it always said something like: the start command ist not correct/out of date.
I think I will try it again some time
marty
Then, if I have understood well, won't the site be adjourned anymore?
gabonik
Re: EBTST - EBT stats tool
Posted: Fri May 27, 2016 6:05 pm
by Davide992
I'm having trouble setting up a local test server, too...
Looking at the code in dserrano5's GitHub repository, it seems that the "Bad serial number" error for R/R and W/W
notes can be fixed by adding R and W to the accepted start letters for Europa notes, but I can't be sure until I can set up a local test environment
Re: EBTST - EBT stats tool
Posted: Tue Jul 26, 2016 12:30 pm
by luckbox
dserrano5 wrote:luckbox wrote:Too bad that the tool hasn't been updated this year.
Plates are up to date AFAIK.
luckbox wrote:Busy times for dserrano5?
Lost interest. Hey the tool is open source
Too bad, I think your site was best the statistics tool we ever had on EBT. Thank you for all the time you spent on the tool! I don't have any experience with programming websites.
I don't know where it goes wrong but on the bad notes page (
https://dserrano5.es/ebt/ebtst/bad_notes) I see all the R/R and W/W
I entered since January this year with the error message "Bad serial number". Combinations like R002/RA00, R003/RA15, R010/RB01, R013/RB32 and W001/WA01.
Re: EBTST - EBT stats tool
Posted: Tue Jul 26, 2016 6:36 pm
by marty44
I'm currently programming an alternative EBTST. It generates already a few HTML pages, but it is very slow. I don't know if I will ever finish it, but if so then I will inform the forum.
Re: EBTST - EBT stats tool
Posted: Wed Jul 27, 2016 9:34 am
by Sky
marty44 wrote:I'm currently programming an alternative EBTST. It generates already a few HTML pages, but it is very slow. I don't know if I will ever finish it, but if so then I will inform the forum.
Which language and database have you used?
Re: EBTST - EBT stats tool
Posted: Wed Jul 27, 2016 5:23 pm
by marty44
I use a little bit PHP for the upload forms, the rest runs offline via a cronjob
Program is written in C. Database is PostgreSQL
Re: EBTST - EBT stats tool
Posted: Wed Jul 27, 2016 11:15 pm
by Sky
I know only PHP of those :\
Re: EBTST - EBT stats tool
Posted: Thu Jul 28, 2016 8:06 am
by dserrano5
Davide992 wrote:I'm having trouble setting up a local test server, too...
What trouble?
Looking at the code in dserrano5's GitHub repository, it seems that the "Bad serial number" error for R/R and W/W
notes can be fixed by adding R and W to the accepted start letters for Europa notes, but I can't be sure until I can set up a local test environment
Yes, it's mostly small things. The problem is that my head tends to forget stuff and I usually have to start from scratch each time. Or maintain a knowledge base of every single event in my life, which I haven't even tried because it's pretty ridiculous.
Re: EBTST - EBT stats tool
Posted: Tue Aug 09, 2016 12:05 pm
by Davide992
dserrano5 wrote:Davide992 wrote:I'm having trouble setting up a local test server, too...
What trouble?
I had to edit the
ebtst.pl script, as the
start command seems to have been deprecated and now removed. The last line then looked like this:
Code: Select all
Mojolicious::Commands->start_app ('daemon', '--listen' => 'http://localhost:8080');
But the
restart.sh script gave this output:
Code: Select all
Can't load application from file "~/ebtst/script/ebtst.pl": Can't find application class "daemon" in @INC.
Trying to replace
daemon with
EBTST yielded this output instead:
Code: Select all
Can't load application from file "~/ebtst/script/ebtst.pl": Can't locate object method "secret" via package "EBTST" at /Library/Perl/5.18/Mojo/Server.pm line 17.
Re: EBTST - EBT stats tool
Posted: Tue Aug 09, 2016 8:25 pm
by dserrano5
Hmm. At dserrano5.es I'm using:
Code: Select all
$ grep VERSION /opt/perl-5.14.2/lib/site_perl/5.14.2/Mojolicious.pm
our $VERSION = '3.06';
That might be related…
Re: EBTST - EBT stats tool
Posted: Sun Aug 14, 2016 11:10 am
by marty44
Hello,
I have the first four subsites working.
I'm searchinf for someone who would like to test. Good would be a user with more than 100000 notes
Please send me a private message if you are interested to do a test
marty
Re: EBTST - EBT stats tool
Posted: Tue Sep 06, 2016 8:50 pm
by edazas
Hello dserrano5,
I tried to setup some test environment, but seems is not so easy as it has dependencies to older versions of libs. But I guess I just need more time for this...
Anyway did brief review of of the code. And seems the configuration of printers are in the file ebtst/sample-config/ebt2.cfg (not sure how how much it is in sync with dserrano5.es)
The one that is in git is showing:
Code: Select all
<year_to_series>
2002 = 2002
2013 = europa
</year_to_series>
<countries>
D = ee
E = sk
F = mt
G = cy
H = si
L = fi
M = pt
N = at
P = nl
S = it
T = ie
U = fr
V = es
X = de
Y = gr
Z = be
</countries>
<printers>
<2002>
D = fi,Setec Oy
E = fr,François Charles Oberthur Fiduciaire
F = at,Österreichische Nationalbank
G = nl,Johan Enschedé
H = uk,De La Rue (Gateshead)
J = it,Banca d'Italia
K = ie,Banc Ceannais na hÉireann
L = fr,Banque de France
M = es,Fábrica Nacional de Moneda y Timbre
N = gr,Ίδρυμα Εκτύπωσης Τραπεζογραμματίων και Αξιών
P = de,Giesecke & Devrient (München/Leipzig)
R = de,Bundesdruckerei
T = be,Banque Nationale de Belgique
U = pt,Valora
</2002>
<europa>
#D = pl,Polska Wytwórnia Papierów Wartościowych
#E = fr,François Charles Oberthur Fiduciaire
#H = uk,De La Rue (Loughton)
#J = uk,De La Rue (Gateshead)
#M = pt,Valora
N = at,Österreichische Banknoten und Sicherheitsdruck
#P = nl,Johan Enschedé
#R = de,Bundesdruckerei
S = it,Banca d'Italia
#T = ie,Banc Ceannais na hÉireann
U = fr,Banque de France
V = es,Fábrica Nacional de Moneda y Timbre
#W = de,Giesecke & Devrient (Leipzig)
#X = de,Giesecke & Devrient (München)
#Y = gr,Ίδρυμα Εκτύπωσης Τραπεζογραμματίων και Αξιών
Z = be,Banque Nationale de Belgique
</europa>
</printers>
So it would be nice if you could at the beginning just update the the config file uncommenting a printers in europa series W, R and M.
Re: EBTST - EBT stats tool
Posted: Sat Sep 10, 2016 6:22 am
by dserrano5
edazas wrote:Hello dserrano5,
So it would be nice if you could at the beginning just update the the config file uncommenting a printers in europa series W, R and M.
Little testing has been done. I'm afraid that by uncommenting that and going on with my life, it will leave the app in a broken state, requiring me to abandon my life for an unspecified amount of time until fixed.
Re: EBTST - EBT stats tool
Posted: Sat Feb 18, 2017 2:10 pm
by Davide992
As posted on the
forum, I eventually managed to have EBTST up and running on localhost, and added support for all
printers. I only had to edit the regular expressions in
NoteValidator.pm and update the
ebt2.cfg file (as edazas suggested), uncommenting the unsupported printers and adding R and W to the country list. R/R and W/W notes no longer appear as bad notes, and are correctly listed in the huge table, as well as in the Short Codes and Printers pages. Would you consider a pull request on the GitHub repo?