Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » BIRT » Problem with rptdesign file
Problem with rptdesign file [message #52628] Wed, 29 June 2005 16:20 Go to next message
Nathan McKeown is currently offline Nathan McKeownFriend
Messages: 27
Registered: July 2009
Junior Member
Hi,

I had been making good progress developing against the source, a custom
data source and data set for BIRT and could generate reports with no
problems. However, when switching to using the Birt 1.0 Release I can
create a data source and a dataset and preview the results in the
dataset editor, but I now recieve the following error when i try to
preview the report (even if the report design is empty except for a
datasource):

The design file C:\Program Files\Scapa
Platform\eclipse\workspace\test\new_report_3.rptdesign has error and can
not be run.


I am unsure as what the problem is, as there is nothing output to the
error log or the console. Here is the xml from the report design
generated, although I have changed the property and extensionID fields.

<?xml version="1.0" encoding="UTF-8"?>
<!-- Written by Eclipse BIRT 1.0 -->
<report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
<property name="units">in</property>
<data-sources>
<oda-data-source extensionID="reporting.data" name="Data Source">
<list-property name="userProperties">
<structure>
<property name="name">dataFile</property>
<property name="type">string</property>
</structure>
</list-property>
<property
name="dataFile">/HttpTestWithReporting/Http1.datafile</property >
</oda-data-source>
</data-sources>
<page-setup>
<simple-master-page name="Simple MasterPage">
<page-footer>
<text>
<property name="contentType">html</property>
<text-property
name="content"><![CDATA[<value-of>new Date()</value-of>]]></text-property>
</text>
</page-footer>
</simple-master-page>
</page-setup>
</report>


If anyone can shed any light on this I would really appreciate it.

Thanks and Regards,

Nathan
Re: Problem with rptdesign file [message #52655 is a reply to message #52628] Wed, 29 June 2005 18:53 Go to previous messageGo to next message
Scott Rosenbaum is currently offline Scott RosenbaumFriend
Messages: 425
Registered: July 2009
Senior Member
Nathan,

One quick check, have you tried closing your Eclipse workspace and then
re-opening it? In the pre-release versions of BIRT I would sometimes
get the environment into a state where the design file in memory was
corrupt and I had to re-start eclipse.

Scott Rosenbaum
BIRT PMC


Nathan McKeown wrote:

> Hi,
>
> I had been making good progress developing against the source, a
> custom data source and data set for BIRT and could generate reports
> with no problems. However, when switching to using the Birt 1.0
> Release I can create a data source and a dataset and preview the
> results in the dataset editor, but I now recieve the following error
> when i try to preview the report (even if the report design is empty
> except for a datasource):
>
> The design file C:\Program Files\Scapa
> Platform\eclipse\workspace\test\new_report_3.rptdesign has error and
> can not be run.
>
>
> I am unsure as what the problem is, as there is nothing output to the
> error log or the console. Here is the xml from the report design
> generated, although I have changed the property and extensionID fields.
>
> <?xml version="1.0" encoding="UTF-8"?>
> <!-- Written by Eclipse BIRT 1.0 -->
> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
> <property name="units">in</property>
> <data-sources>
> <oda-data-source extensionID="reporting.data" name="Data Source">
> <list-property name="userProperties">
> <structure>
> <property name="name">dataFile</property>
> <property name="type">string</property>
> </structure>
> </list-property>
> <property
> name="dataFile">/HttpTestWithReporting/Http1.datafile</property >
> </oda-data-source>
> </data-sources>
> <page-setup>
> <simple-master-page name="Simple MasterPage">
> <page-footer>
> <text>
> <property name="contentType">html</property>
> <text-property
> name="content"><![CDATA[<value-of>new
> Date()</value-of>]]></text-property>
> </text>
> </page-footer>
> </simple-master-page>
> </page-setup>
> </report>
>
>
> If anyone can shed any light on this I would really appreciate it.
>
> Thanks and Regards,
>
> Nathan
Re: Problem with rptdesign file [message #52841 is a reply to message #52655] Thu, 30 June 2005 11:58 Go to previous message
Nathan McKeown is currently offline Nathan McKeownFriend
Messages: 27
Registered: July 2009
Junior Member
I used to have that problem too, with the earlier versions of BIRT,
however it seems that no amount of reloading workspaces resolves this
one. I am assuming it must have something to do with the way the
properties of my datasource are set, but I can't debug the problem
because it works fine against the BIRT source, just not the Jar'd release.

If you can think of anything else which could cause this, from the xml
please let me know.

Cheers

Nathan

Scott Rosenbaum wrote:
> Nathan,
>
> One quick check, have you tried closing your Eclipse workspace and then
> re-opening it? In the pre-release versions of BIRT I would sometimes
> get the environment into a state where the design file in memory was
> corrupt and I had to re-start eclipse.
>
> Scott Rosenbaum
> BIRT PMC
>
>
> Nathan McKeown wrote:
>
>> Hi,
>>
>> I had been making good progress developing against the source, a
>> custom data source and data set for BIRT and could generate reports
>> with no problems. However, when switching to using the Birt 1.0
>> Release I can create a data source and a dataset and preview the
>> results in the dataset editor, but I now recieve the following error
>> when i try to preview the report (even if the report design is empty
>> except for a datasource):
>>
>> The design file C:\Program Files\Scapa
>> Platform\eclipse\workspace\test\new_report_3.rptdesign has error and
>> can not be run.
>>
>>
>> I am unsure as what the problem is, as there is nothing output to the
>> error log or the console. Here is the xml from the report design
>> generated, although I have changed the property and extensionID fields.
>>
>> <?xml version="1.0" encoding="UTF-8"?>
>> <!-- Written by Eclipse BIRT 1.0 -->
>> <report xmlns=" http://www.eclipse.org/birt/2005/design" version="1">
>> <property name="units">in</property>
>> <data-sources>
>> <oda-data-source extensionID="reporting.data" name="Data Source">
>> <list-property name="userProperties">
>> <structure>
>> <property name="name">dataFile</property>
>> <property name="type">string</property>
>> </structure>
>> </list-property>
>> <property
>> name="dataFile">/HttpTestWithReporting/Http1.datafile</property >
>> </oda-data-source>
>> </data-sources>
>> <page-setup>
>> <simple-master-page name="Simple MasterPage">
>> <page-footer>
>> <text>
>> <property name="contentType">html</property>
>> <text-property
>> name="content"><![CDATA[<value-of>new
>> Date()</value-of>]]></text-property>
>> </text>
>> </page-footer>
>> </simple-master-page>
>> </page-setup>
>> </report>
>>
>>
>> If anyone can shed any light on this I would really appreciate it.
>>
>> Thanks and Regards,
>>
>> Nathan
Previous Topic:Group By and Aggregate functions possible in SQL?
Next Topic:CVS Versioning
Goto Forum:
  


Current Time: Fri Aug 16 16:12:06 GMT 2024

Powered by FUDForum. Page generated in 0.03666 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top