Was this page helpful?

Python

    Testing of Python-based modules

    Suggested procedure:

    1. Do not run tests under root, but user
    2. Use Python2.5
    3. Install CentOS and run script install-python.sh to load everything necessary
    4. Install IntelliJ Idea Ultimate (even 30 day trial) and add Python plugin
    5. Import mooring project & test

    Web services

    Troubleshooting

    Error setting locale, such as:

    Traceback (most recent call last):
      File "/usr/bin/virt-clone", line 36, in ?
        locale.setlocale(locale.LC_ALL, '')
      File "/usr/lib64/python2.4/locale.py", line 381, in setlocale
        return _setlocale(category, locale)
    locale.Error: unsupported locale setting

    Should be solved by adding:

    LC_ALL="en_GB.utf8"

    into /etc/environment

    and rebooting

    Was this page helpful?
    Tag page (Edit tags)
    • No tags
    Page statistics
    2175 view(s), 4 edit(s), and 1413 character(s)

    Comments

    You must login to post a comment.

    Attach file

    Attachments