rsimonru

rsimonru

Member Since 7 years ago

0 organizations

Experience Points
0
follower
Lessons Completed
0
follow
Lessons Completed
1
stars
Best Reply Awards
0
repos

3 contributions in the last year

rsimonru Most Used Languages
rsimonru GitHub Stats

0 Pinned

Jun
11
1 week ago
Activity icon
issue

rsimonru issue comment PHPOffice/PhpSpreadsheet

rsimonru
rsimonru

A non well formed numeric value encountered in src/PhpSpreadsheet/Worksheet/ColumnDimension.php on line 77

This is:

- [X ] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

No error

What is the current behavior?

An error for every with "width" property in percent

What are the steps to reproduce?

Generate Excel from HTML table with "width property" in tags in percent.

Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:

<?php

require __DIR__ . '/vendor/autoload.php';

// $vcTable is an string with a simple table in HTML with any <td width="xx%">
$vcTable='
<table>
<tr>
<td width="15%">A</td>
<td>B</td>
<td>C</td>
</tr>
</table>
';
$tmpfile = tempnam(sys_get_temp_dir(), 'html');
file_put_contents($tmpfile, $vcTable);

// Create new Spreadsheet object
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
$reader = new PhpOffice\PhpSpreadsheet\Reader\Html();


// add code that show the issue here...
$reader->loadIntoExisting($tmpfile, $spreadsheet);

Which versions of PhpSpreadsheet and PHP are affected?

Checked in last version (1.18.0)

rsimonru
rsimonru

Lot of thanks for the response.

At this moment, for us, is enought if the library ignore the width configuration when is set in "%". When it write lots of messages, Excel sheet is not generated, and that is the real problem.

Jun
7
2 weeks ago
Activity icon
issue

rsimonru issue PHPOffice/PhpSpreadsheet

rsimonru
rsimonru

A non well formed numeric value encountered in src/PhpSpreadsheet/Worksheet/ColumnDimension.php on line 77

This is:

- [X ] a bug report
- [ ] a feature request
- [ ] **not** a usage question (ask them on https://stackoverflow.com/questions/tagged/phpspreadsheet or https://gitter.im/PHPOffice/PhpSpreadsheet)

What is the expected behavior?

No error

What is the current behavior?

An error for every with "width" property in percent

What are the steps to reproduce?

Generate Excel from HTML table with "width property" in tags in percent.

Please provide a Minimal, Complete, and Verifiable example of code that exhibits the issue without relying on an external Excel file or a web server:

<?php

require __DIR__ . '/vendor/autoload.php';

// $vcTable is an string with a simple table in HTML with any <td width="xx%">
$vcTable='
<table>
<tr>
<td width="15%">A</td>
<td>B</td>
<td>C</td>
</tr>
</table>
';
$tmpfile = tempnam(sys_get_temp_dir(), 'html');
file_put_contents($tmpfile, $vcTable);

// Create new Spreadsheet object
$spreadsheet = new \PhpOffice\PhpSpreadsheet\Spreadsheet();
$reader = new PhpOffice\PhpSpreadsheet\Reader\Html();


// add code that show the issue here...
$reader->loadIntoExisting($tmpfile, $spreadsheet);

Which versions of PhpSpreadsheet and PHP are affected?

Checked in last version (1.18.0)

May
15
1 month ago
Activity icon
issue

rsimonru issue pusher/pusher-websocket-dotnet

rsimonru
rsimonru

A call to SSPI could not be made; see inner exception (.NET Framework 4.5 and 4.7.2)

Hello.

I'm getting the error "A call to SSPI could not be made; see inner exception" in ConnectAsync() in a C# project with .NET Framework 4.5 & 4.7.2. When use .NET Core 3.1, the application work perfect.

What could be wrong?