- Sat 25 May 2013
- brightway2
The primary development environment for Brightway2 is Mac OS X 10.6, but it is also tested on Ubuntu 12.04 LTS on a separate machine and Windows 7 in a virtual machine. Although I have been able to install and use Brightway2 without problems on my Windows installation, others have had difficulties due to string encoding bugs and Windows behavior that wasn't handled correctly.
New feature: log uploads
A number of these bugs have been now been fixed. Changesets 5793b0a and ec29212 introduce the ability to upload logs to the main Brightway2 server, so that error can be centrally collected and analyzed. In addition to bugs, I also want to figure out why some things which are fast for me are slow on other machines, like working with JSON data. A number of input/output functions now have their performance logged.
If you have an error, and want me to look at it, you can now use the following code to upload your logs:
bw2-controller.py upload_logs
You can also add a comment in quotations:
bw2-controller.py upload_logs "I've fallen, and I can't get up"
What about privacy?
Uploading logs is voluntary, and must be done manually. Nevertheless, it is natural to ask about what information is provided. The logs themselves have the following information:
- How long it took to load and process inventory databases and impact assessment methods
- Any new inventory flows that were created during inventory or impact assessment imports
In addition, the upload service collects the following information:
- Your operating system and Python version
- Your JSON library
- Your IP address
Note that no names, filesystem paths, or other identifying information is included. As always, Brightway2 code is open source, and the relevant functions can be found in:
How to upgrade
You can upgrade to the latest version of all Brightway2 packages by opening a terminal window (command shell in Windows), and type the following:
pip install --upgrade --no-deps brightway2 bw2calc bw2analyzer bw2ui bw2data