biolab / biolab/orange2

For any data file it raises Uncode error

Open
#11 1 comment 0 reactions 0 assignees View on GitHub
Dominant language
Python
Stars
304
Forks
142
PR merge metrics
No merged PRs in 30d

Description

For any dataset even for the given ones, the File widget reports this error.

I tried my csv file and adult.tab and car.tab datasets. Result is always same

UnicodeDecodeError Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/Orange/OrangeWidgets/OWWidget.py", line 179, in reportAndFinish
self.finishReport()
File "/usr/local/lib/python2.7/dist-packages/Orange/OrangeWidgets/OWWidget.py", line 298, in finishReport
sender=self)
File "/usr/local/lib/python2.7/dist-packages/Orange/OrangeWidgets/OWReport.py", line 186, in appendReport
self.addEntry(widnode)
File "/usr/local/lib/python2.7/dist-packages/Orange/OrangeWidgets/OWReport.py", line 198, in addEntry
widnode.time, widnode.data)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xc5 in position 2: ordinal not in range(128)

Contributor guide

No contributing guide indexed for this repository

Research direction

Start with Orange/OrangeWidgets/OWWidget.py at reportAndFinish and Orange/OrangeWidgets/OWReport.py at appendReport and addEntry. Reproduce the failure through the File widget using the reported CSV, adult.tab, or car.tab datasets, then verify that generating the report completes without the UnicodeDecodeError.

Written by the indexing model from the issue text.

Assessment

Tech stack
python
Domain
data, desktop
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.