You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The page https://download.epha.ch/cleaned/matrix.csv contained (for a short period)
a line with an extraneous line-feed in it. It looked like this (shortened to give only a good and a bad example)
"ATC1","Name1","ATC2","Name2","Info","Mechanismus","Effekt","Massnahmen","Grad"
"N06AB06","Sertralin","M03BX02","Tizanidin","Keine Interaktion","Tizanidin wird über CYP1A2 metabolisiert. Sertralin beeinflusst CYP1A2 jedoch nicht.","Keine Interaktion.","Die Kombination aus Sertralin und Tizanidin hat kein bekanntes Interaktionspotential.","A"
"C01BD01","Amiodaron","C10AA05","Atorvastatin","Erhöhtes Risiko für Myopathien","Amiodaron hemmt CYP3A4 und damit auch den Metabolismus von Atorvastatin.","Bei der Kombination von sowohl Simvastatin als auch Atorvastatin mit Amiodaron konnte ein erhöhtes Risiko für Myopathien und Rhybdomyolyse nachgewiesen werden . ","Diese Kombination sollte vermieden werden. Auch der Hersteller von Amiodaron (Schweizer Fachinfromation zu Cordarone®) empfiehlt bei der Anwendung ein Statin anzuwenden, das nicht über CYP3A4 metabolisiert wird. Falls die Kombination allerdings erforderlich ist, sollten möglichst niedrige Stardosierungen von Atorvastatin und auch niedrigere Erhaltungsdosierungen gewählt werden. Bessere Alternativen wären Pravastatin oder Rosuvastatin, da diese nicht signifikant über das CYP-System metabolisiert werden . Klinisch auf Myopathie-Zeichen achten, ggf. ergänzt durch CK-Kontrolle.","
D"
The following ruby snippet was able to reproduce this error with mechanize 2.7.0
require'mechanize'puts"Checking for a mechanize error in version #{Mechanize::VERSION} "@url='https://download.epha.ch/cleaned/matrix.csv'@agent=Mechanize.newresponse=@agent.get(@url)if/""/.match(response.content)puts"Triggered a mechanize error."puts/""/.match(response.content)end
The response.content however contained in the second and subsequent lines always one occurence of ""
The text was updated successfully, but these errors were encountered:
This works fine in the latest version of Mechanize (2.7.4.beta2). Closing this ticket, please re-open if you can reproduce with the latest version of Mechanize. Thanks for reporting
The page https://download.epha.ch/cleaned/matrix.csv contained (for a short period)
a line with an extraneous line-feed in it. It looked like this (shortened to give only a good and a bad example)
The following ruby snippet was able to reproduce this error with mechanize 2.7.0
The response.content however contained in the second and subsequent lines always one occurence of
""
The text was updated successfully, but these errors were encountered: