Skip to main content
Question

Export attributes to a word table?

  • August 21, 2020
  • 6 replies
  • 171 views

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?💗

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

6 replies

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

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


  • Author
  • 4 replies
  • August 24, 2020

@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+44
  • Influencer
  • 3427 replies
  • August 24, 2020

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
  • 4 replies
  • August 24, 2020

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+21
  • Safer
  • 648 replies
  • 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
  • 4 replies
  • 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.

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