Unable to export to html or PDF

Bug #1762186 reported by Rob
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
BellePoule
Invalid
Undecided
Unassigned

Bug Description

When exporting games a completed competition in v4.45 to HTML, GUI allows selection of folder (in this case a Dropbox folder) and save but the file does not save to the folder. When attempting to export to PDF an error message regarding the export stream error is displayed.

Win10

Revision history for this message
betonniere (betonniere) wrote :

Hello Rob,

Your two bugs (#1762186 and #1762185) are probably similar and due to the same cause.
The changes implemented between v4.43 and v4.45 altered very few lines of code and didn't affect the file saving and I sincerely don't think that it can explain your concern.

It happened for a dropbox folder, but does it happen too for other regular folders?
Can you tell me more about the PDF export error? Did the message give more details?
Did you check the permission rights of your dropbox folder? Do they have stronger restrictions than the other folder?

Yannick.

Revision history for this message
Rob (4first) wrote : RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

Thanks for the quick response. Below is a screen shot of the error when attempting to export the attached competition to PDF but the error simply reads “error while writing to output stream”

To try and determine if this might be a permission issue, I did two things.

First was to completely uninstall bellepoule and removed the existing folder. After a restart I reinstalled the application as the administrator on my win10 surface. I also disabled by virus application during the process to ensure that this did not impact on the application. After that I ran the application both as the computer administration and myself (admin rights) and in both instances I was able to create a competition in bellepoule however when I saved the competition to a local folder on my desktop, the save icon greyed out to signify that it had saved but no file appeared in the folder. A search of the harddrive failed to identify the files in any other location.

Secondly to copied the existing files with the export issues from the dropbox folder to the local desktop folder. All permissions were checked and I had full control of the files and folders. In all instances I attempted to export to html, FFF and PDF. Both html and FFF appeared to be successful to the same desktop folder from within the application but the files did not exist in the folder. The PDF export gave the same “error while writing to output stream”.

This is the same on two different computers. Both win10

Regards

Rob Thomas

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of betonniere
Sent: Monday, 9 April 2018 5:05 AM
To: robert.thomas@4first.net.au
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hello Rob,

Your two bugs (#1762186 and #1762185) are probably similar and due to the same cause.

The changes implemented between v4.43 and v4.45 altered very few lines of code and didn't affect the file saving and I sincerely don't think that it can explain your concern.

It happened for a dropbox folder, but does it happen too for other regular folders?

Can you tell me more about the PDF export error? Did the message give more details?

Did you check the permission rights of your dropbox folder? Do they have stronger restrictions than the other folder?

Yannick.

--

You received this bug notification because you are subscribed to the bug report.

 <https://bugs.launchpad.net/bugs/1762186> https://bugs.launchpad.net/bugs/1762186

Title:

  Unable to export to html or PDF

Status in BellePoule:

  New

Bug description:

  When exporting games a completed competition in v4.45 to HTML, GUI

  allows selection of folder (in this case a Dropbox folder) and save

  but the file does not save to the folder. When attempting to export to

  PDF an error message regarding the export stream error is displayed.

  Win10

To manage notifications about this bug go to:

 <https://bugs.launchpad.net/bellepoule/+bug/1762186/+subscriptions> https://bugs.launchpad.net/bellepoule/+bug/1762186/+subscriptions

Revision history for this message
Rob (4first) wrote :
Download full text (3.7 KiB)

Hi Yannick

In addition I found that I still had a download of v4.44 which was working for the creation of competitions and exports to html. I completed an uninstall of v4.45 and then a reinstall of v4.44 but ended with the same result that I could not save a new competition or save an html export. I am wondering if this may have been related to a win10 update.

Regards

Rob Thomas

From: robert.thomas@4first.net.au <robert.thomas@4first.net.au>
Sent: Monday, 9 April 2018 9:55 AM
To: 'Bug 1762186' <email address hidden>
Subject: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

Thanks for the quick response. Below is a screen shot of the error when attempting to export the attached competition to PDF but the error simply reads “error while writing to output stream”

To try and determine if this might be a permission issue, I did two things.

First was to completely uninstall bellepoule and removed the existing folder. After a restart I reinstalled the application as the administrator on my win10 surface. I also disabled by virus application during the process to ensure that this did not impact on the application. After that I ran the application both as the computer administration and myself (admin rights) and in both instances I was able to create a competition in bellepoule however when I saved the competition to a local folder on my desktop, the save icon greyed out to signify that it had saved but no file appeared in the folder. A search of the harddrive failed to identify the files in any other location.

Secondly to copied the existing files with the export issues from the dropbox folder to the local desktop folder. All permissions were checked and I had full control of the files and folders. In all instances I attempted to export to html, FFF and PDF. Both html and FFF appeared to be successful to the same desktop folder from within the application but the files did not exist in the folder. The PDF export gave the same “error while writing to output stream”.

This is the same on two different computers. Both win10

Regards

Rob Thomas

-----Original Message-----
From: <email address hidden> <mailto:<email address hidden>> <<email address hidden> <mailto:<email address hidden>> > On Behalf Of betonniere
Sent: Monday, 9 April 2018 5:05 AM
To: robert.thomas@4first.net.au <mailto:robert.thomas@4first.net.au>
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hello Rob,

Your two bugs (#1762186 and #1762185) are probably similar and due to the same cause.

The changes implemented between v4.43 and v4.45 altered very few lines of code and didn't affect the file saving and I sincerely don't think that it can explain your concern.

It happened for a dropbox folder, but does it happen too for other regular folders?

Can you tell me more about the PDF export error? Did the message give more details?

Did you check the permission rights of your dropbox folder? Do they have stronger restrictions than the other folder?

Yannick.

--

You received this bug notification because you are subscribed to the bug report.

 <https://bugs.launchpad.net/bugs/1762186> http...

Read more...

Revision history for this message
betonniere (betonniere) wrote :
Download full text (5.1 KiB)

Hi Rob,

I need to know more. I've generated a new version with a console for traces:

http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45-win-BUGsavefile.exe

Can you install it, open a competition and export its final result as FFF file?
Copy the traces logged in the console and send them to me.

Sorry for the experiment work, but I've no other way to understand what's going on.

Yannick

----- Mail original -----

De: "Rob" <email address hidden>
À: "bellepoule dev" <email address hidden>
Envoyé: Lundi 9 Avril 2018 05:29:52
Objet: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

In addition I found that I still had a download of v4.44 which was
working for the creation of competitions and exports to html. I
completed an uninstall of v4.45 and then a reinstall of v4.44 but ended
with the same result that I could not save a new competition or save an
html export. I am wondering if this may have been related to a win10
update.

Regards

Rob Thomas

From: robert.thomas@4first.net.au <robert.thomas@4first.net.au>
Sent: Monday, 9 April 2018 9:55 AM
To: 'Bug 1762186' <email address hidden>
Subject: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

Thanks for the quick response. Below is a screen shot of the error when
attempting to export the attached competition to PDF but the error
simply reads “error while writing to output stream”

To try and determine if this might be a permission issue, I did two
things.

First was to completely uninstall bellepoule and removed the existing
folder. After a restart I reinstalled the application as the
administrator on my win10 surface. I also disabled by virus application
during the process to ensure that this did not impact on the
application. After that I ran the application both as the computer
administration and myself (admin rights) and in both instances I was
able to create a competition in bellepoule however when I saved the
competition to a local folder on my desktop, the save icon greyed out to
signify that it had saved but no file appeared in the folder. A search
of the harddrive failed to identify the files in any other location.

Secondly to copied the existing files with the export issues from the
dropbox folder to the local desktop folder. All permissions were checked
and I had full control of the files and folders. In all instances I
attempted to export to html, FFF and PDF. Both html and FFF appeared to
be successful to the same desktop folder from within the application but
the files did not exist in the folder. The PDF export gave the same
“error while writing to output stream”.

This is the same on two different computers. Both win10

Regards

Rob Thomas

-----Original Message-----
From: <email address hidden> <mailto:<email address hidden>> <<email address hidden> <mailto:<email address hidden>> > On Behalf Of betonniere
Sent: Monday, 9 April 2018 5:05 AM
To: robert.thomas@4first.net.au <mailto:robert.thomas@4first.net.au>
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hello Rob,

Your two bugs (#1762186 and #1762185) are probably simila...

Read more...

Revision history for this message
Rob (4first) wrote :
Download full text (7.7 KiB)

Hi Yannick

Follow the below process;

1. Completely uninstalled existing bellpoule - restarted
2. Installed bug view version of bellepoule
3. Opened competition from dropbox folder (screenshot)
4. Exported fff to dropbox folder (no indication that it had an error) (screenshot)
5. Confirmed that file did not exist in folder (screenshot)
6. Screenshot of console

Let me know if you want me to try this on another of the computers and another process.

Thanks for the quick response

Regards

Rob

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of betonniere
Sent: Tuesday, 10 April 2018 5:53 AM
To: robert.thomas@4first.net.au
Subject: Re: [Bug 1762186] Re: Unable to export to html or PDF

Hi Rob,

I need to know more. I've generated a new version with a console for

traces:

 <http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45-win-BUGsavefile.exe> http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45-win-BUGsavefile.exe

Can you install it, open a competition and export its final result as FFF file?

Copy the traces logged in the console and send them to me.

Sorry for the experiment work, but I've no other way to understand what's going on.

Yannick

----- Mail original -----

De: "Rob" < <mailto:<email address hidden>> <email address hidden>>

À: "bellepoule dev" < <mailto:<email address hidden>> <email address hidden>>

Envoyé: Lundi 9 Avril 2018 05:29:52

Objet: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

In addition I found that I still had a download of v4.44 which was working for the creation of competitions and exports to html. I completed an uninstall of v4.45 and then a reinstall of v4.44 but ended with the same result that I could not save a new competition or save an html export. I am wondering if this may have been related to a win10 update.

Regards

Rob Thomas

From: <mailto:robert.thomas@4first.net.au> robert.thomas@4first.net.au < <mailto:robert.thomas@4first.net.au> robert.thomas@4first.net.au>

Sent: Monday, 9 April 2018 9:55 AM

To: 'Bug 1762186' < <mailto:<email address hidden>> <email address hidden>>

Subject: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

Thanks for the quick response. Below is a screen shot of the error when attempting to export the attached competition to PDF but the error simply reads “error while writing to output stream”

To try and determine if this might be a permission issue, I did two things.

First was to completely uninstall bellepoule and removed the existing

folder. After a restart I reinstalled the application as the

administrator on my win10 surface. I also disabled by virus application

during the process to ensure that this did not impact on the

application. After that I ran the application both as the computer

administration and myself (admin rights) and in both instances I was

able to create a competition in bellepoule however when I saved the

competition to a local folder on my desktop, the save ico...

Read more...

Revision history for this message
betonniere (betonniere) wrote :

Hi,

According to the logs it's not a permission issue but a file name issue.
I've generated another trial version with more details in the traces:

    http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45-win-BUGsavefile-1.exe

Run it to save an FFF result file again and send me a copy of the console.

To confirm my assumption, can you perform too the same test but with a shorter file name without accent like É.

Yannick

Revision history for this message
Rob (4first) wrote :

Hi Yannick

Performed the following;

1. Same process of removal and re-install of bellepoule
2. Run same test with first screen shot
3. In the same location copied and re-named file without accent in name and ran same test and ensured that accent removed in the export name(same result second screenshot)
4. In the same location copied and re-named to “Test” and ran the same test twice in same session. The first time I left the export name the same as before but updated the accent and in the second just set the export file to “test”

In all tests the system did not show any errors and the file was not saved to the location specified.

Thanks

Rob

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of betonniere
Sent: Wednesday, 11 April 2018 6:08 AM
To: robert.thomas@4first.net.au
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hi,

According to the logs it's not a permission issue but a file name issue.

I've generated another trial version with more details in the traces:

 <http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45> http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45

-win-BUGsavefile-1.exe

Run it to save an FFF result file again and send me a copy of the console.

To confirm my assumption, can you perform too the same test but with a shorter file name without accent like É.

Yannick

--

You received this bug notification because you are subscribed to the bug report.

 <https://bugs.launchpad.net/bugs/1762186> https://bugs.launchpad.net/bugs/1762186

Title:

  Unable to export to html or PDF

Status in BellePoule:

  New

Bug description:

  When exporting games a completed competition in v4.45 to HTML, GUI

  allows selection of folder (in this case a Dropbox folder) and save

  but the file does not save to the folder. When attempting to export to

  PDF an error message regarding the export stream error is displayed.

  Win10

To manage notifications about this bug go to:

 <https://bugs.launchpad.net/bellepoule/+bug/1762186/+subscriptions> https://bugs.launchpad.net/bellepoule/+bug/1762186/+subscriptions

Revision history for this message
Rob (4first) wrote :
Download full text (3.8 KiB)

Hi Yannick

My apologies. I did an error in one of the last tests. The “Test” Version did save the fff file but in a different location. I have re-tested this with a Test2 copy of the .cotcot and fff file which was successful. I have repeated the test below both on the renamed .cotcot file and the original with the accent as long as I rename the output file name to be shorter. This also included a test on the original file in the original location saving to the original location in dropbox.

I then did some further testing on the original competition files in the original dropbox location saving both fff and html to the original dropbox folder. What I ended up finding was that it was a very hit or miss success using the file name provided by bellepoule but if I completely replaced the file name suggested with my own typing then everything has worked. For example the competition file name is “20180408OAME-Epée-Male-Open-A”. When exporting to fff or html, I was simply removing the “-Epée-Male-Open-A” portion of the name and this was failing however if I replaced the name with a typed version of “20180408OAME” then this worked for both fff and html consistently.

Let me know if you would like me to perform any specific testing for this.

Regards

Rob

From: robert.thomas@4first.net.au <robert.thomas@4first.net.au>
Sent: Wednesday, 11 April 2018 10:38 AM
To: 'Bug 1762186' <email address hidden>
Subject: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

Performed the following;

1. Same process of removal and re-install of bellepoule
2. Run same test with first screen shot
3. In the same location copied and re-named file without accent in name and ran same test and ensured that accent removed in the export name(same result second screenshot)
4. In the same location copied and re-named to “Test” and ran the same test twice in same session. The first time I left the export name the same as before but updated the accent and in the second just set the export file to “test”

In all tests the system did not show any errors and the file was not saved to the location specified.

Thanks

Rob

-----Original Message-----
From: <email address hidden> <mailto:<email address hidden>> <<email address hidden> <mailto:<email address hidden>> > On Behalf Of betonniere
Sent: Wednesday, 11 April 2018 6:08 AM
To: robert.thomas@4first.net.au <mailto:robert.thomas@4first.net.au>
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hi,

According to the logs it's not a permission issue but a file name issue.

I've generated another trial version with more details in the traces:

 <http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45> http://betton.escrime.free.fr/documents/BellePoule/stable/bellepoule-4-45

-win-BUGsavefile-1.exe

Run it to save an FFF result file again and send me a copy of the console.

To confirm my assumption, can you perform too the same test but with a shorter file name without accent like É.

Yannick

--

You received this bug notification because you are subscribed to the bug report.
...

Read more...

Revision history for this message
Rob (4first) wrote :
Download full text (4.2 KiB)

Same result for creation of a competition, replace the suggested name with a typed name (same or not) and this worked correctly

From: robert.thomas@4first.net.au <robert.thomas@4first.net.au>
Sent: Wednesday, 11 April 2018 12:41 PM
To: 'Bug 1762186' <email address hidden>
Subject: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

My apologies. I did an error in one of the last tests. The “Test” Version did save the fff file but in a different location. I have re-tested this with a Test2 copy of the .cotcot and fff file which was successful. I have repeated the test below both on the renamed .cotcot file and the original with the accent as long as I rename the output file name to be shorter. This also included a test on the original file in the original location saving to the original location in dropbox.

I then did some further testing on the original competition files in the original dropbox location saving both fff and html to the original dropbox folder. What I ended up finding was that it was a very hit or miss success using the file name provided by bellepoule but if I completely replaced the file name suggested with my own typing then everything has worked. For example the competition file name is “20180408OAME-Epée-Male-Open-A”. When exporting to fff or html, I was simply removing the “-Epée-Male-Open-A” portion of the name and this was failing however if I replaced the name with a typed version of “20180408OAME” then this worked for both fff and html consistently.

Let me know if you would like me to perform any specific testing for this.

Regards

Rob

From: robert.thomas@4first.net.au <mailto:robert.thomas@4first.net.au> <robert.thomas@4first.net.au <mailto:robert.thomas@4first.net.au> >
Sent: Wednesday, 11 April 2018 10:38 AM
To: 'Bug 1762186' <<email address hidden> <mailto:<email address hidden>> >
Subject: RE: [Bug 1762186] Re: Unable to export to html or PDF

Hi Yannick

Performed the following;

1. Same process of removal and re-install of bellepoule
2. Run same test with first screen shot
3. In the same location copied and re-named file without accent in name and ran same test and ensured that accent removed in the export name(same result second screenshot)
4. In the same location copied and re-named to “Test” and ran the same test twice in same session. The first time I left the export name the same as before but updated the accent and in the second just set the export file to “test”

In all tests the system did not show any errors and the file was not saved to the location specified.

Thanks

Rob

-----Original Message-----
From: <email address hidden> <mailto:<email address hidden>> <<email address hidden> <mailto:<email address hidden>> > On Behalf Of betonniere
Sent: Wednesday, 11 April 2018 6:08 AM
To: robert.thomas@4first.net.au <mailto:robert.thomas@4first.net.au>
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hi,

According to the logs it's not a permission issue but a file name issue.

I've generated another trial version with more details in the traces:

 <ht...

Read more...

Revision history for this message
betonniere (betonniere) wrote :

Hi Rob,

I've just found the problem. For a reason I ignore, special characters have been added to the end of your competition's title.
As the exported file names are based on the title they fail to be saved because the special characters are not supported in file names.

Solution (see the attached image) ==>
1) Open your competition with BellePoule
2) Remove the special character at the end of the title (button Preferences)

Yannick

Revision history for this message
Rob (4first) wrote :

Hi Yannick

I think I have located the root cause of the two issues. The name in the preferences has been copied from an excel spreadsheet formula that holds the naming convention for our results page. The special character would be directly from this copy.

Thanks for the prompt replies and all the help on this. I have been able to successfully create a competition and export to html.

Regards

Rob

-----Original Message-----
From: <email address hidden> <email address hidden> On Behalf Of betonniere
Sent: Thursday, 12 April 2018 6:21 AM
To: robert.thomas@4first.net.au
Subject: [Bug 1762186] Re: Unable to export to html or PDF

Hi Rob,

I've just found the problem. For a reason I ignore, special characters have been added to the end of your competition's title.
As the exported file names are based on the title they fail to be saved because the special characters are not supported in file names.

Solution (see the attached image) ==>
1) Open your competition with BellePoule
2) Remove the special character at the end of the title (button Preferences)

Yannick

** Attachment added: "Solution"
   https://bugs.launchpad.net/bellepoule/+bug/1762186/+attachment/5111277/+files/Solution.png

--
You received this bug notification because you are subscribed to the bug report.
https://bugs.launchpad.net/bugs/1762186

Title:
  Unable to export to html or PDF

Status in BellePoule:
  New

Bug description:
  When exporting games a completed competition in v4.45 to HTML, GUI
  allows selection of folder (in this case a Dropbox folder) and save
  but the file does not save to the folder. When attempting to export to
  PDF an error message regarding the export stream error is displayed.

  Win10

To manage notifications about this bug go to:
https://bugs.launchpad.net/bellepoule/+bug/1762186/+subscriptions

betonniere (betonniere)
Changed in bellepoule:
status: New → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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