*Internal error occured while perfroming this...*

Discussion in 'Bukkit Help' started by Scoredplayer, Mar 3, 2011.

Thread Status:
Not open for further replies.
  1. Offline

    Scoredplayer

    Hello,
    I am a new member of the bukkit community and have some experience with plugins, but everytime i try a command (have permissions not sure if they are right though.) it says ' An internal error occured while attemting to perform this command.' I'm not sure how to fix this please give me feedback
    *will be developing plugin :)*

    *feedback please :)*
     
  2. Offline

    Plague

    post the whole error from server.log
     
  3. Offline

    Scoredplayer

    Caused by: while scanning a simple key
    in "<reader>", line 62, column 5:
    Admins:Scoredplayer
    ^
    could not found expected ':'
    in "<reader>", line 63, column 16:
    default: false
    ^
    at org.yaml.snakeyaml.scanner.ScannerImpl.stalePossibleSimpleKeys(ScannerImpl.java:400)
    at org.yaml.snakeyaml.scanner.ScannerImpl.needMoreTokens(ScannerImpl.java:231)
    at org.yaml.snakeyaml.scanner.ScannerImpl.checkToken(ScannerImpl.java:182)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceEntry.produce(ParserImpl.java:510)
    at org.yaml.snakeyaml.parser.ParserImpl$ParseBlockSequenceFirstEntry.produce(ParserImpl.java:502)
    at org.yaml.snakeyaml.parser.ParserImpl.peekEvent(ParserImpl.java:163)
    at org.yaml.snakeyaml.parser.ParserImpl.checkEvent(ParserImpl.java:148)
    at org.yaml.snakeyaml.composer.Composer.composeSequenceNode(Composer.java:203)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:158)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeMappingNode(Composer.java:230)
    at org.yaml.snakeyaml.composer.Composer.composeNode(Composer.java:160)
    at org.yaml.snakeyaml.composer.Composer.composeDocument(Composer.java:122)
    at org.yaml.snakeyaml.composer.Composer.getSingleNode(Composer.java:105)
    at org.yaml.snakeyaml.constructor.BaseConstructor.getSingleData(BaseConstructor.java:124)
    at org.yaml.snakeyaml.Yaml.load(Yaml.java:264)
    at org.bukkit.util.config.Configuration.load(Configuration.java:73)
    at com.nijiko.permissions.Control.load(Control.java:147)
    at com.nijiko.permissions.Control.loadWorld(Control.java:111)
    at com.nijiko.permissions.Control.permission(Control.java:301)
    at com.nijiko.permissions.Control.has(Control.java:264)
    at com.nijikokun.bukkit.Permissions.Permissions.onCommand(Permissions.java:159)
    at org.bukkit.command.PluginCommand.execute(PluginCommand.java:19)
    ... 12 more
     
  4. Offline

    Plague

    Looks like an error in the permissions configuration file.
     
  5. Offline

    Scoredplayer

    well can you give me anymore help?
    teamviewer?
    :)
    --- merged: Mar 4, 2011 2:18 AM ---
    i do have little - like this ex: - 'jail.usercmd.jailstatus'
    is that right?
    --- merged: Mar 4, 2011 2:54 AM ---
    can anyone help me with this i will thank you gratly
    :)
     
  6. Offline

    mughi

    there are yaml checkers out there.. (i don't use any plugins that require it much, so i won't be much help)
     
  7. Offline

    Prohanian

    Just post the contents of your permissions config file in the permissions folder. I'll check to see if there are any problems with it. Also make sure you aren't using tabs in the config file as that can cause internal errors. Only use spaces and make sure each line is exactly where it needs to be.
     
  8. Offline

    Scoredplayer

    okay
    --- merged: Mar 4, 2011 9:23 PM ---
    # System is no longer used, but may become used in the future
    # Copies is for multiple-world support
    # Put the name of the world you wish for it to be a clone of, otherwise leave it empty.
    # Does not work for the default world.
    # Example: copies: Derp - This will clone the permissions of the world Derp
    plugin:
    permissions:
    system: default
    copies:
    # Groups can contain inheritance.
    # To make a group inherit the permissions from another
    # group simply place the groups name in the "inheritance:" like so:
    #
    # Example:
    # inheritance:
    # - Default
    ##
    # All permissions including the asterisks must be placed in single quotes.
    # like so:
    #
    # - 'general.spawn'
    #
    # Otherwise errors will happen!
    ##
    # Globalized Permission settings:
    #
    # If a permission contains periods (.) you can denote a globalized parameter:
    #
    # - 'general.*'
    #
    # This will allow you to use all general commands.
    #
    ##
    # Single Asterisk denotes all commands:
    #
    # - '*'
    ##
    # To exempt a node use the - prefix like so:
    # - '-general.time'
    ##
    groups:
    Default:
    default: true
    info:
    prefix: ''
    suffix: ''
    build: false
    inheritance:
    permissions:
    - 'foo.bar'
    Moderator:
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    - Default
    permissions:
    - 'bar.foo'
    Admins: Scoredplayer
    default: false
    info:
    prefix: ''
    suffix: ''
    build: true
    inheritance:
    permissions:
    -'permissions.reload'
    -'jail.command.jailcreate'
    -'jail.command.jaildelete'
    -'jail.command.jail'
    -'jail.command.unjail'
    -'jail.command.jailtransfer'
    -'jail.command.jailtransferall'
    -'jail.command.jailcheck'
    -'jail.command.jailtelein
    -'jail.command.jailteleout
    -'jail.command.jaillist
    -'jail.command.unjailforce
    -'jail.command.jailclear
    -'jail.command.jailclearforce
    -'jail.command.jailbackup
    -'jail.modifyjail
    -'jail.usercmd.jailstatus
    ##
    # Users denote which users are included in which group.
    # TheNo1Yeti is in the Admin group
    # Herpina is a member of the Default group but also has access
    # to the herp.derp permissions
    # Derpina is a member of the admin group but does not have access
    # to the derp.derp permission node
    ##
    users:
    Scoredplayer:
    group: Admins
    permissions:
    Herpina:
    group: Moderator
    permissions:
    - 'herp.derp'
    Derpina:
    group: Admins
    permissions:
    - '-derp.derp'
    --- merged: Mar 4, 2011 9:23 PM ---
    ^ up there is what my config file is. :)
     
  9. Offline

    Orcworm

    I think you'll need to upload the actual config.yml, pasting it onto the forum has destroyed the formatting.
     
  10. Offline

    Scoredplayer

    thats how it is.

    :)
     
  11. Offline

    Kekec852

    If it is like that than it is wrongly formated. Try online velidators to confirm.

    Sample:

    plugin:
    permissions:
    system: default
    copies: world
     
  12. Offline

    Scoredplayer

    can you explan more. :)
    --- merged: Mar 5, 2011 1:04 AM ---
    like what online validators :)
     
  13. Offline

    mughi

  14. Offline

    Scoredplayer

    how do you use this?!?! :)
    --- merged: Mar 5, 2011 7:17 PM ---
    how do i use a online validator???!?!? :)
    --- merged: Mar 6, 2011 12:34 AM ---
    im confused :)
    --- merged: Mar 6, 2011 12:34 AM ---
    please help me :)
     
  15. Offline

    Orcworm

    Somehow I doubt every line is pushed to the far-left hand side in your actual config.yml file.
     
  16. Offline

    mughi

    [redacted]


    .. paste your yml code into that page on the left side.. then hit convert .. if it shows errors, look at the line it indicates and fix the error.. when it stops showing errors, put it back on your server.
     
  17. Offline

    Scoredplayer

    mughi thank you !
    :)
    --- merged: Mar 6, 2011 3:44 AM ---
    i dont know how to fix this error:
    ERROR: mapping values are not allowed here in "<unicode string>", line 63, column 16: default: false ^

    :)
    --- merged: Mar 6, 2011 5:41 AM ---
    can any one help me with this error in the validator online for yml code?
    :)
    --- merged: Mar 6, 2011 5:41 AM ---
    SEROUISLY!!!!
    :)
    --- merged: Mar 6, 2011 5:50 PM ---
    :(
     
  18. Offline

    mughi

    why don't you stop 'bumping' the issue and try to solve it..

    what is on line 63 at column 16?
    why haven't you ATTACHED your yml file like you have been asked?
    have you TRIED anything?

    you are going to have a terrible time maintaining a minecraft server if you can't even configure a yml file..
     
  19. Offline

    Scoredplayer

    well first off i have hosted 3 succesful servers 2 classics D3 and Mclawl and 1 smp server that ran on hey0 (which was alot easier) and the thing that is on line 63 and 16 is my Default: false so this is basicly what it is Scoredplayer: Admins
    Default: false <--- this is the error and 've tried moving it back and forth taking out the space and even just leaving it blank but nothing seems to be fixing it.
     
  20. Offline

    Plague

    Yet you still have not attached the plugin.yml file
     
    wizzy86 likes this.
  21. Offline

    Scoredplayer

    i tried it wouldnt show up.
    --- merged: Mar 6, 2011 10:16 PM ---
    it says when i go to permissions no items found
    when i click upload file
    --- merged: Mar 6, 2011 10:17 PM ---
    there i just copyed and pated :\
    --- merged: Mar 6, 2011 11:55 PM ---
    i've uploaded the file up there but i am on the parser checker and it says that the that the : in default: false is the problem. i dont know how to fix this ill try to do some more random stuff :) thanks.
     

    Attached Files:

  22. Offline

    Plague

    I don't ever use permissions but you have a group called Default, couldn't that be a problem?
     
  23. Offline

    Scoredplayer

    maybe thanks let me check :-]
    --- merged: Mar 7, 2011 12:58 AM ---
    no it still says on line 63 colum 16 default: false and the : is the problem and when i delete the : it says info is messed up .
    --- merged: Mar 7, 2011 12:58 AM ---
    oh i chaned it to Guest
    --- merged: Mar 7, 2011 1:01 AM ---
    alos i am converting it to json
     
  24. Offline

    PatrickFreed

    Don't use tabs. Change the option in Notepad++ or whatever you use so that it doesn't use tabs. Yaml and tabs are bitter enemies.
     
  25. Offline

    Scoredplayer

    i use notepad and how do i do that ?
    --- merged: Mar 7, 2011 1:34 AM ---
    how do i make it with spaces only?
    --- merged: Mar 7, 2011 3:48 AM ---
    Question noboady responded ???!?!?!?! :)
     
  26. Offline

    Plague

    Do you see the "Delete" key on your keyboard? Well, use it.
    That's the only help available for simple notepad.
     
  27. Offline

    mughi

    in other words.. DO NOT USE BUILT IN NOTEPAD

    get notepad++ (or TextPad)
     
  28. Offline

    Scoredplayer

    i have notepad but how do i delete tabs without all the maually deleting all of them.?

    :)
     
  29. Offline

    Plague

    Do you read or what? In notepad you cannot, use something better.
     
  30. Offline

    Scoredplayer

    no i meant notepad ++
     
Thread Status:
Not open for further replies.

Share This Page