digital-preservation / droid

DROID (Digital Record and Object Identification)
BSD 3-Clause "New" or "Revised" License
285 stars 75 forks source link

DROID 6.7 stuck in initialising profile on a MAC #1098

Closed kathaurielle closed 7 months ago

kathaurielle commented 7 months ago

Hello, I have a user with the above problem. He has it scanning both files of a Hard Drive and desktop.- he clicks start and nothing happens. They say they have Java. Pics are attached. Any advice, please?

kp1

kp)

kathaurielle commented 7 months ago

kp)

steve-daly commented 7 months ago

Can the user press the "Open" button to the right of the "Log Location" field in the first screenshot, and see what the end of the log file looks like.

kathaurielle commented 7 months ago

Thanks have asked, and suggested they join in here.

gibco commented 7 months ago

Look, I need to examine this file but when I select it and click start, the system does not process the analysis and does not generate the report.

Capture de Pantalla 2024-04-23 a la(s) 10 33 55 a m Capture de Pantalla 2024-04-23 a la(s) 10 34 18 a m
sparkhi commented 7 months ago

Hi @gibco

We believe the log file will have more details about the errors if there are any. If you go to the "About Droid" dialog, open the log location and send the log file to us, we can take a look.

Many thanks,

gibco commented 7 months ago

Hello I share the files

Thanks a lot for your help

Captura de Pantalla 2024-04-23 a la(s) 9 11 52 p m

logs_droid.zip

steve-daly commented 7 months ago

Thanks. This looks to be an issue with the underlying database when working with the "Latin American Spanish" localisation setting on your machine. DROID should work with different languages but it looks as if there's a known issue with the underlying database when working with this particularly country setting, as it uses an unusual country code ("419") rather than the normal two letter county code (e.g. GB or ES). Do you have the option for setting the region of your machine more specifically to a defined country.

sparkhi commented 7 months ago

As a workaround, you could set the language and country as a parameter on JVM that is running Droid. This will get you past the hurdle but it would result in situations for which we have not tested 100%

If you want to try, you can change line number 151 in the file droid.sh to be as given below (including country as Colombia and language as spanish) : java $OPTIONS -Duser.country=CO -Duser.language=es -jar "$DROID_HOME/droid-ui-6.7.0.jar"

and Droid should launch the UI as normal.

Please Note: This would be very specific to your case, whenever we release a new version, we always default to picking language and country code from the underlying operating system, If you can set these on your OS, that would be better than modifying 'droid.sh' file

gibco commented 7 months ago

List I have made the line change

cambio de linea

So..

  1. I open droid
  2. create profile
  3. I search for files
  4. I click start
  5. does not process Note:

Screen Shot 2024-04-24 at 2 07 08 PM

note: reviewed and changed the locale. I'm going to restart the machine and tell you

gibco commented 7 months ago

Hello, I already modified it and it worked perfectly. Thank you for your cooperation

Screen Shot 2024-04-24 at 2 18 12 PM

Note: I left the file modified on line 151, and it worked the same... but I will leave it as it was originally...

kathaurielle commented 7 months ago

Great news Jhon, thanks for letting us know.