QUT-Digital-Observatory / coordination-network-toolkit

A small command line tool and set of functions for studying coordination networks in Twitter and other social media data.
MIT License
71 stars 14 forks source link

Resolved urls error #31

Closed timothyjgraham closed 2 years ago

timothyjgraham commented 2 years ago

When constructing co-link networks using the --resolved parameter, it throws the following error:

Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/compute_networks", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/coordination_network_toolkit/__main__.py", line 316, in main
    compute_co_link_network(
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/coordination_network_toolkit/compute_networks.py", line 388, in compute_co_link_network
    db.execute(
sqlite3.OperationalError: no such column: url
SamHames commented 2 years ago

Huh, it's probably time to write some automated tests to catch these ones.

Try upgrading to version 1.4.1 (building for PyPI now) and let me know if that fixes the error.

timothyjgraham commented 2 years ago

Thanks Sam! Can confirm – co-link network generates without errors now.

From: Sam Hames @.> Date: Monday, 1 November 2021 at 1:53 pm To: QUT-Digital-Observatory/coordination-network-toolkit @.> Cc: Timothy Graham @.>, Author @.> Subject: Re: [QUT-Digital-Observatory/coordination-network-toolkit] Resolved urls error (Issue #31)

Huh, it's probably time to write some automated tests to catch these ones.

Try upgrading to version 1.4.1 (building for PyPI now) and let me know if that fixes the error.

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://urldefense.com/v3/__https:/github.com/QUT-Digital-Observatory/coordination-network-toolkit/issues/31*issuecomment-955904410__;Iw!!NVzLfOphnbDXSw!WKMQgmUJ7gUoRLSOBfoSFV9DEeVzMc-danBujuoqBm4n63bhtqRomylP9HOh5tftzLtZB7M$, or unsubscribehttps://urldefense.com/v3/__https:/github.com/notifications/unsubscribe-auth/ACWDTL3D37CSXMBQQEP3BN3UJYFKBANCNFSM5HDDWZPA__;!!NVzLfOphnbDXSw!WKMQgmUJ7gUoRLSOBfoSFV9DEeVzMc-danBujuoqBm4n63bhtqRomylP9HOh5tftpFVoSxE$. Triage notifications on the go with GitHub Mobile for iOShttps://urldefense.com/v3/__https:/apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675__;!!NVzLfOphnbDXSw!WKMQgmUJ7gUoRLSOBfoSFV9DEeVzMc-danBujuoqBm4n63bhtqRomylP9HOh5tftwppjEYI$ or Androidhttps://urldefense.com/v3/__https:/play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign*3Dnotification-email*26utm_medium*3Demail*26utm_source*3Dgithub__;JSUlJSU!!NVzLfOphnbDXSw!WKMQgmUJ7gUoRLSOBfoSFV9DEeVzMc-danBujuoqBm4n63bhtqRomylP9HOh5tftem0F1Jc$.