-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can´t access to OneDrive with mDriveOOo extension #10
Comments
I tried putting vnd-microsoft://xxxxx@live.com on the first drop-down, nothing happens on the LibreOffice screen, the terminal show the following: xxxx@xxxxxxx:~$ soffice |
The first thing to do, but you may have already done it?
|
I did the following:
|
I would like to point out that the Open button does not work, you must enter the connection url (ie: vnd-microsoft://your_address@your_provider.com) and validate with the enter key |
I did it like this and it doesn't work either |
Looking at the log that you bring me, it seems that the problem is related to the connection to the HsqlDB database. First you have to try again with the new version of OAuth2OOo 1.1.1 and mDriveOOo 1.0.1. I suspect a problem in the user profile, it would be good to delete the folder: /home/user/.config/libreoffice and make a copy beforehand in order to be able to restore it if necessary... Last thing to check is the version of the python modules which is accessible in: |
Looking at the log files it seems that the mDriveOOo database is not created during the first connection. I would like to see the jdbc driver version loaded by jdbcDriverOOo. First you must install the latest version of jdbcDriverOOo 1.0.5 which allows to record the version of the JDBC drivers in the log file. After, can you go to: And after make a copy of the log file which can be accessed by: |
Find the log at the end. |
Okay, I'm seriously lacking ideas regarding this problem... Could you show me what is displayed in: |
I suspect that the database is not being created on the first launch of the mDriveOOo extension. An vnd-microsoft.odb file is created during this first launch in the folder: Can you confirm the presence of this file? Looking better at the screenshot: Options - LibreOffice Base - Connections |
The vnd-microsoft.odb file does not appear in the directory, only the followings: And the io.github.prrvchr.uno.sdbcx.Driver driver isn´t listed on Options - LibreOffice Base - Connections either. |
I uninstalled the three extensions, downloaded and installed again. I noticed the jdbcDriverOOo.jar driver is listed in the directory ~/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu263512ch1f.tmp_/jdbcDriverOOo.oxt/, but not in the ~/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu263512ch1f.tmp_/jdbcDriverOOo.oxt/driver/ directory where all the others that come with LibreOffice are, see screenshots. Perhaps for this reason this driver is not listed in Options - LibreOffice Base - Connections, I tried to copy the .jar file into the LibreOffice driver directory and it doesn't work either. It is a shame that this useful extension has not yet been able to work in LibreOffice, perhaps by identifying the reason why the jdbcDriverOOo is not installed correctly, you will be able to solve it. The log file is attached also. |
This is normal.
What is the log obtained during your first connection with mDriveOOo from: Tools -> Options -> Internet -> mDriveOOo -> View log? And is the list of drivers the same in the wizard accessible by: File -> New -> Database? |
After install "sudo apt install libreoffice-base" the io.github.prrvchr.uno.sdbcx.Driver appeared on Options - LibreOffice Base - Connections, but still experiencing the same issue. When try to create a new database the listed drivers are shown on the screenshot. The mDriveLog is attached also. |
for sure it can't work without this package... You still need to remove the following 2 packages and it should work...
Thank you to confirm. |
libreoffice-sdbc-hsqldb and libhsqldb1.8.0-java uninstalled, after OS reboot, tried writing vnd-microsoft://... on the 1st drop-down, nothing happens, resulting the same issue. The io.github.prrvchr.uno.sdbcx.Driver always appeared on Options - LibreOffice Base - Connections. Now the content on directory ~/.config/libreoffice/4/user/uno_packages/cache/uno_packages/lu55361aq9m.tmp_/mDriveOOo.oxt/hsqldb is: total 1584 The vnd-microsoft.odb file is still missing. |
If you were missing the libreoffice-base package, I think your LibreOffice is not properly installed. Uninstall the 3 extensions. Try reinstalling LibreOffice and removing the 2 HsqlDB packages: Reinstall the 3 extensions and making a copy of the mDrive log on first connection. |
Worked! but couldn't read the remote directories, the file box was blank, only was read the root directory, I tried writing the file name, enter and suddenly the LibreOffice closed, I uninstall and install the three drivers and worked again, but always can read the root remote directory only. |
Since the problems come from your configuration, I advise you, first of all, to try to create a new Microsoft oneDrive account, with an empty oneDrive, to ensure proper functioning. |
Tried with new account and other accounts, it seems the driver doesn't update the remote files and always open the local file list recovered the first time. |
Well I believe that this issue has nothing to do with mDriveOOo but rather is due to a bad installation of LibreOffice or even the system. |
Hi Fa5g, I have just added a feature in the logs which allows you to list all the Python packages used by the extension, their origin (already installed on the system or provided by the extension) and their version (if it comes from the system). To use this new functionality, you must use the latest versions of OAuth2OOo 1.2.4, jdbcDriverOOo 1.0.8 and mDriveOOo 1.0.7 This information is available in the extension options dialog window: Tools -> Options -> Internet -> Extension name -> View log -> System info |
Well since mDriveOOo version 1.1.0 allows you to install and/or upgrade Python packages with the You are free to open a new one if necessary and thank you for your contribution. |
Even though I have installed the three extensions indicated in your tutorial: OAuth2OOo.oxt, jdbcDriverOOo.oxt, mDriveOOo.oxt, I have not been able to get the corresponding access to OpenDrive to create, edit and then save my files. I´m using Ubuntu 22.04.3 LTS and LibreOffice 7.5.5.2. When running in terminal the command soffice as was suggested at #9 (comment), LibreOffice open and show its main screen, no errors at all. Maybe I´m doing something wrong! Any help would be highly appreciated. Thanks.
The text was updated successfully, but these errors were encountered: