view · edit · sidebar · attach · print · history




  • Test injecting an invoice in ydim
  • Missing evidentia icon
  • Keep in Mind



Missing evidentia icon

Must add the icon for text changes. Why does the link not display correctly?

Had to add

 RubyAddPath /usr/local/lib64/ruby/gems/1.9.1/gems/rclconf-1.0.0/lib





to start up correctly.

The Icon is displayed, but too large. Zeno uploaded the correct Icon 32x32px to github, see

Test injecting an invoice in ydim

Added some debug output and renamed the migrate files to start with their gem name. Pushed commits

After a log-in in I do not see any customers. I ran




again. Now all customers show up correctly. ;)

setting the invoicer to start after 5 seconds, adding

 secs = 5

on line 103 in file


Running the invoicer of by starting bbmb from the commandline.

 sudo -u bbmb /usr/local/bin/ruby231  -I/var/www/ -rydim/invoice /usr/local/bin/bbmbd config=/var/www/

results in SUCCESS invoice was injected to PDF was created correctly.

Added in bbmb bin/update_articles_and_products. Tested it calling

sudo -u bbmb /usr/local/bin/update_articles_and_products config=/var/www/
FEHLER:  Relation »object« existiert bereits
usr/local/lib/ruby/gems/2.3.0/gems/bbmb-2.0.3/bin/update_articles_and_products:31: warning: already initialized constant BBMB::VERSION
/usr/local/lib/ruby/gems/2.3.0/gems/bbmb-2.0.3/lib/bbmb/version.rb:5: warning: previous definition of VERSION was here
2016-06-15 13:48:34 +0200: Calling update
Replaced sendmail by puts for subject: Bbmb(Sandoz): (<unknown>): did not find expected alphabetic or numeric character while scanning an alias at line 4 column 15
2016-06-15 13:48:34 +0200: Finished update

The Error

 did not find expected alphabetic or numeric character while scanning an alias

comes from an invalid yaml file. Install the yamllint gem and then validate the



 glob_pattern: *.txt

should be

 glob_pattern: "*.txt"

created dir


and added the files from fast

 Artikel.txt and Kunden.txt.

and also done

 sudo chown -R apache:apache /var/www/

then ran updater again

 sudo -u apache /usr/local/bin/update_articles_and_products config=/var/www/

that resulted in

 2016-06-15 20:10:37 +0200: Calling update
 D, [2016-06-15T20:11:06.187005 #24972] DEBUG -- updater: ProductImporter imported 1028 entities
 D, [2016-06-15T20:11:40.410885 #24972] DEBUG -- updater: CustomerImporter imported 1409 entities
 2016-06-15 20:11:40 +0200: Finished update

The files are now also correctly backuped

 zdavatz@oddb-ci2 /var/www/ $ ls var/backup/
 Artikel.txt  Kunden.txt

Pushed commits

Pending problems are:

view · edit · sidebar · attach · print · history
Page last modified on June 15, 2016, at 09:58 PM