glitchdotcom / webputty Goto Github PK
View Code? Open in Web Editor NEWWebPutty is a simple CSS editing and hosting service that you can run on Google App Engine.
Home Page: https://www.webputty.net/
WebPutty is a simple CSS editing and hosting service that you can run on Google App Engine.
Home Page: https://www.webputty.net/
When initially reading the documentation, it didn't seem to make it clear that a url2png account was required for WebPutty. The fact that it's under Advanced Setup
next to the option to use Google Cloud Storage makes it seem optional.
After messing with WebPutty for some time this afternoon, it seems that a url2png account is required for things to work. It would have been nice if the docs specified that, in order to save time for those who don't want to spend the money on a url2png account.
If there is a way to use the app without url2png, it would be nice if that was documented as well. From what I can tell, there isn't. I can get it up and running by commenting out the urlpng
variable in settings.py
, but I'm unable to actually add or work with any sites without it.
steps:
result:
bug icon disappears, but firebug lite isn't restored
expected:
restored firebug lite pane
I am using Python 2.7 and GAE 1.7.0
on Ubuntu Linux 12.04
./dev_appserver.py webputty/
....
INFO 2013-10-27 22:52:20,088 api_server.py:139] Starting API server at: http://localhost:51803
INFO 2013-10-27 22:52:20,137 dispatcher.py:171] Starting module "default" running at: http://localhost:8080
INFO 2013-10-27 22:52:20,146 admin_server.py:117] Starting admin server at: http://localhost:8000
ERROR 2013-10-27 22:52:21,592 wsgi.py:262]
Traceback (most recent call last):
File "/home/magnolia/googleapp/google/appengine/runtime/wsgi.py", line 239, in Handle
handler = _config_handle.add_wsgi_middleware(self._LoadHandler())
File "/home/magnolia/googleapp/google/appengine/runtime/wsgi.py", line 298, in _LoadHandler
handler, path, err = LoadObject(self._handler)
File "/home/magnolia/googleapp/google/appengine/runtime/wsgi.py", line 84, in LoadObject
obj = import(path[0])
File "/home/magnolia/googleapp/webputty/bootstrap.py", line 13, in
from google.appengine.tools.dev_appserver import HardenedModulesHook
File "/home/magnolia/googleapp/google/appengine/tools/dev_appserver.py", line 62, in
import simplejson
ImportError: No module named simplejson
I had simplejson in python path, could anyone point out what the problem is here? Thanks!
I'm getting a 500 error on new install, with this trace in the logs:
Exception on / [GET]
Traceback (most recent call last):
File "/base/data/home/apps/swebputty-haroldmartin/1.361755446768650121/ziplibs.zip/ziplibs/flask/app.py", line 876, in wsgi_appwebputty-haroldmartin/1.361755446768650121/ziplibs.zip/ziplibs/flask/app.py", line 695, in dispatch_request
rv = self.dispatch_request()
File "/base/data/home/apps/s
return self.view_functionsrule.endpoint
File "/base/data/home/apps/swebputty-haroldmartin/1.361755446768650121/app/views.py", line 95, in indexwebputty-haroldmartin/1.361755446768650121/ziplibs.zip/ziplibs/flask/templating.py", line 85, in render_template
return render_template('index.html', sites=sites, new_site_form=site_form, page_form=page_form)
File "/base/data/home/apps/s
context, ctx.app)
File "/base/data/home/apps/swebputty-haroldmartin/1.361755446768650121/ziplibs.zip/ziplibs/flask/templating.py", line 69, in _renderwebputty-haroldmartin/1.361755446768650121/ziplibs.zip/ziplibs/jinja2/environment.py", line 891, in render
rv = template.render(context)
File "/base/data/home/apps/s
return self.environment.handle_exception(exc_info, True)
File "/base/data/home/apps/s~webputty-haroldmartin/1.361755446768650121/app/templates/index.html", line 1, in
{% extends 'base.html' %}
NeedIndexError: no matching index found.
The suggested index for this query is:
"Webputty is awesome for media queries based on viewport width. You just make the preview pane bigger or smaller depending on your needs. Thus it would be even more awesome if you had a small display on top or bottom telling you the current width of the preview pane."
This is not at all friendly to those who have never touched Python before. Google apps instructs me to run appcfg.py which does not exist in the the master folder and WTF does Pip do besides open up command prompt windows for a half second.
Make it easier to promote normal users to admins.
CodeMirror is not very good with the browser's search function.
As someone new to Python and GAE can I use Python 2.7 or do you still advise 2.5?
I'm assuming 2.7 will simplify the GAE install a little.
Can this be added to the readme.md
readme.md
"Download and install Python 2.5 and the Google App Engine SDK for Python"
i follow the steps , python was already install an i haveto update the pip version using easy_install .
but have problem with fab deploy see capture screen about CLI ( command line install) and google App service .
The instruction don't say where to install webputty from the repo
git install project by default in C:\Users\username\Documents\GitHub\WebPutty
when i click on the running link from google appengine account t i have a debug text file .
Bu there is no way to attach this txt using git web interface ?
Thank's for any help
what looks to be happening is the parser is barfing on the actual base64-encoded data portion of the URI and then instead of dropping the entire CSS property that URI was a part of, it just leaves a malformed one in it's place.
so instead of:
background-image: url(data:image/png;base64,[big-blob-o-data]);
you're left with:
background-image: url(data:image/png;
...which I think is causing the rest of the CSS file to be parsed improperly.
May just need to update pyscss.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.