<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
	<title type="html"><![CDATA[Dropzone Forums — dz.add_dropbar causing Dropzone to crash]]></title>
	<link rel="self" href="https://forums.aptonic.com/feed/atom/topic/515/" />
	<updated>2022-05-09T08:27:02Z</updated>
	<generator>PunBB</generator>
	<id>https://forums.aptonic.com/topic/515/dzadddropbar-causing-dropzone-to-crash/</id>
		<entry>
			<title type="html"><![CDATA[Re: dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1328/#p1328" />
			<content type="html"><![CDATA[<p>4.3.1 is now released. So the dz.add_dropbar() API should work as expected once you update to this version.</p>]]></content>
			<author>
				<name><![CDATA[John]]></name>
				<uri>https://forums.aptonic.com/user/2/</uri>
			</author>
			<updated>2022-05-09T08:27:02Z</updated>
			<id>https://forums.aptonic.com/post/1328/#p1328</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1326/#p1326" />
			<content type="html"><![CDATA[<p>I really hope this week. The fix has long been done, it&#039;s just waiting on me to finish SFTP folder uploading which is going out with 4.3.1. This week or next for sure.</p><p>Sorry for the wait.</p>]]></content>
			<author>
				<name><![CDATA[John]]></name>
				<uri>https://forums.aptonic.com/user/2/</uri>
			</author>
			<updated>2022-05-08T03:43:41Z</updated>
			<id>https://forums.aptonic.com/post/1326/#p1326</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1325/#p1325" />
			<content type="html"><![CDATA[<p>Hi John,</p><p>Any updates on when the new release will be available?</p>]]></content>
			<author>
				<name><![CDATA[ryan]]></name>
				<uri>https://forums.aptonic.com/user/23413/</uri>
			</author>
			<updated>2022-05-08T03:41:33Z</updated>
			<id>https://forums.aptonic.com/post/1325/#p1325</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1300/#p1300" />
			<content type="html"><![CDATA[<p>We don&#039;t send out emails for every release however the app will tell you when there is an update. Will update you here when this fix is out also.</p>]]></content>
			<author>
				<name><![CDATA[John]]></name>
				<uri>https://forums.aptonic.com/user/2/</uri>
			</author>
			<updated>2022-04-08T11:59:04Z</updated>
			<id>https://forums.aptonic.com/post/1300/#p1300</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1299/#p1299" />
			<content type="html"><![CDATA[<p>Hi John,</p><p>Yeah, that was a bad example - I was mostly throwing in a sample path just to demonstrate the method I was calling to make sure there wasn&#039;t something else I needed to be doing. I hard coded paths to files that I knew already existed on my computer and it still made it crash.</p><p>Thanks for looking into it though. Looking forward to the fix. I really like the software and how extensive the API documentation is.</p><p>Do you send out emails when there&#039;s a new release?</p>]]></content>
			<author>
				<name><![CDATA[ryan]]></name>
				<uri>https://forums.aptonic.com/user/23413/</uri>
			</author>
			<updated>2022-04-08T04:11:45Z</updated>
			<id>https://forums.aptonic.com/post/1299/#p1299</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[Re: dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1295/#p1295" />
			<content type="html"><![CDATA[<p>Hi Ryan,</p><p>You&#039;d want to do this instead as os.path.abspath() will not expand the tilde as you expect:</p><div class="codebox"><pre><code>file_paths = [os.path.expanduser(&quot;~/test_file.mp4&quot;)]
dz.add_dropbar(file_paths)</code></pre></div><p>However I&#039;ve just tested this for you and unfortunately I accidentally broke the dz.add_dropbar() API in the latest update and calling this will always cause a crash even when using the correct tilde expansion above. I have made the fix which will be released with Dropzone 4.3.1 in a week or so and then you can give this another go.</p>]]></content>
			<author>
				<name><![CDATA[John]]></name>
				<uri>https://forums.aptonic.com/user/2/</uri>
			</author>
			<updated>2022-04-06T01:01:07Z</updated>
			<id>https://forums.aptonic.com/post/1295/#p1295</id>
		</entry>
		<entry>
			<title type="html"><![CDATA[dz.add_dropbar causing Dropzone to crash]]></title>
			<link rel="alternate" href="https://forums.aptonic.com/post/1294/#p1294" />
			<content type="html"><![CDATA[<p>I&#039;m trying to add a bit of code to the YouTube Downloader that will add the newly created file to the dropbar. However, when I add dz.add_dropbar to the code, Dropzone crashes each time. I&#039;ve made sure that the file exists at the specified pathway. I&#039;ve also tested it with a few different file types. I logged the message to a file so I could see the error since it causes the whole program to crash and I therefore can&#039;t view the debugger. The error is:</p><p><span style="color:#FF0000">EOF when reading a line</span></p><br /><p>Here is a snippet of the code I&#039;ve added that causes the error:</p><div class="codebox"><pre><code>file_paths = [os.path.abspath(&#039;~&#039;) + &quot;test_file.m4a&quot;]
dz.add_dropbar(file_paths)</code></pre></div><br /><p>I can&#039;t figure out why it&#039;s throwing an EOF error.</p>]]></content>
			<author>
				<name><![CDATA[ryan]]></name>
				<uri>https://forums.aptonic.com/user/23413/</uri>
			</author>
			<updated>2022-04-05T19:37:48Z</updated>
			<id>https://forums.aptonic.com/post/1294/#p1294</id>
		</entry>
</feed>
