Giter Club home page Giter Club logo

Comments (7)

desimaniac avatar desimaniac commented on May 16, 2024

Can you run this command and paste the results?

/home/seed/cloudbox/roles/settings/files/settings-updater.py '/home/seed/cloudbox' 'accounts.yml.default' 'accounts.yml'

You will need to replace seed with your user name.

from cloudbox.

Biologist89 avatar Biologist89 commented on May 16, 2024

Seed also is my user name. Here is the results:

Traceback (most recent call last):
  File "/home/seed/cloudbox/roles/settings/files/settings-updater.py", line 140, in <module>
    did_upgrade, upgraded_settings = upgrade_settings(default_settings, current_settings)
  File "/home/seed/cloudbox/roles/settings/files/settings-updater.py", line 102, in upgrade_settings
    sub_upgrade, res[k] = upgrade_settings(v, current[k], k)
  File "/home/seed/cloudbox/roles/settings/files/settings-updater.py", line 98, in upgrade_settings
    res[k] = current[k]
TypeError: string indices must be integers

from cloudbox.

desimaniac avatar desimaniac commented on May 16, 2024

Can you paste your accounts.yml on an online yaml format validator and see if it finds an issue ?

from cloudbox.

Biologist89 avatar Biologist89 commented on May 16, 2024

I've used yamllint[dot]com for checking and validating the accounts.yml file. It found some errors and rearranged yml file, However problem still persists after editing file. Thanks again for your quick and clear responses. Respects.

from cloudbox.

desimaniac avatar desimaniac commented on May 16, 2024

I'm not sure what's up. But i guess you can just add --skip-tags settings to the command to just skip that part. It only adds new settings from the .default files in.

from cloudbox.

Biologist89 avatar Biologist89 commented on May 16, 2024

Another error happened this time.

fatal: [localhost]: FAILED! => {"msg": "The task includes an option with an undefined variable. The error was: 'nzbget' is undefined\n\nThe error appears to have been in '/home/seed/cloudbox/roles/pre_tasks/tasks/clean_paths.yml': line 15, column 3, but may\nbe elsewhere in the file depending on the exact syntax problem.\n\nThe offending line appears to be:\n\n\n- name: Remove trailing slash from old downloads paths\n  ^ here\n"}

Maybe I'm not lucky enough to use these cool tools. Thanks again for your time and hard work.

from cloudbox.

desimaniac avatar desimaniac commented on May 16, 2024

That's something that I may need to fix later. For now put back the following in settings.yml

nzbget:
  downloads: 
rutorrent:
  downloads:

But you can leave it blank.

FYI, This is what the settings updater would have fixed.

from cloudbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.