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

Login issue with 0.11.1 and -9999 #79

Open
sebastianheyn opened this issue Jan 26, 2015 · 1 comment
Open

Login issue with 0.11.1 and -9999 #79

sebastianheyn opened this issue Jan 26, 2015 · 1 comment

Comments

@sebastianheyn
Copy link

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)

@sebastianheyn
Copy link
Author

For anybody searching for this:

This is fixed when updating bugzilla to >4.4.3 (in my case 4.4.7)
@williamh / @liquidx Please close this issue if you dont have any question from my side it is solved by updating bugzilla. Thanks for providing this excellent solution, guys

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant