<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Recent changes to 406: Cannot read linked files</title><link>https://sourceforge.net/p/gscan2pdf/bugs/406/</link><description>Recent changes to 406: Cannot read linked files</description><atom:link href="https://sourceforge.net/p/gscan2pdf/bugs/406/feed.rss" rel="self"/><language>en</language><lastBuildDate>Sat, 15 Oct 2022 16:09:56 -0000</lastBuildDate><atom:link href="https://sourceforge.net/p/gscan2pdf/bugs/406/feed.rss" rel="self" type="application/rss+xml"/><item><title>#406 Cannot read linked files</title><link>https://sourceforge.net/p/gscan2pdf/bugs/406/?limit=25#e2e1</link><description>&lt;div class="markdown_content"&gt;&lt;ul&gt;
&lt;li&gt;&lt;strong&gt;status&lt;/strong&gt;: open --&amp;gt; closed-fixed&lt;/li&gt;
&lt;/ul&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Sat, 15 Oct 2022 16:09:56 -0000</pubDate><guid>https://sourceforge.net6ee83ed5403dd2a9f92456fddae8e4c4051e4cf6</guid></item><item><title>#406 Cannot read linked files</title><link>https://sourceforge.net/p/gscan2pdf/bugs/406/?limit=25#3464</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Indeed, the following patch fixes things for me.&lt;/p&gt;
&lt;div class="codehilite"&gt;&lt;pre&gt;&lt;span&gt;&lt;/span&gt;&lt;code&gt;&lt;span class="gh"&gt;diff --git a/lib/Gscan2pdf/Document.pm b/lib/Gscan2pdf/Document.pm&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gh"&gt;index 97f86972..cb13470a 100644&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gd"&gt;--- a/lib/Gscan2pdf/Document.pm&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+++ b/lib/Gscan2pdf/Document.pm&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gu"&gt;@@ -2810,7 +2810,7 @@ sub _thread_get_file_info {&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;

&lt;span class="w"&gt; &lt;/span&gt;    $logger-&amp;gt;info("Getting info for $options{filename}");&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;    ( undef, my $format ) =&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gd"&gt;-      exec_command( [ 'file', '-b', $options{filename} ] );&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="gi"&gt;+      exec_command( [ 'file', '-Lb', $options{filename} ] );&lt;/span&gt;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;    chomp $format;&lt;span class="w"&gt;&lt;/span&gt;
&lt;span class="w"&gt; &lt;/span&gt;    $logger-&amp;gt;info("Format: '$format'");&lt;span class="w"&gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;&lt;/div&gt;
&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Sat, 15 Oct 2022 15:40:30 -0000</pubDate><guid>https://sourceforge.netfb76a0fb64a2bdd93c85449893f49b4fc26a252a</guid></item><item><title>#406 Cannot read linked files</title><link>https://sourceforge.net/p/gscan2pdf/bugs/406/?limit=25#a763</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Thanks for the report. I can reproduce this. I think this must have been triggered by a change in the behaviour of the "file" tool, as I haven't changed this part of the code recently.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeffrey Ratcliffe</dc:creator><pubDate>Sat, 15 Oct 2022 15:35:46 -0000</pubDate><guid>https://sourceforge.net98d4ad6359918375919b6e2e9b0fe4e2a2d166d4</guid></item><item><title>Cannot read linked files</title><link>https://sourceforge.net/p/gscan2pdf/bugs/406/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;I am using version 2.12.6 of gscan2pdf on xubuntu 22.04. A symbolic link to a tiff file hangs the user interface when you open it. I see a blank gscan2pdf screen with the progress bar at the bottom, stuck on "Process 1 of 3 (import file - importing page 1 of 1)". After this nothing works until I close gscan2pdf and open it again.  Opening the file that is the link target works correctly. This is a recent bug, I have used gscan2pdf for years and I have used it with symbolic linked files without problem until now.&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter G Bennett</dc:creator><pubDate>Fri, 14 Oct 2022 19:36:28 -0000</pubDate><guid>https://sourceforge.net843952b51b04063b5ab2d032fddbe9404e79e4cd</guid></item><item><title>Cannot read linked files</title><link>https://sourceforge.net/p/gscan2pdf/bugs/406/</link><description>&lt;div class="markdown_content"&gt;&lt;p&gt;Ticket 406 has been modified: Cannot read linked files&lt;br/&gt;
Edited By: Jeffrey Ratcliffe (ra28145)&lt;br/&gt;
Status updated: 'open' =&amp;gt; 'closed-fixed'&lt;/p&gt;&lt;/div&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Peter G Bennett</dc:creator><pubDate>Fri, 14 Oct 2022 19:36:28 -0000</pubDate><guid>https://sourceforge.netb9cf5d451c66689e7d75993f6da790d5ffb70098</guid></item></channel></rss>