Page Menu
Home
Software Heritage
Search
Configure Global Search
Log In
Files
F7124336
D2125.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
587 B
Subscribers
None
D2125.diff
View Options
diff --git a/swh/lister/cran/lister.py b/swh/lister/cran/lister.py
--- a/swh/lister/cran/lister.py
+++ b/swh/lister/cran/lister.py
@@ -72,7 +72,7 @@
'list_all_packages.R')
logger.debug('script list-all-packages.R path: %s', filepath)
response = subprocess.run(
- filepath, stdout=subprocess.PIPE, shell=False)
+ filepath, stdout=subprocess.PIPE, shell=False, encoding='utf-8')
data = json.loads(response.stdout)
logger.debug('r-script-request: %s', data)
return data
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Dec 21 2024, 7:49 AM (11 w, 4 d ago)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
3220272
Attached To
D2125: CRAN lister: decode R lister output before JSON loading
Event Timeline
Log In to Comment