Jump to content


Photo

User tool import (Html) fails with some scripture references

User tool import

  • Please log in to reply
4 replies to this topic

#1 Tim Campbell

Tim Campbell

    Member

  • Active Members
  • Pip
  • 12 posts
  • Gender:Male
  • Accordance Version:11.x
  • Platforms:Mac OS X, iOS

Posted 19 May 2015 - 08:55 AM

As reported in my support thread here I have found that importing user tools fails when scripture references are in <book> <chapter>.<verse> format, and especially when they are gathered together in lists.

 

For example, any of the following occurring in a html document to be imported will cause the import to fail silently, and no user tool will be created:

 

Eph. 1.1-10, 12-14

2 Cor. 1.22; 5.5; Eph 1.14

Josephus in J. W. 4.335-344; 2.254-257, 264-265.

 

 

Steps to reproduce

==============

1. Create an HTML file containing any of the lines above.

2. File -> User Files -> Import User Tool...

3. Import the HTML file as a new user tool

 

Expected results

============

Even if the above were not correctly hyperlinked, I would expect the import to run to completion and the user tool to be created. Ideally, they would all be detected and hyperlinked correctly.

 

At a minimum, if the import did fail I would expect a notification indicating the nature of the failure and the context (i.e. the line / reference that it failed on).

 

Actual results

==========

Import fails, no user tool is created.

 

Workaround

=========

In all of the cases shown above, converting the period to a colon allows the import to succeed. However, tracking back through 8 years of research notes and manually making this change is tedious, particularly when (a) there is no indication of what or where the problem is; and (B) the same data imported fine into Accordance 10.

 

System Details

===========

Accordance 11.0.6

2015 MacBook Pro

OS X 10.10.2



#2 Fabian

Fabian

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 529 posts
  • Gender:Male
  • Interests:www.internetkirche.com
    www.iglesia-del-internet.com
  • Accordance Version:11.x
  • Platforms:Mac OS X, iOS

Posted 19 May 2015 - 09:13 AM

If you use OpenOffice or similar LibreOffice or NeoOffice, then with (\w+) (\d+)[.](\d+) as search and replace it as $1 $2:$3 in the replace field. When set on more options and then tick regular expressions or regex. Then it would all dots that comes after a word then a digit, followed by a digit replace to a :

 

Or only 

 

(\d+)[.](\d+)

 

$1:$2

 

for verse numbering after a verse (for all). If you don't have another format that use digit.digit then you can take this alone. But I'm try first better this which is more specific. I had made my experiences :blink: as I use to global searches and replaces.

 

Go on the search and replace pop-up to the help files, down left and search there for regu? and you'll find more infos.

 

Greetings

 

Fabian


Edited by Fabian, 19 May 2015 - 09:20 AM.

Mac Air (13-inch, Mid 2013)

1,3 GHz Intel Core i5

4GB Ram

Next time: I'll buy only one with Retina, and hopefully without a glossy screen. A faster CPU and more RAM.

 

Yosemite 10.10.3

Accordance 11.0.6 and waiting on 11.1

 

iPhone 4S

iOS 8.3

iAccord 2.0


#3 Joel Brown

Joel Brown

    Administrator

  • Admin
  • 3,308 posts
  • Gender:Male
  • Location:Houston, TX
  • Accordance Version:11.x
  • Platforms:Mac OS X, Windows

Posted 31 May 2015 - 05:37 AM

Tim, just to follow up here as well, I apologize for the delay, but this bug will be fixed in the next rev of Accordance.  It will be able to successfully import and autolink all of those references, except the Josephus set.


  • Fabian likes this
Joel Brown

By day: Consultant for Oaktree
By night: Freelance Trombonist and Private Instructor

#4 Tim Campbell

Tim Campbell

    Member

  • Active Members
  • Pip
  • 12 posts
  • Gender:Male
  • Accordance Version:11.x
  • Platforms:Mac OS X, iOS

Posted 31 May 2015 - 05:41 AM

Tim, just to follow up here as well, I apologize for the delay, but this bug will be fixed in the next rev of Accordance.  It will be able to successfully import and autolink all of those references, except the Josephus set.

 

Thanks Joel, this is great news :-) I will look forward to the next update!



#5 Fabian

Fabian

    Platinum

  • Active Members
  • PipPipPipPipPip
  • 529 posts
  • Gender:Male
  • Interests:www.internetkirche.com
    www.iglesia-del-internet.com
  • Accordance Version:11.x
  • Platforms:Mac OS X, iOS

Posted 31 May 2015 - 07:47 AM

Hello Joel

 

will this be fixed too? http://www.accordanc...opean +notation

 

Greetings

 

Fabian


Mac Air (13-inch, Mid 2013)

1,3 GHz Intel Core i5

4GB Ram

Next time: I'll buy only one with Retina, and hopefully without a glossy screen. A faster CPU and more RAM.

 

Yosemite 10.10.3

Accordance 11.0.6 and waiting on 11.1

 

iPhone 4S

iOS 8.3

iAccord 2.0






Also tagged with one or more of these keywords: User tool, import

0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users