I'm on a CentOS VPS trying to install Bespin. Been rough going. When I
try to "paver create_db" and/or "paver start" I get:
Captured Task Output:
---------------------
---> pavement.start
Traceback (most recent call last):
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 164, in _run_task
return do_task()
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 161, in do_task
return func(**kw)
File "pavement.py", line 127, in start
from bespin import config, controllers
File "/bespinserver/bespin/controllers.py", line 52, in <module>
import simplejson
ImportError: No module named simplejson
I've scoured this and other groups. Anyone have a clue?
Thanks,
David
--
You received this message because you are subscribed to the Google Groups "Bespin" group.
To post to this group, send email to bes...@googlegroups.com.
To unsubscribe from this group, send email to bespin+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bespin?hl=en.
--
You received this message because you are subscribed to the Google Groups "Bespin" group.
To post to this group, send email to bes...@googlegroups.com.
To unsubscribe from this group, send email to bespin+un...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/bespin?hl=en.
Yes, I tried all that. I've also installed simplejson in a variety of
different ways and paver just can't seem to find it. Here's the output
from my latest try of "paver install_server", "paver create_db" and
"paver start":
building 'Crypto.Hash.SHA256' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
SHA256.c -o build/temp.linux-x86_64-2.6/src/SHA256.o
src/SHA256.c: In function âhash_digestâ:
src/SHA256.c:197: warning: pointer targets in passing argument 1
of âPyString_FromStringAndSizeâ differ in signedness
In file included from src/SHA256.c:200:
src/hash_template.c: In function âALG_hexdigestâ:
src/hash_template.c:108: warning: pointer targets in assignment
differ in signedness
src/hash_template.c:112: warning: pointer targets in assignment
differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/SHA256.o -o
build/lib.linux-x86_64-2.6/Crypto/Hash/SHA256.so
building 'Crypto.Cipher.AES' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
AES.c -o build/temp.linux-x86_64-2.6/src/AES.o
In file included from src/AES.c:1459:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/AES.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/AES.so
building 'Crypto.Cipher.ARC2' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
ARC2.c -o build/temp.linux-x86_64-2.6/src/ARC2.o
In file included from src/ARC2.c:185:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/ARC2.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/ARC2.so
building 'Crypto.Cipher.Blowfish' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
Blowfish.c -o build/temp.linux-x86_64-2.6/src/Blowfish.o
In file included from src/Blowfish.c:499:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/Blowfish.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/Blowfish.so
building 'Crypto.Cipher.CAST' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
CAST.c -o build/temp.linux-x86_64-2.6/src/CAST.o
In file included from src/CAST.c:436:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/CAST.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/CAST.so
building 'Crypto.Cipher.DES' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
DES.c -o build/temp.linux-x86_64-2.6/src/DES.o
In file included from src/DES.c:665:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/DES.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/DES.so
building 'Crypto.Cipher.DES3' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
DES3.c -o build/temp.linux-x86_64-2.6/src/DES3.o
In file included from src/DES3.c:688:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/DES3.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/DES3.so
building 'Crypto.Cipher.IDEA' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
IDEA.c -o build/temp.linux-x86_64-2.6/src/IDEA.o
In file included from src/IDEA.c:196:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/IDEA.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/IDEA.so
building 'Crypto.Cipher.RC5' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
RC5.c -o build/temp.linux-x86_64-2.6/src/RC5.o
In file included from src/RC5.c:212:
src/block_template.c: In function âALG_Encryptâ:
src/block_template.c:371: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:388: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALG_Decryptâ:
src/block_template.c:561: warning: pointer targets in passing
argument 2 of âblock_encryptâ differ in signedness
src/block_template.c:578: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/block_template.c: In function âALGgetattrâ:
src/block_template.c:680: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/RC5.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/RC5.so
building 'Crypto.Cipher.ARC4' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
ARC4.c -o build/temp.linux-x86_64-2.6/src/ARC4.o
In file included from src/ARC4.c:70:
src/stream_template.c: In function âALG_Encryptâ:
src/stream_template.c:135: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/stream_template.c: In function âALG_Decryptâ:
src/stream_template.c:164: warning: pointer targets in passing
argument 2 of âstream_encryptâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/ARC4.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/ARC4.so
building 'Crypto.Cipher.XOR' extension
gcc -pthread -fno-strict-aliasing -DNDEBUG -g -fwrapv -O3 -Wall -
Wstrict-prototypes -fPIC -Isrc/ -I/usr/local/include/python2.6 -c src/
XOR.c -o build/temp.linux-x86_64-2.6/src/XOR.o
In file included from src/XOR.c:52:
src/stream_template.c: In function âALG_Encryptâ:
src/stream_template.c:135: warning: pointer targets in passing
argument 1 of âPyString_FromStringAndSizeâ differ in signedness
src/stream_template.c: In function âALG_Decryptâ:
src/stream_template.c:164: warning: pointer targets in passing
argument 2 of âstream_encryptâ differ in signedness
gcc -pthread -shared build/temp.linux-x86_64-2.6/src/XOR.o -o
build/lib.linux-x86_64-2.6/Crypto/Cipher/XOR.so
Running setup.py install for Paste
Skipping installation of /bespinclient/lib/python2.6/site-packages/
paste/__init__.py (namespace package)
Installing /bespinclient/lib/python2.6/site-packages/
Paste-1.7.3dev_r7791-py2.6-nspkg.pth
Running setup.py install for path
Running setup.py install for omnisync
changing mode of build/scripts-2.6/omnisync from 644 to 755
changing mode of /bespinclient/bin/omnisync to 755
Running setup.py install for httplib2
Successfully installed
The software is now installed. If this is your first time, you will
probably
also want to create your development database with this command:
paver create_db
Look for error messages in the output above. If everything looks
good, you can start the server by running:
paver start
(bespinclient)[root@202010-1 bespinclient]# paver create_db
---> pavement.create_db
Calling create_db in bespinserver
---> pavement.create_db
/bespinclient/lib/python2.6/site-packages/path.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
Captured Task Output:
---------------------
---> pavement.create_db
Traceback (most recent call last):
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 164, in _run_task
return do_task()
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 161, in do_task
return func(**kw)
File "pavement.py", line 80, in create_db
from bespin import config, database, db_versions
File "/bespinserver/bespin/database.py", line 42, in <module>
import simplejson
ImportError: No module named simplejson
(bespinclient)[root@202010-1 bespinclient]# paver start
---> pavement.start
rmtree tmp/static () {}
makedirs tmp/static (mode 511)
copy sproutcore/sproutcore.css tmp/static
copy sproutcore/core_test.js tmp/static
copy sproutcore/core_test.css tmp/static
copy sproutcore/sproutcore.js tmp/static
copytree sproutcore/images tmp/static/images
mkdir tmp/static/editor (mode 511)
---> pavement.start
/bespinclient/lib/python2.6/site-packages/path.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
/bespinclient/lib/python2.6/site-packages/httplib2/__init__.py:44:
DeprecationWarning: the sha module is deprecated; use the hashlib
module instead
import sha
Captured Task Output:
---------------------
---> pavement.start
Traceback (most recent call last):
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 164, in _run_task
return do_task()
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 161, in do_task
return func(**kw)
File "pavement.py", line 127, in start
from bespin import config, controllers
File "/bespinserver/bespin/controllers.py", line 52, in <module>
import simplejson
ImportError: No module named simplejson
> > bespin+un...@googlegroups.com<bespin%2Bunsu...@googlegroups.com>
I definately installed simplejson and did so multiple times. Also, the
"paver install_server" command installed it on its own. However, it's
still not being found. I'm not sure if it's in the "path". How would I
check?
David
On Jan 26, 5:00 am, Joe Developer <joe.d.develo...@gmail.com> wrote:
> > bespin+un...@googlegroups.com<bespin%2Bunsu...@googlegroups.com>
To unsubscribe from this group, send email to bespin+un...@googlegroups.com.
(bespinclient)[root@202010-1 bespinclient]# paver create_db
---> pavement.create_db
Calling create_db in bespinserver
---> pavement.create_db
/bespinclient/lib/python2.6/site-packages/path.py:32:
DeprecationWarning: the md5 module is deprecated; use hashlib instead
import sys, warnings, os, fnmatch, glob, shutil, codecs, md5
Captured Task Output:
---------------------
---> pavement.create_db
Traceback (most recent call last):File "pavement.py", line 80, in create_db
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 164, in _run_task
return do_task()
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-
py2.6.egg/paver/tasks.py", line 161, in do_task
return func(**kw)
from bespin import config, database, db_versions
File "/bespinserver/bespin/database.py", line 42, in <module>
import simplejson
ImportError: No module named simplejson
You received this message because you are subscribed to the Google Groups "Bespin" group.
To post to this group, send email to bes...@googlegroups.com.
To unsubscribe from this group, send email to bespin+un...@googlegroups.com.
Okay, got past that. Thanks both of you! But, now a new error:
ImportError: No module named _sqlite3
--
I tried "bin/easy_install sqlite3" and got this:
[root@202010-1 bespinclient]# bin/easy_install sqlite3
Searching for sqlite3
Reading http://pypi.python.org/simple/sqlite3/
Couldn't find index page for 'sqlite3' (maybe misspelled?)
Scanning index of all packages (this may take a while)
Reading http://pypi.python.org/simple/
No local packages or download links found for sqlite3
Best match: None
Okay, got past that. Thanks both of you! But, now a new error:File "/bespinserver/bespin/database.py", line 56, in <module>
---> pavement.create_db
Traceback (most recent call last):
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py", line 164, in _run_task
return do_task()
File "/bespinclient/lib/python2.6/site-packages/Paver-1.0.1-py2.6.egg/paver/tasks.py", line 161, in do_task
return func(**kw)
File "pavement.py", line 80, in create_db
from bespin import config, database, db_versions
from bespin import config, filesystem
File "/bespinserver/bespin/filesystem.py", line 49, in <module>
import sqlite3
File "/usr/local/lib/python2.6/sqlite3/__init__.py", line 24, in <module>
from dbapi2 import *
File "/usr/local/lib/python2.6/sqlite3/dbapi2.py", line 27, in <module>
from _sqlite3 import *
ImportError: No module named _sqlite3