Anders Andreasen Blog

Just another WordPress.com weblog

Archive for March 2010

pydb not working properly on Ubuntu 9.10

with 7 comments

I was trying to use pydb with ddd in order to debug a python script. However when invoking ddd with e.g.
ddd script.py
ddd clamied that it could not find pydb. I tried running pydb from the command line and I was left with a message like
The program 'pydb' is currently not installed. You can install it by typing:
sudo apt-get install pydb
pydb: command not found

Ok, so I tried to install it
sudo apt-get install pydb
Reading package lists... Done
Building dependency tree
Reading state information... Done
pydb is already the newest version.

Hmmm, strange. Google, google, google……….
It turned out that some else had experienced the same problem as me and provided a fix. Apparently the link to pydb in /usr/bin is broken. The fix is
sudo rm /usr/bin/pydb
sudo ln -s /usr/lib/python2.4/site-packages/pydb/pydb.py /usr/bin/pydb

Written by aandreasen

March 18, 2010 at 8:46 pm

Posted in GNU/Linux, Programming, Python, Ubuntu

Tagged with , , ,

Paper accepted for upcoming CIMAC congress in Bergen

leave a comment »

I have co-authored a paper entitled “TWO-STROKE ENGINE EMISSION REDUCTION
TECHNOLOGY: STATE-OF-THE-ART” in collaboration with my colleagues Michael Finch Pedersen and Stefan Mayer from the Process Development Department, Marine Low-Speed, MAN Diesel in Copenhagen. The paper has just been accepted for publication for the 2010 CIMAC congress held in Bergen, Norway, and will be presented by Michael Finch Pedersen at the congress on Tuesday 15th of June in the afternoon after 15.30 in Room B (according to the preliminary programme).

In the paper we present recent results on reducing the emission of pollutants from large two-stroke marine engines. We focus on primary methods, i.e. emission reductions obtained by in-cylinder methods in order to suppress emission formation. The methods presented are retrofit of fuel atomizers, water-in-fuel emulsion (WIF), exhaust gas recirculation (EGR) and a combination of WIF and EGR.