Skip to content
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

Standalone mvupdate not working anymore since V0.6.0 #118

Closed
Milhouse77 opened this issue Mar 9, 2019 · 3 comments

Comments

Projects
None yet
2 participants
@Milhouse77
Copy link

commented Mar 9, 2019

Hi.
Thank you for your great work. This plugin in more than helpful and really completes my KODI setup.
Unfortunately, I have a problem with V 0.6.0+: I used a standalone DB-update task (configured “by the book”) on my Synology Nas. Despite the full DB update took like forever (~2h) it was working.
Since I updates to V0.6.0 of the plugin I get error messages.
Output from Console:

admin@nas:/$ cd /volume1/Software/Mediathekview
admin@nas:/volume1/Software/Mediathekview$ python2 ./mvupdate -v mysql -P 3307 --user root --password xxxxxxxx -d mediathekview
Traceback (most recent call last):
  File "./mvupdate", line 36, in <module>
    APP.init()
  File "/volume1/Software/Mediathekview/resources/lib/mvupdate.py", line 527, in init
    self.settings = Settings(self.args)
  File "/volume1/Software/Mediathekview/resources/lib/mvupdate.py", line 41, in __init__
    self.updnative = args.native
AttributeError: 'Namespace' object has no attribute 'native'
admin@nas:/volume1/Software/Mediathekview$

Could you please advise me?

Many thanks in advance!

@tuxpoldo

This comment has been minimized.

Copy link
Member

commented Mar 9, 2019

The problem has been fixed thanks to a pull request from @dgln - The fix will be released in the next release. you may replace the affected file resources/lib/mvupdate.py with the fixed version (follow the link)

@Milhouse77

This comment has been minimized.

Copy link
Author

commented Mar 10, 2019

Thank you very much. It works now.
But is the duration of 2h "normal" for an full update on a Synology (Maria DB 10)?

@tuxpoldo

This comment has been minimized.

Copy link
Member

commented Mar 10, 2019

Unfortunately yes. But we are working on additional update strategies and we have some idea on how to improve the Update on MySQL/MariaDB - stay tuned.

tuxpoldo added a commit that referenced this issue Mar 10, 2019

@tuxpoldo tuxpoldo closed this in 78edbce Mar 10, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.