<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Problem Migrating Chat Rooms to Webex using DevNet script in Cloud Collaboration</title>
    <link>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152661#M2320</link>
    <description>&lt;P&gt;Why don't you ask this question in the DevNET forum? There is a specific forum for that...&lt;/P&gt;
&lt;P&gt;Moved your post.&lt;/P&gt;</description>
    <pubDate>Mon, 29 Jul 2024 06:25:34 GMT</pubDate>
    <dc:creator>b.winter</dc:creator>
    <dc:date>2024-07-29T06:25:34Z</dc:date>
    <item>
      <title>Problem Migrating Chat Rooms to Webex using DevNet script</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152468#M2319</link>
      <description>&lt;P&gt;We are in the middle of a migration from on-prem CUCM to Webex.&amp;nbsp; We are trying to migrate Jabber Chat Room content to Webex.&amp;nbsp; We are using this script:&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/gve-sw/GVE_DevNet_Jabber_MigrateRooms-ChatToWebex" target="_blank" rel="noopener"&gt;gve-sw/GVE_DevNet_Jabber_MigrateRooms-ChatToWebex (github.com)&lt;/A&gt;&lt;/P&gt;&lt;P&gt;When we run it as a test (reading data but not creating in Webex) it bombs out in the same place every time.&amp;nbsp; A specific chat room and the last message displayed before the Traceback is always the same.&lt;/P&gt;&lt;P&gt;It's a UnicodeDecodeError.&amp;nbsp; See below.&lt;/P&gt;&lt;P&gt;We're assuming the script is reading something in a chat message it doesn't like or can't convert.&amp;nbsp; We're trying to get past this error.&amp;nbsp; We'd even be fine if there is some loss of data as long as the majority of it migrates over.&amp;nbsp; Has anyone run this script and encountered this problem?&amp;nbsp; If so, how did you resolve it?&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Thanks,&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Jim Makowski&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;Traceback (most recent call last):&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\spyder_kernels\py3compat.py:356 in compat_exec&lt;BR /&gt;exec(code, globals, locals)&lt;/P&gt;&lt;P&gt;File c:\temp\gve_devnet_jabber_migraterooms-chattowebex-master\main.py:806&lt;BR /&gt;main()&lt;/P&gt;&lt;P&gt;File c:\temp\gve_devnet_jabber_migraterooms-chattowebex-master\main.py:241 in main&lt;BR /&gt;for j_msg in jabber_messages:&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\sqlalchemy\engine\result.py:1010 in __iter__&lt;BR /&gt;row = self.fetchone()&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\sqlalchemy\engine\result.py:1343 in fetchone&lt;BR /&gt;self.connection._handle_dbapi_exception(&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\sqlalchemy\engine\base.py:1514 in _handle_dbapi_exception&lt;BR /&gt;util.raise_(exc_info[1], with_traceback=exc_info[2])&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\sqlalchemy\util\compat.py:182 in raise_&lt;BR /&gt;raise exception&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\sqlalchemy\engine\result.py:1336 in fetchone&lt;BR /&gt;row = self._fetchone_impl()&lt;/P&gt;&lt;P&gt;File ~\AppData\Local\Continuum\Anaconda3\lib\site-packages\sqlalchemy\engine\result.py:1215 in _fetchone_impl&lt;BR /&gt;return self.cursor.fetchone()&lt;/P&gt;&lt;P&gt;UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 47: ordinal not in range(128)&lt;/P&gt;</description>
      <pubDate>Sun, 28 Jul 2024 14:52:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152468#M2319</guid>
      <dc:creator>JJMakowski</dc:creator>
      <dc:date>2024-07-28T14:52:24Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Migrating Chat Rooms to Webex using DevNet script</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152661#M2320</link>
      <description>&lt;P&gt;Why don't you ask this question in the DevNET forum? There is a specific forum for that...&lt;/P&gt;
&lt;P&gt;Moved your post.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 06:25:34 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152661#M2320</guid>
      <dc:creator>b.winter</dc:creator>
      <dc:date>2024-07-29T06:25:34Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Migrating Chat Rooms to Webex using DevNet script</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152797#M2321</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/349944"&gt;@JJMakowski&lt;/a&gt;&amp;nbsp;i dont know for sure, but looking at your errors, if you&lt;SPAN&gt;&amp;nbsp;modify the config.py file to include the encoding when connecting to the database, i wonder if this will solve it? Try adding the encoding parameter to the create_engine &lt;/SPAN&gt;&lt;SPAN&gt;function, that might be it?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Otherwise i would open an issue on the repo and hopefully one of the maintainers will be able to help here. I also see two emails on the readme, which you might be able to get direct support from?&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;Hope this helps.&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 10:44:16 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152797#M2321</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2024-07-29T10:44:16Z</dc:date>
    </item>
    <item>
      <title>Re: Problem Migrating Chat Rooms to Webex using DevNet script</title>
      <link>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152798#M2322</link>
      <description>&lt;P&gt;&lt;a href="https://community.cisco.com/t5/user/viewprofilepage/user-id/349944"&gt;@JJMakowski&lt;/a&gt;&amp;nbsp;Maybe the following stackoverflow post helps?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://stackoverflow.com/questions/11972363/sqlalchemy-and-unicodedecodeerror" target="_blank"&gt;https://stackoverflow.com/questions/11972363/sqlalchemy-and-unicodedecodeerror&lt;/A&gt;&lt;BR /&gt;&lt;EM&gt;I have solved the issue. The&amp;nbsp;title&amp;nbsp;column was being returned by SQLAlchemy as a&amp;nbsp;str&amp;nbsp;and not&amp;nbsp;Unicode. I thought adding&amp;nbsp;encoding='utf8'&amp;nbsp;as an argument to&amp;nbsp;create_engine&amp;nbsp;would take care of this, however, the right way to do it is to pass it in the database URI:&amp;nbsp;mysql://me@myserver/mydatabase?charset=utf8&amp;nbsp;.&lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Jul 2024 11:01:08 GMT</pubDate>
      <guid>https://community.cisco.com/t5/cloud-collaboration/problem-migrating-chat-rooms-to-webex-using-devnet-script/m-p/5152798#M2322</guid>
      <dc:creator>Marcel Zehnder</dc:creator>
      <dc:date>2024-07-29T11:01:08Z</dc:date>
    </item>
  </channel>
</rss>

