EBTST - EBT stats tool

Various EBT statistics can be posted here

Moderators: Phaseolus, Fons

User avatar
marty44
Euro-Expert
Euro-Expert
Posts: 685
Joined: Tue Jun 27, 2006 12:33 pm
Location: Mainz, Germany
Contact:

Re: EBTST - EBT stats tool

Post 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
User avatar
gabonik
Euro-Master
Euro-Master
Posts: 1759
Joined: Sat Dec 20, 2008 6:15 pm
Location: Ravenna - Fornace Zarattini - Italia

Re: EBTST - EBT stats tool

Post 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 :(
Davide992
Euro-Newbie
Euro-Newbie
Posts: 33
Joined: Fri May 27, 2016 5:32 pm
Location: Mantova (IT)

Re: EBTST - EBT stats tool

Post 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 :note-20: 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 :cry:
luckbox
Euro-Regular
Euro-Regular
Posts: 260
Joined: Fri Aug 05, 2011 10:20 am

Re: EBTST - EBT stats tool

Post 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 :note-20: 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.
User avatar
marty44
Euro-Expert
Euro-Expert
Posts: 685
Joined: Tue Jun 27, 2006 12:33 pm
Location: Mainz, Germany
Contact:

Re: EBTST - EBT stats tool

Post 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.
User avatar
Sky
Euro-Expert
Euro-Expert
Posts: 650
Joined: Mon Mar 23, 2015 6:21 pm
Location: Rome
Contact:

Re: EBTST - EBT stats tool

Post 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?
Daniele Brundu – EBTCheck

Hit: :flag-it: × 15, :flag-de: × 3, :flag-at: × 2, :flag-be: × 2, :flag-nl: × 2, :flag-fr: × 1
User avatar
marty44
Euro-Expert
Euro-Expert
Posts: 685
Joined: Tue Jun 27, 2006 12:33 pm
Location: Mainz, Germany
Contact:

Re: EBTST - EBT stats tool

Post 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
User avatar
Sky
Euro-Expert
Euro-Expert
Posts: 650
Joined: Mon Mar 23, 2015 6:21 pm
Location: Rome
Contact:

Re: EBTST - EBT stats tool

Post by Sky »

I know only PHP of those :\
Daniele Brundu – EBTCheck

Hit: :flag-it: × 15, :flag-de: × 3, :flag-at: × 2, :flag-be: × 2, :flag-nl: × 2, :flag-fr: × 1
User avatar
dserrano5
Euro-Master
Euro-Master
Posts: 3773
Joined: Sun Jan 31, 2010 11:59 am
Location: Madrid, ES

Re: EBTST - EBT stats tool

Post 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 :note-20: 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 :cry:
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.
Davide992
Euro-Newbie
Euro-Newbie
Posts: 33
Joined: Fri May 27, 2016 5:32 pm
Location: Mantova (IT)

Re: EBTST - EBT stats tool

Post 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.
User avatar
dserrano5
Euro-Master
Euro-Master
Posts: 3773
Joined: Sun Jan 31, 2010 11:59 am
Location: Madrid, ES

Re: EBTST - EBT stats tool

Post 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…
User avatar
marty44
Euro-Expert
Euro-Expert
Posts: 685
Joined: Tue Jun 27, 2006 12:33 pm
Location: Mainz, Germany
Contact:

Re: EBTST - EBT stats tool

Post 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
edazas
Euro-Newbie
Euro-Newbie
Posts: 19
Joined: Thu Feb 19, 2015 8:35 pm
Location: Germany

Re: EBTST - EBT stats tool

Post 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.
User avatar
dserrano5
Euro-Master
Euro-Master
Posts: 3773
Joined: Sun Jan 31, 2010 11:59 am
Location: Madrid, ES

Re: EBTST - EBT stats tool

Post 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.
Davide992
Euro-Newbie
Euro-Newbie
Posts: 33
Joined: Fri May 27, 2016 5:32 pm
Location: Mantova (IT)

Re: EBTST - EBT stats tool

Post by Davide992 »

As posted on the :flag-it: forum, I eventually managed to have EBTST up and running on localhost, and added support for all :flag-eu: 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?
Post Reply

Return to “EuroBillTracker Statistics”