You are not logged in.
That should set the server up on port 8080. Do not put your server online using the webpy backend as it is by no means secure!
Actually, it uses the CherryPy wsgi server internally, I'm pretty sure its safe, secure and fast. It even supports HTTPS if you need it.
Dusty
Offline
question do i need to have a http folder in my home directory for this to work
here is what my output is when i run it
[tajidin@al-hijra ~/arch-home-0.7]$ python index.py
WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI!
WSGIServer: missing FastCGI param SERVER_NAME required by WSGI!
WSGIServer: missing FastCGI param SERVER_PORT required by WSGI!
WSGIServer: missing FastCGI param SERVER_PROTOCOL required by WSGI!
Status: 404 Not Found
Content-Type: text/html
anyhow what do i need to configure
Last edited by okplayer02 (2009-08-11 14:46:20)
Say what is good or keep silent --Prophet Muhammad (SAW)
Offline
That's my fault. Comment out this (second last) line in index.py:
web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func, addr)
add a # to the front:
#web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func, addr)
Offline
how do i get this to run at boot everytime so i can have this as my web page was looking at the configuration or web.py and tutorials so i figured out how to get it working
Say what is good or keep silent --Prophet Muhammad (SAW)
Offline
web.wsgi.runwsgi = lambda func, addr=None: web.wsgi.runfcgi(func, addr)
This line is need for apache to work correctly with webpy.
The easiest way to get this to load at boot would probably be to add something like su -c /home/okplayer2/arch-home/index.py okplayer2
I can't test the command as I am at work with win only computers.
Offline
nice! thanks to the creator and the person kind enough to host the webpage.
two suggestions -
1) could you make it that by default the cursor is blinking in the search field... I am used to just hitting my homepage which used to be google and then typing to start a search. I hate having to tab to the search box or worse click on it.
2) a link to archlinux email addy login -
www.archlinux.us
https://www.google.com/a/archlinux.us/S … mplcache=2
Last edited by ugkbunb (2009-08-14 00:06:05)
Offline
my new homepage, thanks for your work
Offline
fyi http://home.archlinux.ca/ is giving me a 500 Internal Error as of today
Offline
1) could you make it that by default the cursor is blinking in the search field... I am used to just hitting my homepage which used to be google and then typing to start a search. I hate having to tab to the search box or worse click on it.
Done. Thank you for the suggestion.
2) a link to archlinux email addy login -
www.archlinux.us
https://www.google.com/a/archlinux.us/S … mplcache=2
I will not add this as people use different email providers. Also, I would not know of a good place to put such a link. Feel free to modify templates/index.html and add the link yourself.
fyi http://home.archlinux.ca/ is giving me a 500 Internal Error as of today
Appears that it is back up, somebody on the shared hosting must have been creating problems.
Offline
your development url is missing its logo : P
Offline
Which link are talking about? I see the logo for both http://home.archlinux.ca and http://arch.pyther.net
Offline
^^
weird... i cleared my cache and it re-appeared... must of been just caching a misloaded page for some reason. sorry for the false alarm
Offline
**Development Update**
-Packages are fetched from http://www.archlinux.org/packages/?sort=-last_update instead of the rss feed
-Packages are cached for 60 minutes using pickle
-Testing and Community-Testing packages are in italics
-Link Tooltips now include the package description
Git: http://github.com/pyther/arch-home/tree/testing
Development Link: http://arch.pyther.net
If you guys can give the development link a few hits and let me know if you notice any problems that'd be great! I'm hoping to roll out the changes to master in the next few days if there are no major issues.
Last edited by pyther (2010-04-29 04:09:06)
Offline
Since the new website broke things I rewrote the script to use the package rss feeds for data. I didn't realize how much information the rss feeds actually contained.
I updated the arch class and cleaned up the code quite a bit. I would recommend updating to the current branch for anyone that has their own deployment of arch-home.
I would like tag the current state of the project as 1.0 early this week. So any user feedback would be fantastic!
Last edited by pyther (2010-05-30 04:22:22)
Offline
I realize this is necro-bumping, and I am happy to make a new thread if any moderator deems it necessary. But today the Arch homepage (http://home.archlinux.ca/) is no longer working. Instead, I see a page full of error messages, starting with "<class 'bsddb.db.DBPageNotFoundError'>" at the top. This was working only yesterday, so I wonder what happened.
Registed Linux User 483618
Offline
Just to report on the same issue.
As a workaround I switched my homepage to:
http://arch.pyther.net/
It looks just the same, but it's working.
Offline
Offline
And http://home.archlinux.ca is backup and running. It appears the pickle that stores the feed cache got corrupt. Dusty was kind enough to fix it.
Offline
Thank you!
And thank Dusty!
Offline
No problem, it was a 30 second fix.
Offline
Sorry to bring up an old thread again, but arch-home seems to be non-functioning again... Do you have another 30 second fix? Thank you!
Offline
No problem, I use my own instance so I'm not always aware when there are issues with http;//home.archlinux.ca
The issue was simply a bad feed cache again...
Since I just finished with classes I decided to make a few changes:
* Automatically delete bad cached data
* Use ajax to fetch package and news rss feeds (results in the page loading instantly)
EDIT: Just fixed the issue on the server, all should be working!
Last edited by pyther (2011-12-10 22:44:09)
Offline
Indeed!
Thank you!
Offline