Re: [basex-talk] Problem with creating new database from GUI

2023-08-07 Thread Andreas Hartmann
at 
java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
Source)

at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown 
Source)

at java.desktop/java.awt.AWTEventMulticaster.mouseReleased(Unknown 
Source)

at java.desktop/java.awt.Component.processMouseEvent(Unknown Source)

at java.desktop/javax.swing.JComponent.processMouseEvent(Unknown Source)

at java.desktop/java.awt.Component.processEvent(Unknown Source)

at java.desktop/java.awt.Container.processEvent(Unknown Source)

at java.desktop/java.awt.Component.dispatchEventImpl(Unknown Source)

at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)

at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)

at 
java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)

at 
java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)

at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Unknown 
Source)

at java.desktop/java.awt.Container.dispatchEventImpl(Unknown Source)

at java.desktop/java.awt.Window.dispatchEventImpl(Unknown Source)

at java.desktop/java.awt.Component.dispatchEvent(Unknown Source)

at java.desktop/java.awt.EventQueue.dispatchEventImpl(Unknown Source)

at java.desktop/java.awt.EventQueue$4.run(Unknown Source)

at java.desktop/java.awt.EventQueue$4.run(Unknown Source)

at java.base/java.security.AccessController.doPrivileged(Unknown Source)

at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
 Source)

at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
 Source)

at java.desktop/java.awt.EventQueue$5.run(Unknown Source)

at java.desktop/java.awt.EventQueue$5.run(Unknown Source)

at java.base/java.security.AccessController.doPrivileged(Unknown Source)

at 
java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(Unknown
 Source)

at java.desktop/java.awt.EventQueue.dispatchEvent(Unknown Source)

at 
java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)

at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)

at 
java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.desktop/java.awt.EventDispatchThread.pumpEvents(Unknown Source)

at java.desktop/java.awt.EventDispatchThread.run(Unknown Source) 

 

However, the parsing seems to work and the database is saved, but it is not 
possible to open the properties window. When I try to create a second database 
it is not possible anymore to open the “Create database” window.

 

Thanks,

Andreas

 

 

Von: Christian Grün  
Gesendet: Montag, 7. August 2023 18:04
An: Andreas Hartmann ; BaseX 

Betreff: Re: [basex-talk] Problem with creating new database from GUI

 

Hi Andreas (cc to the list),

 

Thanks for forwarding the error message, which indicates that removed »Text 
Parser« may have caused the problem [1]. Good to know it works again.

 

Best,

Christian

 

[1] https://docs.basex.org/wiki/Parsers#Changelog 
<https://emea01.safelinks.protection.outlook.com/?url=https%3A%2F%2Fdocs.basex.org%2Fwiki%2FParsers%23Changelog&data=05%7C01%7C%7C6fa8134efa6b4a4af14808db975ff851%7C84df9e7fe9f640afb435%7C1%7C0%7C638270210658759816%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C&sdata=Vev3%2Fj4XCRnkZG5pzxMMB%2FzoDrdlHeLo%2BWGpF5Eb%2BXI%3D&reserved=0>
 

 

 

On Mon, Aug 7, 2023 at 5:57 PM Andreas Hartmann mailto:andreas.hartm...@gmx.org> > wrote:

Hi Christian,

 

in fact I installed BaseX from the .exe. I did now try the .jar and .zip and 
those work without any problems. Then I did a clean reinstall with the .exe and 
this seems to have fixed the problem. This is the first time I had problems 
with installing a new version over an existing installation.

 

For what it’s worth, when starting the jar-file from the .exe before the 
reinstall and clicking on the icon I got in the command line:

 

Exception in thread "AWT-EventQueue-0" 
java.lang.ArrayIndexOutOfBoundsException: Index 3 out of bounds for length 3

at org.basex.gui.dialog.DialogParsing.setType(DialogParsing.java:79)

at org.basex.gui.dialog.DialogImport.action(DialogImport.java:165)

at org.basex.gui.dialog.DialogNew.action(DialogNew.java:115)

at org.basex.gui.dialog.DialogNew.(DialogNew.java:105)

at org.basex.gui.GUIMenuCmd$1.execute(GUIMenuCmd.java:40)

at 
org.basex.gui.layout.BaseXButton.lambda$command$2(BaseXButton.java:115)

 

 



[basex-talk] Problem with creating new database from GUI

2023-08-07 Thread Andreas Hartmann
Hello,

since I updated to 10.7 I can no longer create a new database from the GUI.
Neither clicking on the icon nor the shortcut CTRL+N cause the database
creation window to open. Using the menu also has no effect.

The other icons work normally.

Thanks,
Andreas



[basex-talk] Full text search with non-Latin scripts

2022-09-17 Thread Andreas Hartmann
Hi,

I have problems with full text search in 10.1, when non-Latin script is
involved. Expressions such as

"βάναυσος" contains text "67644567" using fuzzy
"67644567" contains text "βάναυσος" using fuzzy
"humbug" contains text "βάναυσος" using fuzzy

all yield "true". It's the same with Hebrew strings. It does not matter
which Greek/Hebrew word is used, as long as the word-length does not differ
too much from the compared string. Is this really the expected behavior or
could it be a bug?

Best greetings
Andreas



[basex-talk] Regex j-flag

2019-03-13 Thread Andreas Hartmann
Hi

The "j" flag for regular expressions introduced in version 9.1 doesn't seem
to work in 9.1.2 anymore. For example, matches("Fenster", "\bfenst", "ij")
produces [FORX0001] invalid regular flag 'j'. The same expression works in
9.1.1.

Best Greetings,

Andreas