<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel about="http://blog.gmane.org/gmane.comp.lang.jython.user">
    <title>gmane.comp.lang.jython.user</title>
    <link>http://blog.gmane.org/gmane.comp.lang.jython.user</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7337"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7336"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7333"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7330"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7328"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7327"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7326"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7325"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7320"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7319"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7314"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7309"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7306"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7305"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7292"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7291"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7290"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7287"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7285"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.jython.user/7272"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7337">
    <title>How best to deal with a bunch of .jar files?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7337</link>
    <description>Hello,

I need some basic help understanding how best to manage Jython scripts 
that need access to lots of jar files (CLASSPATH, sys.path, registry). 
I'm using Debian Lenny with Jython 2.2.1 on java1.6.0_0 (installed as 
the standard packages).

I'm using Jython to script Jasper Reports (an open-source Java reporting 
library), which has a lot of dependencies (it's /lib subdirectory 
contains 45 jar files).

To get things working, I have added the full paths to all 45 jar files 
to my CLASSPATH environment variable (2,690 characters). It also works 
if I add the jar paths to the registry's python.path property and unset 
CLASSPATH (or jython -Dpython.path=/long/path1:/long/path2:..., although 
that's pretty unwieldy).

My questions are:

   1. Is there a less-verbose way to load so many jars? (Like a way to 
point to just the directory containing the jars?)

   2. I had a lot of problems and confusion that went away once I 
started clearing out cachedir before running my scripts. For example, my 
CLASSPATH went subtly wrong at one point and fixing it didn't seem to 
help until I cleared the cachedir. What is the cachedir doing?

In case it helps clarify what I'm doing, here's a brief example script:

     import glob

     from java.util import HashMap
     from java.io import File

     from net.sf.jasperreports.engine import JasperFillManager
     from net.sf.jasperreports.engine.data import JRXmlDataSource

     reports = glob.glob('*.jasper')

     for report in reports:
         f = File('report_description.xml')
         xmlDataSource = JRXmlDataSource(f)
         JasperFillManager.fillReportToFile(report, HashMap(),
                                            xmlDataSource)

Thanks,

--David

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>David Niergarth</dc:creator>
    <dc:date>2008-12-03T17:31:36</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7336">
    <title>re cursive submodule imports</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7336</link>
    <description>
I am facing a problem with recursive submodule imports.
Here is my python script directory structure
   script:
        __init__.py
        A:
              __init__.py
              B:
                   __init__.py

content of the __init__.py in module B is
def test():
    print 'hahahaha'

if i do this in jython 2.2 

import script
script.A.B.test()

it is working fine and printing 'hahahaha'.
But the same thing in 2.5 is giving this error.

Traceback (most recent call last):
  File "&lt;stdin&gt;", line 1, in &lt;module&gt;
AttributeError: 'module' object has no attribute 'A'

if i add explicit imports for A and B then it is working fine...
Can someone helps me to solve this??? How can i enable automatic submodule
imports like what is happening in jython2.2

Thanks in advance,
Pratibha.
</description>
    <dc:creator>pratibha chitipothu</dc:creator>
    <dc:date>2008-12-03T12:54:48</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7333">
    <title>Global global variables</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7333</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Scott, Gregory</dc:creator>
    <dc:date>2008-12-02T15:28:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7330">
    <title>jythono code completion?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7330</link>
    <description>Eclipse code-completion works wonderfully for Java. I wonder
if it supports code-completion of Java classes in Jython?
Or, is there some other editors that support this? I have been
using a Python editor for my Jython work and it knows nothing
about the Java classes...


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>jlist</dc:creator>
    <dc:date>2008-12-01T17:59:37</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7328">
    <title>using telnetlib and its expect method in jython</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7328</link>
    <description>
Hi,

I am using the latest stable version of jython, version 2.2.1 and I am
trying to write a simple telnet program. However, I am having an issue with
the expect method in it.

Here is my code:

import telnetlib

HOST = 'localhost'
user = 'someone'
password = 'someones password'

tn = telnetlib.Telnet(HOST, 22)

aa, bb, cc = tn.expect(['&gt;&gt;&gt;'], 1)

print aa
print bb
print cc

And this is the error message:

Traceback (innermost last):
  File "/home/qm/workspace/project000/telnettest.py", line 11, in ?
  File "/home/qm/jython/Lib/telnetlib.py", line 623, in expect
  File "/home/qm/jython/Lib/select.py", line 204, in
cpython_compatible_select
  File "/home/qm/jython/Lib/select.py", line 54, in _getselectable
TypeError: ("Object 'java.nio.channels.SocketChannel[connected
local=/127.0.0.1:45293 remote=/127.0.0.1:22]' is not watchable", 88)

What am I supposed to do? Keep in mind that it works fine in Cpython and
also if I replace expect method with read_until method. But, expect is
important for me because there are multiple matches that I want to do, and I
do not know the order in advance.

Thanks in advance!

/edit With further investigation, I have found out that if I leave out the
timeout argument, and run it will work. But as soon as I set the timeout, I
get this error. Any hints on what to do? I mean this method must have been
tested thoroughly before right?
</description>
    <dc:creator>ShamanMahmoudi</dc:creator>
    <dc:date>2008-12-01T12:59:55</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7327">
    <title>SciPy with Jython</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7327</link>
    <description>Hi

Has sciPy been ported to jython or is there a way to use Scipy in Java.
If yes can anyone provide with a link of an example or anything for
that... i.e demonstrating how to use it. Couldn't really find any...


TIA

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>indian scorpio</dc:creator>
    <dc:date>2008-12-01T09:11:40</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7326">
    <title>Raymundo Baquirin has invited you to join Friendster</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7326</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Raymundo Baquirin</dc:creator>
    <dc:date>2008-12-01T02:23:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7325">
    <title>Embed Jython into Eclipse Plugin - javaos not found</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7325</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Paul Gibbons</dc:creator>
    <dc:date>2008-11-30T21:35:47</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7320">
    <title>Syntax errors</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7320</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>David Bush</dc:creator>
    <dc:date>2008-11-30T00:23:04</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7319">
    <title>Jython Monthly - Issue #24 - November 28, 2008</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7319</link>
    <description>============================================
Jython Monthly - Issue #24 - November 28, 2008
URL: http://wiki.python.org/jython/JythonMonthly/Newsletters/November2008
Please send articles and news to:  juneau001&lt; at &gt;gmail.com
============================================

Please read the complete newsletter by visiting the URL above.

Happy Thanksgiving to the community.  Stay tuned for the new Jython
Monthly podcast
which should begin next month if all goes as planned.  I will post
details to the list.

Sorry for the late distribution this month, the family and work have been
keeping me busy!

Best,

Josh Juneau

Summary of November 2008 Contents:

News
====

Jython 2.5 b0 Released
http://www.jython.org

Netbeans 6.5 Released
http://www.netbeans.org

nbPython Releases EA
http://download.netbeans.org/netbeans/6.5/python/ea/

Jythonroid
http://code.google.com/p/jythonroid/

Articles
======

Comparison of Python Virtual Machines

    In this article I'm going to go through some details about what is
going on under the hood
    when you run a Python program, as well how those details have
changed over the years
   in different python's    implementations ranging from original
CPython (Python implementation in C)
   all the way to the newest implementations like PyPy.

    Read More -
    http://polishlinux.org/apps/cli/comparison-of-python-virtual-machines/



Jython Web Start application - step-by-step guide Alfonso Reyes

    Create Java Web Start applications with Jython and OSP.
    http://reyesaguayo.com/osp/


Blogs
====

DB4O with Jython - Jim Cassidy

Jython Formula One Tutorial - Jim Cassidy

Updated Jython Roadmap - Frank Wierzbicki

Jython 2.5 Beta 0 Released - Frank Wierzbicki

Tor Norbye Finds Bug in Jython Lib in Netbeans - Frank Wierzbicki

Python Processing Proof-of-Concept - Jon Schull

Jython + Processing = Fun - Jon Schull

Techniques for Stubbing out Dependencies when Unit Testing Java Code -
Clint Miller

Jython Runs Successfully in Android Emulator - Fred Lin

Python in Netbeans - Ted Leung

How to Install and Use Jython to Write an ImageJ Plugin

How to Run ByteFlow Engine on Jython

Searching with Sonatype Nexus REST API: Python

Tutorials
=======

Netbeans Python Tutorial
http://wiki.netbeans.org/NetBeansPythonTutorial

Presentations
===========

Scripting Languages on Glassfish V3 Prelude

Movies
=====

Jython on Joint Strike Fighter
http://www.youtube.com/watch?v=zgE55z_RNgQ

IDE
===

Pydev 1.3.24 Released
http://pydev.sourceforge.net/

Netbeans
http://www.netbeans.org


============================================

View the Newsletter:
http://wiki.python.org/jython/JythonMonthly/Newsletters/November2008

Join the jython-users mailing list (jython-users&lt; at &gt;lists.sourceforge.net)
to subscribe.

=============================================
This issue of Jython Monthly was distributed by Josh Juneau.
Email: juneau001&lt; at &gt;gmail.com
Blog:   http://jj-blogger.blogspot.com
http://www.gathereventplanning.com
=============================================

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Josh Juneau</dc:creator>
    <dc:date>2008-11-29T03:11:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7314">
    <title>string to method call</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7314</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Ammar.Hassan&lt; at &gt;sungard.com</dc:creator>
    <dc:date>2008-11-28T10:45:38</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7309">
    <title>Serialization</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7309</link>
    <description>
Hi, I'm having problems with serialization of instances of jython classes
that extend java classes.
After a long and bloody battle, I got a working example:

import java.io.ByteArrayInputStream;
import java.io.ByteArrayOutputStream;
import java.io.IOException;
import java.io.ObjectOutputStream;

import org.python.core.PyModule;
import org.python.core.PyObject;
import org.python.core.imp;
import org.python.util.PythonInterpreter;
import org.python.util.PythonObjectInputStream;

public class JTest {
private static final PythonInterpreter interp = new PythonInterpreter();

public static void test() throws IOException, ClassNotFoundException {
final PyObject x = interp.get("x");
System.out.println(x);
final ByteArrayOutputStream os = new ByteArrayOutputStream();
new ObjectOutputStream(os).writeObject(x);
final ByteArrayInputStream is = new
ByteArrayInputStream(os.toByteArray());
final PyObject y = (PyObject) new
PythonObjectInputStream(is).readObject();
System.out.println(y);
}

public static void main(final String... args) throws IOException,
ClassNotFoundException {
// without this, it fails
final PyModule mod = imp.addModule("__main__");
interp.setLocals(mod.__dict__);

interp.exec("from java.lang import Object");
interp.exec("from java.io import Serializable");
interp.exec("class Test(Serializable):\n\tdef
__init__(self):\n\t\tObject.__init__(self)\n");
interp.exec("x = Test()");

// this works
interp.exec("import JTest");
interp.exec("JTest.test()");

// this fails
//test(); 
}
}

However:
- it looks like deserialization only works when done through the interpreter
- in the actual project I'm working on, the module it's trying to load (and
fails miserably) is not "__main__" but something like "memory:0xd" (the
number changes every time)
How can I solve these problems?
I'm using jython 2.5b0

Thanks
Adrian
</description>
    <dc:creator>aditsu</dc:creator>
    <dc:date>2008-11-27T13:35:03</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7306">
    <title>java to jython problem</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7306</link>
    <description>I am trying to convert a script from java to jython and I am having a
problem. I was hoping someone could help me. I actually wrote the script
first in jython and then when it didn't work, wrote it in java so I
could use the examples that were provided.

The script now works in java but won't work in jython. Both scripts are
pasted at the bottom of the email.
Everything that is in the sys.path.append in the jython script is in the
-classpath parameter when running the java script.

I'm getting the error on the line that reads:
res=manager.createDirectly(repfile,JFreeReport)

In the java script, the parameter passed in is JFreeReport.class
I have tried creating an instance of JFreeReport and passing it in it's
class object
x=JfreeReport()
res=manager.createDirectly(repfile,x.class)
with the same error.

The error I'm getting is:
Traceback (most recent call last):
  File "jython_jfree.jy", line 44, in ?
    res=manager.createDirectly(repfile,JFreeReport)
org.jfree.resourceloader.ResourceKeyCreationException:
org.jfree.resourceloader.ResourceKeyCreationException: Unable to create
key: No loader was able to handle the given key data:
file:/tmp/testporeport.xml

One thing that I found odd is I'm getting the same error whether the
file exists or not.

Any thoughts?
Sim


JAVA
_______________________________________________________________________
import org.jfree.resourceloader.ResourceManager;
import org.jfree.resourceloader.Resource;
import org.jfree.report.JFreeReport;
import org.jfree.report.JFreeReportBoot;
import org.jfree.report.modules.output.pageable.pdf.PdfReportUtil;
import org.jfree.report.modules.parser.base.ReportGenerator;
import java.net.URL;
import java.net.MalformedURLException;
import org.jfree.resourceloader.ResourceLoadingException;
import org.jfree.resourceloader.ResourceException;
import org.jfree.resourceloader.ResourceCreationException;

public class testreport{
public static void main(String[] args){
JFreeReportBoot.getInstance().start();
System.out.println("Booted");
String REPORT="file:///tmp/testporeport.xml";
try {
URL repfile= new URL(REPORT);
ResourceManager manager= new ResourceManager();
System.out.println("Manager");
manager.registerDefaults();
System.out.println("Defaults");
Resource res=manager.createDirectly(repfile,JFreeReport.class);
System.out.println("Created");
JFreeReport rep= (JFreeReport) res.getResource();
System.out.println("GotResource");
PdfReportUtil.createPDF(rep,"/tmp/testporeport.pdf");
System.out.println("PDF Created");
}
catch(ResourceException e)
{}
catch(MalformedURLException mue)
{}

}
}

_____________________________________________________________________________
Jython
_____________________________________________________________________________
#!/usr/bin/jython
import sys, traceback
#Add all the possible used jars to the classpath

sys.path.append("bsf-2.4.0.jar")
sys.path.append("bsh-1.3.0.jar")
sys.path.append("itext-1.5.2.jar")
sys.path.append("jcommon-1.0.14.jar")
sys.path.append("jcommon-serializer-0.2.0.jar")
sys.path.append("libfonts-0.3.4.jar")
sys.path.append("libformula-0.1.18.2.jar")
sys.path.append("libloader-0.3.7.jar")
sys.path.append("librepository-0.1.6.jar")
sys.path.append("libxml-0.9.11.jar")
sys.path.append("pentaho-reporting-engine-classic-0.8.9.10.jar")
sys.path.append("pixie-0.8.10.jar")
sys.path.append("poi-3.0.1-jdk122-final-20071014.jar")
sys.path.append("/usr/share/jdbc-postgresql/lib/jdbc-postgresql.jar")



#import the classes that are actually used.
from org.jfree.resourceloader import ResourceManager
from org.jfree.resourceloader import Resource
from org.jfree.report import JFreeReport
from org.jfree.report import JFreeReportBoot
from org.jfree.report.modules.output.pageable.pdf import PdfReportUtil
from org.jfree.report.modules.parser.base import ReportGenerator
from java.net import URL
from java.net import MalformedURLException
from org.jfree.resourceloader import ResourceLoadingException
from org.jfree.resourceloader import ResourceCreationException

#Run the report
JFreeReportBoot.getInstance().start()
print "Booted"
REPORT="file:///tmp/testporeport.xml"
try:
repfile=URL(REPORT)
manager=ResourceManager()
print "Manager"
manager.registerDefaults()
print "Defaults"
res=manager.createDirectly(repfile,JFreeReport)
print "Created"
rep=res.getResource()
print "Got Resource"
PdfReportUtil.createPdf(rep,"/tmp/testporeport1.pdf")
print "PDF Created"
except:
traceback.print_exc(file=sys.stdout)


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Sim Zacks</dc:creator>
    <dc:date>2008-11-27T09:52:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7305">
    <title>Join me on Bebo</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7305</link>
    <description>
You will like it.

Click to find out why

Please accept or reject this invitation by clicking below:

http://www.bebo.com/in/8208212033a722300041b135

......................................................................
 

This email was sent to you at the direct request of Aljosa Mohorovic &lt;aljosa.mohorovic&lt; at &gt;gmail.com&gt;. You have not been added to a mailing list.

If you would prefer not to receive invitations from ANY Bebo members please click here - http://www.bebo.com/unsub/8208212033a722300041 

Bebo, Inc., 795 Folsom St, 6th Floor, San Francisco, CA 94107, USA.



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Aljosa Mohorovic</dc:creator>
    <dc:date>2008-11-26T22:18:18</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7292">
    <title>Jython 2.5b0 start script problems</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7292</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Mayne, Peter</dc:creator>
    <dc:date>2008-11-25T05:31:57</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7291">
    <title>JNI with 2.5b0</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7291</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Mayne, Peter</dc:creator>
    <dc:date>2008-11-25T04:55:29</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7290">
    <title>sys.path</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7290</link>
    <description>Hi

I am always with the same problem. Why sometimes the .jar files  
included in the sys.path are added (for example in the normal console)  
and why in other situations no (for example in the interactive console  
of nbphyton)?

Thanks

josu 

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>josu jugo</dc:creator>
    <dc:date>2008-11-24T17:29:31</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7287">
    <title>Jython,  32bit works, 64bit fails</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7287</link>
    <description>﻿
I've got a Jython script that runs just fine on the 32-bit OS on my
laptop.   But on one of our virtual workstations (64-bit, 8GB RAM) it
fails quickly with -

adam&lt; at &gt;sandbox64:~&gt; jython XrefrMinimize.jy
Traceback (innermost last):
  File "XrefrMinimize.jy", line 35, in ?
Error: Java heap space
adam&lt; at &gt;sandbox64:~&gt; 


Eh???   Does this make sense to anyone?


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Adam Tauno Williams</dc:creator>
    <dc:date>2008-11-24T15:30:01</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7285">
    <title>Java class methods do not Auto Complete in Jythonwhile using Eclipse and PyDev</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7285</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>dudeja.rajat&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2008-11-24T14:05:24</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7272">
    <title>Problem importing Java packages</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7272</link>
    <description>Hi,

I have a problem with the current Jython trunk. When I try to import a Java
package, I get an ImportError for the first sub-package:

    Jython 2.5b0+ (trunk:5590M, Nov 18 2008, 14:23:44)
    [Java HotSpot(TM) Server VM (Sun Microsystems Inc.)] on java1.6.0_03
    Type "help", "copyright", "credits" or "license" for more information.
    &gt;&gt;&gt; import javax.swing
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    ImportError: No module named swing
    &gt;&gt;&gt; import org.xml.sax
    Traceback (most recent call last):
      File "&lt;stdin&gt;", line 1, in &lt;module&gt;
    ImportError: No module named xml

This happens both on the console and in module code.

Can I fix this somehow?

Thanks,
Stefan



-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/
</description>
    <dc:creator>Stefan Behnel</dc:creator>
    <dc:date>2008-11-20T16:45:42</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.jython.user/7267">
    <title>Using Jython from Java</title>
    <link>http://comments.gmane.org/gmane.comp.lang.jython.user/7267</link>
    <description>-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK &amp; win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&amp;url=/_______________________________________________
Jython-users mailing list
Jython-users&lt; at &gt;lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jython-users
</description>
    <dc:creator>Ammar.Hassan&lt; at &gt;sungard.com</dc:creator>
    <dc:date>2008-11-20T09:32:14</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.jython.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.jython.user</link>
  </textinput>
</rdf:RDF>
