Python error when run in my hosting server

Ismael Valladolid Torres ivalladt at gmail.com
Fri Nov 21 21:52:42 EST 2008


When run in my home machine, everything works perfectly. However
having uploaded the code to my hosting server, admins say this error
happens. Probably a permission issue in the cache subdir?

Any idea very useful, so thanks in advance.

[root at noc6 html]# chmod 755 planet.py
[root at noc6 html]# /home/chs/planetmusica.org/home/html/planet.py
DEBUG:planet.runner:Socket timeout set to 20 seconds
INFO:planet.runner:Loading cached data
Traceback (most recent call last):
 File "/home/chs/planetmusica.org/home/html/planet.py", line 167, in ?
   main()
 File "/home/chs/planetmusica.org/home/html/planet.py", line 160, in main
   my_planet.run(planet_name, planet_link, template_files, offline)
 File "/home/chs/planetmusica.org/home/html/planet/__init__.py", line 240,
in run
   channel = Channel(self, feed_url)
 File "/home/chs/planetmusica.org/home/html/planet/__init__.py", line 507,
in __init__
   cache_file = dbhash.open(cache_filename, "c", 0666)
 File "/usr/lib/python2.3/dbhash.py", line 16, in open
   return bsddb.hashopen(file, flag, mode)
 File "/usr/lib/python2.3/bsddb/__init__.py", line 192, in hashopen
   d.open(file, db.DB_HASH, flags, mode)
bsddb._db.DBInvalidArgError: (22, 'Invalid argument --
./cache/feeds.feedburner.com,IvalladtsBlog: unsupported hash version: 9')
[root at noc6 html]#

Cordially, Ismael
-- 
Ismael Valladolid Torres                   GnuPG key: DE721AF4

SHS Polar (3.4.3)   Google Talk/Jabber/MSN Messenger: ivalladt at gmail.com
C/ Emilio Vargas 1        Jaiku/Twitter/Skype/Yahoo!: ivalladt
Edif. Fiteni II                              AIM/ICQ: 264472328
28043 Madrid (Spain)

T 0034915153817           http://www.polar.es/
F 0034915153755           http://lamediahostia.blogspot.com
M 0034609884094 (Yoigo)   http://www.flickr.com/photos/ivalladt/

The opinions expressed here represent my own and not those of my employer.
Las opiniones expresadas representan las mías propias y no las de mi empresa.


More information about the devel mailing list