Skip Menu |

This queue is for tickets about the Visio CPAN distribution.

Report information
The Basics
Id: 71812
Status: new
Priority: 0/
Queue: Visio

People
Owner: Nobody in particular
Requestors: JHermida [...] crosscountry-auto.com
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: bug-Visio.pm
Date: Thu, 20 Oct 2011 10:23:05 -0400
To: <bug-Visio [...] rt.cpan.org>
From: "James Hermida" <JHermida [...] crosscountry-auto.com>
Hello, I was investigating ways to create a Visio diagram from perl and came across Visio.pm on the CPAN website. While going through the documentation, I decided to take the sample code under the SYNOPSIS section and run it myself: my $v = new Visio(); $v->set_title('wabla wabla'); $v->set_timeCreated(); $v->set_timeSaved() my $page = $v->addpage(); $page->set_name('my page'); $page->set_heightWidth(8,11); my $page2 = $v->addpage(); $page2->set_name('my page2'); $v->toFile('myvisofile.vdx'); The code compiled successfully, but I ran into the following error when opening file myvisofile.vdx: I ended up resolving this issue myself by manually editing the timestamp in the file shown above. Actual <TimeCreated>2011-19-10T15:51:14</TimeCreated> <TimeSaved> 2011-19-10T15:51:14</TimeSaved> Modified To <TimeCreated>2011-10-19T15:51:14</TimeCreated> <TimeSaved> 2011-10-19T15:51:14</TimeSaved> The format is YYYY-DD-MM which should actually be YYYY-MM-DD. After making this change, I was able to successfully open the file. I attached the Visio.pm with the fix. Thanks, -- James Hermida Build Engineer Cross Country Automotive Services One Cabot Road Medford, MA 02155 Office : (781) 306-3680 Mobile: (781) 913-6881 jhermida@crosscountry-auto.com <mailto:jhermida@crosscountry-auto.com>
Download image001.png
image/png 17.3k
image001.png

Message body is not shown because sender requested not to inline it.

Confidentiality Note: This e-mail message and any attachments may contain confidential or privileged information. If you are not the intended recipient, please notify me immediately by replying to this message and destroy all copies of this message and any attachments. Thank you.