EBTST - EBT stats tool

Various EBT statistics can be posted here

Moderators: Phaseolus, Fons

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

Re: EBTST - EBT stats tool

Postby marty44 » Tue May 17, 2016 9:28 pm

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: 1551
Joined: Sat Dec 20, 2008 6:15 pm
Location: Ravenna - Italia

Re: EBTST - EBT stats tool

Postby gabonik » Wed May 18, 2016 10:43 am

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: 26
Joined: Fri May 27, 2016 5:32 pm
Location: Mantova (IT)

Re: EBTST - EBT stats tool

Postby Davide992 » Fri May 27, 2016 6:05 pm

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 in Training
Euro-Regular in Training
Posts: 140
Joined: Fri Aug 05, 2011 10:20 am

Re: EBTST - EBT stats tool

Postby luckbox » Tue Jul 26, 2016 12:30 pm

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 in Training
Euro-Expert in Training
Posts: 393
Joined: Tue Jun 27, 2006 12:33 pm
Location: Mainz, Germany
Contact:

Re: EBTST - EBT stats tool

Postby marty44 » Tue Jul 26, 2016 6:36 pm

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-Regular
Euro-Regular
Posts: 273
Joined: Mon Mar 23, 2015 6:21 pm
Location: Rome
Contact:

Re: EBTST - EBT stats tool

Postby Sky » Wed Jul 27, 2016 9:34 am

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 – EBTST

Hit: :flag-it: x 5, :flag-be: x 2, :flag-nl: x 1, :flag-de: x 1

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

Re: EBTST - EBT stats tool

Postby marty44 » Wed Jul 27, 2016 5:23 pm

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-Regular
Euro-Regular
Posts: 273
Joined: Mon Mar 23, 2015 6:21 pm
Location: Rome
Contact:

Re: EBTST - EBT stats tool

Postby Sky » Wed Jul 27, 2016 11:15 pm

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

Hit: :flag-it: x 5, :flag-be: x 2, :flag-nl: x 1, :flag-de: x 1

User avatar
dserrano5
Euro-Master
Euro-Master
Posts: 3755
Joined: Sun Jan 31, 2010 11:59 am
Location: Madrid, ES

Re: EBTST - EBT stats tool

Postby dserrano5 » Thu Jul 28, 2016 8:06 am

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: 26
Joined: Fri May 27, 2016 5:32 pm
Location: Mantova (IT)

Re: EBTST - EBT stats tool

Postby Davide992 » Tue Aug 09, 2016 12:05 pm

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: 3755
Joined: Sun Jan 31, 2010 11:59 am
Location: Madrid, ES

Re: EBTST - EBT stats tool

Postby dserrano5 » Tue Aug 09, 2016 8:25 pm

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 in Training
Euro-Expert in Training
Posts: 393
Joined: Tue Jun 27, 2006 12:33 pm
Location: Mainz, Germany
Contact:

Re: EBTST - EBT stats tool

Postby marty44 » Sun Aug 14, 2016 11:10 am

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

Postby edazas » Tue Sep 06, 2016 8:50 pm

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: 3755
Joined: Sun Jan 31, 2010 11:59 am
Location: Madrid, ES

Re: EBTST - EBT stats tool

Postby dserrano5 » Sat Sep 10, 2016 6:22 am

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: 26
Joined: Fri May 27, 2016 5:32 pm
Location: Mantova (IT)

Re: EBTST - EBT stats tool

Postby Davide992 » Sat Feb 18, 2017 2:10 pm

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?


Return to “EuroBillTracker Statistics”

Who is online

Users browsing this forum: No registered users and 3 guests