понедельник, 30 мая 2011 г.

Moss site creation error: Provisioning did not succeed. Failed to create the 'Workflow Tasks' library in CreateApprovalTaskList

Moss site creation error: Provisioning did not succeed. Failed to create the 'Workflow Tasks' library in CreateApprovalTaskList

Solution: check that owstimer service is running and has enought rights.

четверг, 24 марта 2011 г.

Как победить все грабли запуска Django 1.3 на windows 7 x64

1. Ставим python 2.7

2. Запускаем regedit как администратор.

3. Копируем все

из HKEY_LOCAL_MACHINE\SOFTWARE\Python

в HKEY_LOCAL_MACHINE\SOFTWARE\Wow6432Node\Python

4. Удаляем все разделы содержащее кириллические символы в названии из HKEY_CLASSES_ROOT\MIME\Database\Content Type

5. Устанавливаем PIL-1.1.7.win-amd64-py2.7.‌exe отсюда http://www.lfd.uci.edu/~gohlke/pythonlibs/

6/ Устанавливаем джангу.

оргазмируем

вторник, 8 февраля 2011 г.

cryptocipher install fix

cabal install cryptocipher
Resolving dependencies...
Configuring cryptocipher-0.2.3...
Preprocessing library cryptocipher-0.2.3...
Preprocessing executables for cryptocipher-0.2.3...
Building cryptocipher-0.2.3...
[1 of 8] Compiling Number.Serialize ( Number/Serialize.hs, dist/build/Number/Serialize.o )
[2 of 8] Compiling Number.Generate  ( Number/Generate.hs, dist/build/Number/Generate.o )
[3 of 8] Compiling Number.ModArithmetic ( Number/ModArithmetic.hs, dist/build/Number/ModArithmetic.o )
[4 of 8] Compiling Crypto.Cipher.DSA ( Crypto/Cipher/DSA.hs, dist/build/Crypto/Cipher/DSA.o )
[5 of 8] Compiling Crypto.Cipher.RSA ( Crypto/Cipher/RSA.hs, dist/build/Crypto/Cipher/RSA.o )

Crypto/Cipher/RSA.hs:103:35:
    No instance for (Control.Monad.Error.Class.Error Error)
      arising from a use of `>>=' at Crypto/Cipher/RSA.hs:103:35-56
    Possible fix:
      add an instance declaration for
      (Control.Monad.Error.Class.Error Error)
    In the expression: dp pk c >>= unpadPKCS1
    In the definition of `decrypt':
        decrypt pk c
                  | B.length c /= (private_sz pk) = Left MessageSizeIncorrect
                  | otherwise = dp pk c >>= unpadPKCS1
                  where
                      dp = if private_p pk /= 0 && private_q pk /= 0 then
                               dpFast
                           else
                               dpSlow
cabal: Error: some packages failed to install:
cryptocipher-0.2.3 failed during the building phase. The exception was:
ExitFailure 1

FIX: cabal install mtl

четверг, 20 января 2011 г.

Замена TextMate для Ubuntu в 4 строки

sudo apt-get install gedit-plugins

sudo apt-add-repository ppa:ubuntu-on-rails/ppa

sudo apt-get update

sudo apt-get install gedit-gmate

 

Долгое время пытался найти замену TextMate и использовать для работы vim и emacs но к сожалению так и не смог избавится от мысли что копаюсь в антиквариате. Gedit сейчас выступает моей основной ide. 

Linux.org.ru News

Вебпланета - все новости

CNews - Издание о высоких технологиях