zenity --calendar behaves strangely

Bug #721956 reported by Guraknugen
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
zenity (Ubuntu)
Invalid
Low
Unassigned

Bug Description

Binary package hint: zenity

An example: zenity --calendar --title=Inspelningsdatum --text=Välj datum --year=2011 --month=09 --day=19 ⇨ Error message
zenity --calendar --title=Inspelningsdatum --text=Välj datum --year=2011 --month=07 --day=19 ⇨ Works as expected.

It seems like --month and --day must not be 08 or 09. 01-07 seems to work fine, though.
The workaround seems to be to make sure there are no trailing zeroes. This works fine, for example:
zenity --calendar --title=Inspelningsdatum --text=Välj datum --year=2011 --month=9 --day=19

Revision history for this message
Guraknugen (guraknugen) wrote :

After doing some research, which I probably should have been doing before filing this bug report, I found that the bug was in my brain, not in zenity. I just didn't realize that ”0[:digit:]*” means octal… Well, I know it does in many cases, but I didn't realize it does also in cases like this one.

Sorry for any inconvenience. Unfortunately it seems like I can't remove this report, but hopefully someone else can.

Once again, my apologises.

Have a nice day!

Revision history for this message
Pedro Villavicencio (pedro) wrote :

Thank you for taking the time to report this bug and helping to make Ubuntu better. The issue that you reported is one that should be reproducible with the live environment of the Desktop CD of the development release - Oneiric Ocelot. It would help us greatly if you could test with it so we can work on getting it fixed in the next release of Ubuntu. You can find out more about the development release at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your help.

Changed in zenity (Ubuntu):
importance: Undecided → Low
status: New → Incomplete
Revision history for this message
Guraknugen (guraknugen) wrote : Re: [Bug 721956] zenity --calendar behaves strangely

2011/8/15 Pedro Villavicencio <email address hidden>

> Thank you for taking the time to report this bug and helping to make
> Ubuntu better. The issue that you reported is one that should be
> reproducible with the live environment of the Desktop CD of the
> development release - Oneiric Ocelot. It would help us greatly if you
> could test with it so we can work on getting it fixed in the next
> release of Ubuntu. You can find out more about the development release
> at http://www.ubuntu.com/testing/ . Thanks again and we appreciate your
> help.
>
> ** Changed in: zenity (Ubuntu)
> Importance: Undecided => Low
>
> ** Changed in: zenity (Ubuntu)
> Status: New => Incomplete
>
> --
> You received this bug notification because you are subscribed to the bug
> report.
> https://bugs.launchpad.net/bugs/721956
>
> Title:
> zenity --calendar behaves strangely
>
> To manage notifications about this bug go to:
> https://bugs.launchpad.net/ubuntu/+source/zenity/+bug/721956/+subscriptions
>

This bug should be removed, since it's not a real bug, as I mentioned in my
follow-up message in that bug report. The bug was me. I entered the month
with a preceding zero, which zenity takes for an octal value. Therefore 08
and 09 are invalid values with an error as the only result. If the zero is
omitted, there is no error.

So please remove the bug report if possible, or mark it as fixed or whatever
the procedure is.

Kind regards

Johnny Rosenberg
ジョニー・ローゼンバーグ

Revision history for this message
Pedro Villavicencio (pedro) wrote :

thanks, closing the report.

Changed in zenity (Ubuntu):
status: Incomplete → Won't Fix
status: Won't Fix → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.