Questions tagged [pyjamas]

Pyjamas is a port of Google Web Toolkit to Python, featuring a Python debugging environment and desktop deployment option, and compilation to JavaScript for web/device deployment.

Pyjamas implements the Google Web Toolkit (GWT) widgets (V1.0 at the moment) as Python (2.5 or 2.6 for now) objects. These objects may be run inside the Pyjamas desktop (Pyjd), or compiled to JavaScript (through Pyjs, the Python-to-JavaScript compiler, part of the Pyjamas project) for deployment on the web and/or devices.

Support for developers is available through the Pyjamas developer mail list, which is subscribed/unsubscribed only through email:

  • pyjamasdev-unsubscribe@pyjs.org

    • Send to this address to unsubscribe from the list.
  • pyjamasdev-nomail@pyjs.org

    • Send to this address to receive no mail from the list. You will still be subscribed (and can use the web interface to post messages). http://lists.pyjs.org/mail
  • pyjamasdev-mail@pyjs.org

    • Send to this re-enable mail receipt from the list.

Note that read-only access to the mail list is available through Google Groups.

Developers on the mail list have recently described plans to move to the current version of GWT, and include tools for deployment.

48 questions
1
vote
4 answers

Can anyone clarify some options for Python Web automation

I'm trying to make a simple script in python that will scan a tweet for a link and then visit that link. I'm having trouble determining which direction to go from here. From what I've researched it seems that I can Use Selenium or Mechanize? Which…
0
votes
1 answer

Having problems using MySQLdb with pyjs

I want to use pyjs as the interface for an application I've already built and tested. It uses external libraries, including MySQLdb. I was hoping that I could integrate it nicely with pyjs, but have been receiving errors saying ImportError: No…
Matt Cremeens
  • 4,951
  • 7
  • 38
  • 67
0
votes
1 answer

Unable to run python web application in browser

we have created the python desktop application using Tkinter library and it is working. we converted the desktop app into web app using pyjamas and it generated the html files & javascripts. While opening the html file in the browser, it showing the…
Venkatesh
  • 171
  • 1
  • 1
  • 10
0
votes
1 answer

Pyjamas-desktop (pyjd) compiles, runs and quits

I'm running Pyjamas on Windows 8.1 with Python 2.7 (64-bit). I've struggled a bit with getting everything installed, but I believe the struggle has been fruitful -- I've run bootstrap, the file "run_bootstrap_first_then_pyjd_setup.py", and have…
kgilvi3
  • 305
  • 3
  • 12
0
votes
1 answer

webkit could not resolve primary font and causes segmentation fault on fedora 20

How webkit3 resolve its primary font on Linux? (Got a segmentation fault in libwebkitgtk-3.0. Anybody has seen similar problem? Is there a way to work-around it? How to debug or fix it with minimal change to the system?) The gdb prints: Program…
minghua
  • 5,981
  • 6
  • 45
  • 71
0
votes
1 answer

Timer not being called by button press in pyjs

This is the main index class of my application which loads the various Classes in a DockPanel. I am attempting to have the button call a Timer function using it clicklistener ("OnClick"). The button loads the next screen, which is an image of a…
0
votes
1 answer

How to Write Python Script in html

I want to execute my python code on the side even though there might be security problem How can I write with importing modules and all? I have tried using of pyjs to convert the below code to JS import socket print…
PSSR
  • 471
  • 1
  • 10
  • 18
0
votes
1 answer

Blank page with simplest possible pyjs (pyjamas) app

I'm trying to use pyjamas (http://pyjs.org/). My input file, named hi.py, looks like this: from pyjamas import Window from pyjamas.ui import RootPanel, Button from pyjamas.ui import HTML def greet(sender): Window.alert("Hello!") b =…
Michael Natkin
  • 524
  • 4
  • 14
0
votes
1 answer

Pyjamas import statements

I'm starting to use Pyjamas and I'm running into some annoyances. I have to import a lot of stuff to make a script work well. For example, to make a button I need to first from pyjamas.ui.Button import Button and then I can use Button. Note…
Gordon Seidoh Worley
  • 7,839
  • 6
  • 45
  • 82
0
votes
2 answers

Pyjs not working with Tkinter

I am trying to use pyjamas (http://pyjs.org/) to compile some python that I wrote into javascript. My python program works the way I want it to. I installed via the installation guide on the website. pyjsbuild -I…
0
votes
1 answer

Using JSON-RPC call from Pyjamas/PyJs with a web.py backend

This has already cost me many hours of Googling and I still cannot get it working, time to ask SO for help :-) I try to put together a simple test application where the frontend is written in Pyjamas, the backend is running on Web.py. They are…
András Aszódi
  • 8,948
  • 5
  • 48
  • 51
0
votes
2 answers

Pyjs / Pyjamas Frame: How to use a button to change the url in a frame

I have a web page that contains two buttons and a frame. Within the frame, a web page is displayed. I am trying to make it so button A shoes url '/AAA' in the frame while button B shoes url '/BBB' in the frame. How the heck can I do that? Here is…
0
votes
0 answers

Long polling in pyjamas

I have an application written in pyjamas which must check for new events to update an event table in the browser. It is critical that the events are displayed within a very small window of them happening, so that the operator is aware of the issues…
blueFast
  • 41,341
  • 63
  • 198
  • 344
0
votes
2 answers

Integration of pyjamas and tornado

Is it possible to write an application using the pyjamas widgets, together with the tornado server model? What I have in mind is to provide a desktop-like frontend for my web application with pyjamas, and do server side logic with…
blueFast
  • 41,341
  • 63
  • 198
  • 344
0
votes
1 answer

How to handle Async Notification in Pyjamas?

I am writing a web application using Pyjamas. . The core functionality of my application is to show some Events which are generated asynchronously, in an HTML table (using the corresponding pyjamas widget). Is it possible to send these…
blueFast
  • 41,341
  • 63
  • 198
  • 344