openmolecules.org

 
Home » DataWarrior » Bug Reports » Copy & Paste Between Sheets
Copy & Paste Between Sheets [message #1310] Thu, 17 June 2021 02:28 Go to next message
sbembenek18 is currently offline  sbembenek18
Messages: 60
Registered: April 2019
Member
I am unable to copy a set of rows from one sheet into another sheet.

I select the desired rows and then do Edit->Copy; Edit->Pase, which in the paste has created a new sheet and paste the desired rows into it. However, now it attempts to do this, but simply locks up.
Re: Copy & Paste Between Sheets [message #1312 is a reply to message #1310] Thu, 17 June 2021 14:40 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
I tried to do that with some rows containing structures and other data on Linux and on Windows,
which worked well in both cases. On which OS are you working and which version do you use?
Can you start from the command line and see, whether you get any error message?
Do you have the problem with any copy/paste or does it work for e.g. text data without structures/reactions?
Can you copy some cell's text and paste into a text editor? Can you copy from spreadsheet and paste into DataWarrior?

Many thanks in advance,

Thomas
Re: Copy & Paste Between Sheets [message #1313 is a reply to message #1312] Sat, 19 June 2021 03:30 Go to previous messageGo to next message
sbembenek18 is currently offline  sbembenek18
Messages: 60
Registered: April 2019
Member
I'm running DW 5.5.0 on CentOS Linux release 7.9.2009 (Core).

When I do the cut and past, it does give an error at the terminal:

java.lang.ArrayIndexOutOfBoundsException: 1
at com.actelion.research.table.CompoundTableLoader.handleOldSty leIDCodes(CompoundTableLoader.java:986)
at com.actelion.research.table.CompoundTableLoader.processLines (CompoundTableLoader.java:937)
at com.actelion.research.table.CompoundTableLoader.readTextData (CompoundTableLoader.java:651)
at com.actelion.research.table.CompoundTableLoader.readData(Com poundTableLoader.java:2118)
at com.actelion.research.table.CompoundTableLoader.run(Compound TableLoader.java:2068)
at java.lang.Thread.run(Thread.java:748)

Hmmm ... looks like a java issue -- please advise.
Re: Copy & Paste Between Sheets [message #1314 is a reply to message #1313] Sat, 19 June 2021 03:31 Go to previous messageGo to next message
sbembenek18 is currently offline  sbembenek18
Messages: 60
Registered: April 2019
Member
I'm running:

openjdk version "1.8.0_292"
OpenJDK Runtime Environment (build 1.8.0_292-b10)
OpenJDK 64-Bit Server VM (build 25.292-b10, mixed mode)
Re: Copy & Paste Between Sheets [message #1328 is a reply to message #1314] Mon, 28 June 2021 17:07 Go to previous messageGo to next message
thomas is currently offline  thomas
Messages: 715
Registered: June 2014
Senior Member
sorry for the late reply. I have been in vacation.

I have tried copying with version 5.5.0 and could not reproduce.
I checked the error message and found that there was a fix of a related problem in April.

I suggest that you download the current development update from https://openmolecules.org/datawarrior/dw550x.zip, unpack it and replace /opt/datawarrior/datawarrior.jar with the new one from the archive.
I assume that the problem is solved then. If not, please send me a small file and instructions what to select, copy, paste to reproduce.

Thomas
Re: Copy & Paste Between Sheets [message #1341 is a reply to message #1328] Thu, 15 July 2021 01:53 Go to previous message
sbembenek18 is currently offline  sbembenek18
Messages: 60
Registered: April 2019
Member
This worked! thanks!
Previous Topic: Errors calculating flexophore-based similarity/activity cliff of certain molecules
Next Topic: Fragment cannot be converted to 2D structural
Goto Forum:
  


Current Time: Fri Nov 22 12:46:55 CET 2024

Total time taken to generate the page: 0.04245 seconds