Skip to content

Login issue with 0.11.1 and -9999 #79

@sebastianheyn

Description

@sebastianheyn

Hi,

I tried both Ver.0.11.1 and 9999 (GIT) version of this tool

however with my setup I cannot get it to work
(Bugzilla 4.4.1)
bashscript:

bugz -b http://bughost/bugzilla-qc/xmlrpc.cgi -u "$user" -p "$pass" login
bugz -d 10 -b http://bughost/bugzilla-qc/xmlrpc.cgi -u "$user" -p "$pass" post --product "$prod" --component "$compo" --title "$title" --description "$description" --op-sys "$ops" --platform "$platf" --priority "$prio" --severity "$sever" --alias "$alias" --assigned-to "$assign" --cc "$ccl" --version "$ver" --url "$url" --append-command "$appen" --default-confirm "y"

however I get

  • Info: Using localbugs
  • Info: Logging in
    ! Warn: bad debug level '10', using '3'
  • Info: Using localbugs
    ~ Dbg: Command line debug dump:
    ~ Dbg: severity, B-Rank
    ~ Dbg: description, description bla bla
    ~ Dbg: op_sys, H/U specific
    ~ Dbg: cc,
    ~ Dbg: component, Test
    ~ Dbg: platform, Somedevice
    ~ Dbg: password, xxxxxx
    ~ Dbg: url,
    ~ Dbg: version, unspecified
    ~ Dbg: product, zzzzTest
    ~ Dbg: user, user@existing.de
    ~ Dbg: assigned_to, user@existing.de
    ~ Dbg: func, <function post at 0xb6c69974>
    ~ Dbg: priority, -
    ~ Dbg: base, http://bughost/bugzilla-qc/xmlrpc.cgi
    ~ Dbg: debug, 10
    ~ Dbg: summary, title string
    ~ Dbg: default_confirm, y
    ~ Dbg: alias,
    ~ Dbg: append_command,
    ~ Dbg: Connection debug dump:
    ~ Dbg: password, xxxxxxx
    ~ Dbg: url,
    ~ Dbg: connections, ['localbugs', 'freedesktop', 'Gentoo', 'gnome', 'Kernel', 'libav', 'Mozilla', 'RedHat']
    ~ Dbg: severity, B-Rank
    ~ Dbg: append_command,
    ~ Dbg: assigned_to, user@existing.de
    ~ Dbg: connection, localbugzilla
    ~ Dbg: summary, title string
    ~ Dbg: product, zzzzTest
    ~ Dbg: tokens, <bugz.tokens.Tokens object at 0xb6c8c1ac>
    ~ Dbg: description, description bla bla
    ~ Dbg: op_sys, H/U specific
    ~ Dbg: cc,
    ~ Dbg: component, Test
    ~ Dbg: platform, Somedevice
    ~ Dbg: bz_token, None
    ~ Dbg: default_confirm, y
    ~ Dbg: version, unspecified
    ~ Dbg: debug, 10
    ~ Dbg: user, user@existing.de
    ~ Dbg: skip_auth, False
    ~ Dbg: func, <function post at 0xb6c69974>
    ~ Dbg: priority, -
    ~ Dbg: safe_base, http://bughost/bugzilla-qc/xmlrpc.cgi
    ~ Dbg: columns, 237
    ~ Dbg: quiet, False
    ~ Dbg: base, http://bughost/bugzilla-qc/xmlrpc.cgi
    ~ Dbg: alias,
    ~ Dbg: bz, <ServerProxy for bughost/bugzilla-qc/xmlrpc.cgi>
  • Info: Logging in
  • Info: Press Ctrl+C at any time to abort.
  • Info: Enter product: zzzzTest
  • Info: Enter component: Test
  • Info: Enter version: unspecified
  • Info: Enter title: title string
  • Info: Enter bug description: description bla bla
  • Info: Enter operating system: H/U specific
  • Info: Enter hardware platform: Somedevice
  • Info: Enter priority (optional): -
  • Info: Enter severity (optional): B-Rank
  • Info: Enter alias (optional):
  • Info: Enter assignee (optional): user@existing.de
  • Info: Enter a CC list (optional):
  • Info: Enter a URL (optional):
  • Info: Append command (optional):

Product : zzzzTest
Component : Test
Title : title string
Version : unspecified
Description : description bla bla
Operating System: H/U specific
Platform : Somedevice
Priority : -
Severity : B-Rank
Alias :
Assigned to : user@existing.de
CC :
URL :

Confirm bug submission (Y/n)? y

Error: Bugzilla error: You must log in before using this part of Bugzilla.

Why do I get that DO I nee to update my bugzilla to >4.4.3 or can I set the script to use cookies?? (I read that bugzilla uses tokens from 4.4.3)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions