Skip to main content
Question

Export attributes to a word table?


Hi, everyone

I wanna export attributes to a word table, so I use MSWordStyler transformer to generate a table element before writing into a Word writer. The pic below shows how MSWordStyler's parameters are set.

捕获

 

However, when I run the workspace I got a error says that "Error message: 'AttributeError: 'unicode' object has no attribute 'append'".

Is there something I miss or somthing set incorrectly? What should I do to deal with it?💗

6 replies

srg
Forum|alt.badge.img+10
  • August 24, 2020

@moye​ Can you provide more details on the Writer you are using?


  • Author
  • August 24, 2020
srg wrote:

@moye​ Can you provide more details on the Writer you are using?

Thank you @Raghavendran S​ for your reply~

 

The writer I am using is a common writer I created by clicking Add Writer button in the toolbar.

I set the format parameter to Microsoft Word and specified the saving location.

 

The whole thing I want to do is reading attributes from a ArcGIS mdb file, and then exporting these attributes to a Word table.

To achieve that, I used a ArcGIS mdb reader to extract attributes, and I used a MSWordStyler to convert all the attributes to table format,

I used a Microsoft Word writer to generate a document and store the content.It was so simple that it should have succeeded, however I got a issue at last.

 

I asked my colleague for help and I ran my workspace in his PC. The workspace behaved normally which is out of my expections. After consulting to my colleague, I finally figured it out that the MSWordStyler transformer is incompatible with FME Desktop 2019, and is compatible with FME Desktop 2018. I'm not sure my hypothe sis is right or not.

 

 

 

 


ebygomm
Influencer
Forum|alt.badge.img+31
  • Influencer
  • August 24, 2020
moye wrote:

Thank you @Raghavendran S​ for your reply~

 

The writer I am using is a common writer I created by clicking Add Writer button in the toolbar.

I set the format parameter to Microsoft Word and specified the saving location.

 

The whole thing I want to do is reading attributes from a ArcGIS mdb file, and then exporting these attributes to a Word table.

To achieve that, I used a ArcGIS mdb reader to extract attributes, and I used a MSWordStyler to convert all the attributes to table format,

I used a Microsoft Word writer to generate a document and store the content.It was so simple that it should have succeeded, however I got a issue at last.

 

I asked my colleague for help and I ran my workspace in his PC. The workspace behaved normally which is out of my expections. After consulting to my colleague, I finally figured it out that the MSWordStyler transformer is incompatible with FME Desktop 2019, and is compatible with FME Desktop 2018. I'm not sure my hypothe sis is right or not.

 

 

 

 

The MSWordStyler definitely works with FME Desktop 2019.2.2.0 (Build 19823)


  • Author
  • August 24, 2020
moye wrote:

Thank you @Raghavendran S​ for your reply~

 

The writer I am using is a common writer I created by clicking Add Writer button in the toolbar.

I set the format parameter to Microsoft Word and specified the saving location.

 

The whole thing I want to do is reading attributes from a ArcGIS mdb file, and then exporting these attributes to a Word table.

To achieve that, I used a ArcGIS mdb reader to extract attributes, and I used a MSWordStyler to convert all the attributes to table format,

I used a Microsoft Word writer to generate a document and store the content.It was so simple that it should have succeeded, however I got a issue at last.

 

I asked my colleague for help and I ran my workspace in his PC. The workspace behaved normally which is out of my expections. After consulting to my colleague, I finally figured it out that the MSWordStyler transformer is incompatible with FME Desktop 2019, and is compatible with FME Desktop 2018. I'm not sure my hypothe sis is right or not.

 

 

 

 

I dont know, mine (Build 19092) doesn't work.😂 ​


debbiatsafe
Safer
Forum|alt.badge.img+20
  • Safer
  • August 24, 2020

Hi @moye​ 

Build 19092 should be a Beta release of FME 2019.0.

I tested creating tables with the MSWordStyler along with the Word writer and did not encounter any issues using builds 19238 and 19253. Are you able to upgrade to the latest official release of FME or try using an official released version of FME 2019? You can find our past installers here.


  • Author
  • August 24, 2020
debbiatsafe wrote:

Hi @moye​ 

Build 19092 should be a Beta release of FME 2019.0.

I tested creating tables with the MSWordStyler along with the Word writer and did not encounter any issues using builds 19238 and 19253. Are you able to upgrade to the latest official release of FME or try using an official released version of FME 2019? You can find our past installers here.

I will try it, thank you very much @debbiatsafe​ ​


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings