2011-12-28, 19:00
Hi Guys,
I am following the setup instruction for win 7 on the Wiki
Now I am running a 64 bit version of windows, but the py tools seem to be for 32 bit would this make a difference?
http://htpc.ictcsc.net/wiki/index.php/MaraschinoWindows
I have got as far as initialising the database, but I am get the following error
I have tried reinstalling the "Flask-SQLAlchem" again but seem to be getting the following errors
I have also check the settings.py as recommended in the wiki, but would appreciate if you guys could check it out
Can anyone help me out,
sorry but I am a bit stupid when it come to any thing coding
I am following the setup instruction for win 7 on the Wiki
Now I am running a 64 bit version of windows, but the py tools seem to be for 32 bit would this make a difference?
http://htpc.ictcsc.net/wiki/index.php/MaraschinoWindows
I have got as far as initialising the database, but I am get the following error
Quote:You need to specify DATABASE in settings.py, and ensure that Flask-SQLAlchemy is installed.
I have tried reinstalling the "Flask-SQLAlchem" again but seem to be getting the following errors
Quote:C:\Python27\Scripts>easy_install Flask-SQLAchemy
Searching for Flask-SQLAchemy
Reading http://pypi.python.org/simple/Flask-SQLAchemy/
Couldn't find index page for 'Flask-SQLAchemy' (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 Flask-SQLAchemy
Best match: None
Traceback (most recent call last):
File "C:\Python27\Scripts\easy_install-script.py", line 8, in <module>
load_entry_point('setuptools==0.6c11', 'console_scripts', 'easy_install')()
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
1712, in main
with_ei_usage(lambda:
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
1700, in with_ei_usage
return f()
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
1716, in <lambda>
distclass=DistributionWithoutHelpCommands, **kw
File "C:\Python27\lib\distutils\core.py", line 152, in setup
dist.run_commands()
File "C:\Python27\lib\distutils\dist.py", line 953, in run_commands
self.run_command(cmd)
File "C:\Python27\lib\distutils\dist.py", line 972, in run_command
cmd_obj.run()
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
211, in run
self.easy_install(spec, not self.no_deps)
File "C:\Python27\lib\site-packages\setuptools\command\easy_install.py", line
434, in easy_install
self.local_index
File "C:\Python27\lib\site-packages\setuptools\package_index.py", line 475, in
fetch_distribution
return dist.clone(location=self.download(dist.location, tmpdir))
AttributeError: 'NoneType' object has no attribute 'clone'
C:\Python27\Scripts>
I have also check the settings.py as recommended in the wiki, but would appreciate if you guys could check it out
Quote:# this is where you database is going to be stored
# make sure that you have write access to the directory
DATABASE = /HTPC-Apps/Maraschino/maraschino.db
# if serving using CherryPy (maraschino-cherrypy.py)
# you can set the port here
CHERRYPY_PORT = 7000
# include AUTH if you want to use HTTP basic authentication
# if serving using Apache and mod_wsgi, make sure to enable auth forwarding:
# http://code.google.com/p/modwsgi/wiki/Co...horization
AUTH = {
'username': "xbmc",
'password': "password"
}
# if you are using the dev server and want to run Maraschino on a different port
# then enable this setting
# PORT = 5000
Can anyone help me out,
sorry but I am a bit stupid when it come to any thing coding