Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline overlord  
#1 Posted : 23 May 2021 00:03:25(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
importData() function doesn't respect the string input for any of delimiters.
Function only accepts if delimiters are 0 in SMath, string inputs are giving error to wrong file format.
Column separator should be space, decimal separator should be dot, argument separator should be semicolon in file.
All delimiter separators couldn't be read even if they are specified as strings to default values in function.

Additionally, I get that strings should be in quotes while importing to SMath but this is not productive.
If there was an option for f.sym to read non-quoted text as string it would be very good.
This option could be set as integer 2 for f.sym and eliminates to manually add quotes for strings in file.

I encountered this on linux.
In order to check if I am not wrong doing also checked on windows.
Function acts same on Both operating systems.

Regards

PS: I had to rename filename csv to txt to upload here.
Usually filetype for these files is csv.

Worksheet1.sm (3kb) downloaded 8 time(s).
spreadsheet.txt (1kb) downloaded 9 time(s).

spreadsheet.png

Edited by user 23 May 2021 00:05:50(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline Andrey Ivashov  
#2 Posted : 23 May 2021 00:43:31(UTC)
Andrey Ivashov


Rank: Administration

Groups: Developers, Registered, Knovel Developers, Administrators, Advanced Member
Joined: 11/07/2008(UTC)
Posts: 1,616
Man
Russian Federation

Was thanked: 1978 time(s) in 666 post(s)
Thank you. Fixed.
thanks 1 user thanked Andrey Ivashov for this useful post.
on 23/05/2021(UTC)
Offline overlord  
#3 Posted : 17 June 2021 20:58:52(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: Andrey Ivashov Go to Quoted Post
Thank you. Fixed.

I noticed another bug.
If you enter first row and leave last row as 0, file is read properly.
Same action is not working with column delimiters.
It expects a number, don't accept zero as last column delimiter.
Function throws a bug.

Regards

2021-06-17_20-57.png
Offline overlord  
#4 Posted : 24 February 2024 06:53:15(UTC)
overlord


Rank: Advanced Member

Groups: Registered
Joined: 23/07/2013(UTC)
Posts: 1,125
Turkey

Was thanked: 506 time(s) in 337 post(s)
Originally Posted by: overlord Go to Quoted Post
I noticed another bug.
If you enter first row and leave last row as 0, file is read properly.
Same action is not working with column delimiters.
It expects a number, don't accept zero as last column delimiter.
Function throws a bug.

Regards

This has not been fixed as it seems.
Users browsing this topic
Similar Topics
how to use importData() (Bugs & Problems)
by kompre 26/01/2022 19:01:16(UTC)
Anable to import data using importData() function (Bugs & Problems)
by Oleg@smath.com 07/11/2020 18:58:02(UTC)
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.