vermiculus / magithub

**DEPRECATED - please use Forge instead!** -- Magit-based interfaces to GitHub
GNU General Public License v3.0
579 stars 63 forks source link

error while parsing issues #126

Closed smondet closed 7 years ago

smondet commented 7 years ago

Automated error report

Description

Just when doing Magit-status, I get that error. It happens in other repos too. One common thing seems to be that magithub-issue--process-line chokes on issue lines that contain backticks '`'.

Backtrace


  backtrace()
  magithub-error("failed to parse issue" "There was an error parsing issues.")
  magithub-issue--process-line("    #543  Allow server/client speak gzip especially as part of the  `Submit_targets` protocol   performance ")
  mapcar(magithub-issue--process-line ("    #543  Allow server/client speak gzip especially as part of the  `Submit_targets` protocol   performance " "    #540  Automatic/configurable re-submissions of “root” nodes.   enhancement " "    #535  Support \"pausing\" a node   enhancement " "    #533  Throttle requests on server rather than requiring client to do flow control" "    #523  Change daemonize backend \"status\" tab to \"display\"   enhancement   UI " "    #518  Search order for configuration file is unintuitive" "    #516  Allow dumping/cleaning the job history via a ketrew subcommand   enhancement " "    #502  Improved, more resilient, merging    enhancement " "    #493  Support safely resubmitting workflows if an earlier version of that workflow is partially running" "    #492  Support running very wide/flat workflows" "    #489  Max-number of results should be set in the WebUI" "    #486  Document `Persistent_data` API" "    #485  WebUI: separate time Vs logic" "    #479  Spring Clean-Up   Epic " "    #475  Ketrew crashes   bug " "    #474  Mystery failure   bug " "    #473  annotate the build-only deps in `opam`" "    #469  UI should show list of nodes which have the same product   enhancement   UI " "    #464  Hard to tell when it's safe to submit another job after one has been killed   enhancement " "    #463  Plugin loading code is a outdated Vs ocamlfind" "    #462  Lwt-async-exn: Unix.ENOMEM error   bug " "    #458  Nodes should have \"was activated by\"   enhancement " "    #457  Need a way to \"refresh\" a filter, removing the no-longer-applicable items in the filtered list   UI " "    #455  Fetch stdout/stderr for jobs run on the PBS backend (while running)" "    #454  Paginate logs retrieved on task detail page   enhancement " "    #453  Tell the user if ketrew init completes successfully   enhancement   UI " "    #452  UI: Jump from failed to job to failed dependency   enhancement   UI " "    #451  PBS backend: `-N` option has a character limit   bug " "    #444  Plus (+) in token breaks ketrew GUI (password denied)   bug " "    #438  Ketrew should not archive workflows   enhancement " "    #436  Ketrew should be able to execute OCaml workflow nodes   enhancement " "    #435  Document how equivalence, done_when, and product#is_done interact   doc " "    #434  Improve Condition.t   enhancement   help wanted " "    #429  Perhaps switch to a real UUID for target internal IDs" "    #425  Very slow building and submission of workflows   performance " "    #424  Web UI: expose logs of failing targets prominantly   enhancement   UI " "    #423  Improve DB model of Ketrew workflows   performance " "    #422  The filesystem is not a database   question " "    #420  Add ssl/tls error to FAQ   doc   FAQ " "    #417  Green and blue and grey look too much alike in Ketrew GUI   bug   UI " "    #409  Ketrew should have a mechanism for tracking products of interest   enhancement " "    #405  Add SQL capabilities to Ketrew   enhancement   UI " "    #403  Add configuration option to disallow localhost as a `Host.t`   enhancement " "    #401  Allow named hosts to be localhost   enhancement " "    #400  Use Websockets instead of XHR with polling/timeouts   enhancement   performance " "    #392  Allow querying for over 100 nodes   enhancement " "    #391  Should be easier to modify configuration from EDSL.submit_workflow   enhancement " "    #386  Submitted jobs should show up faster in the UI" "    #385  Add exponential back-off with manual retry for SSH timeouts" "    #384  Make close boxes links   enhancement   help wanted " "    #376  Ketrew errors out, but reports it \"started well\"   bug   UI " "    #369  Simple way to clean up cache   enhancement " "    #368  Add favicon to Ketrew GUI   enhancement   UI " "    #363  Parallelize more; at least web-server in ≠ process   enhancement " "    #362  Make constants in server.ml more configurable   enhancement " "    #358  Ketrew GUI should show nodes that depended on a given node   enhancement   UI " "    #352  Implemenent Target.State.display_name and use it for user-facing descriptions of a target's state" "    #351  Wanted: \"kill my children\" button in the Ketrew web UI   enhancement   UI " "    #350  Make example filters clickable   enhancement   UI " "    #349  Wanted: Local time zone timestamps in the Ketrew web UI   enhancement   UI " "    #347  Links to individual tabs in the web UI   enhancement   UI " "    #346  Confusing options on the \"Backend details/query\" page of a failed target" "    #344  Allow a token-free mode for the GUI/submission   enhancement " "    #339  Display of \"target pointers\" can be a bit confusing   help wanted   UI " "    #332  Ketrew should be able to serialize pipelines as CWL" "    #331  Ketrew should be able to serialize pipelines as dot files" "    #320  Add early workflow submission safety checks   enhancement " "    #316  YARN Backend could/should tunnel its HTTP call   enhancement " "    #311  Warn/error on submit to an unreachable Ketrew server   external   FAQ " "    #305  Emphasize \"Condition\" section of UI   UI " "    #304  Unicode glitch in error messages in UI   bug   UI " "    #301  Investigate interesting Lwt tweaks" "    #298  improve error message of yarn-cluster:check-process & friends   UI " "    #295  Revamp filter-part of the protocol → closer to the UI filter   enhancement " "    #285  Visualizer for seeing time spent on each target   enhancement   UI " "    #284  Make it easier to pass information between workflow nodes" "    #282  Add command `try-configuration`   enhancement " "    #276  Document target states   doc   help wanted   UI " "    #275  Reimplement tooltips   enhancement   help wanted   UI " "    #270  Add shareable read-only URLs   enhancement   UI " "    #267  Use Target table filter to Kill targets   enhancement " "    #265  On click of a tag in a target row, add a filter to filter to that tag   enhancement   UI " "    #263  Support shared Ketrew server" "    #249  Settings changed in a Ketrew session should last through the session" "    #234  Correct order of get_values in Server.block_if_empty_at_most?   question " "    #208  DistributedShell creates a directory per container" "    #207  Graph view in the WebUI   enhancement   help wanted   UI " "    #206  Add form to add JSONP servers in the WebUI   enhancement   UI " "    #205  Get all tags, display tag cloud on WebUI   enhancement   UI " "    #204  Add form when authentication token is missing (webUI)   enhancement   UI " "    #203  Persist user WebUI settings   enhancement   UI " "    #202  Submit json worklows from CLI   enhancement   UI " "    #201  WebUI: add \"backend\" filter to the target table   enhancement   UI " "    #200  allow user to configure a server that listens only on localhost   enhancement " "    #195  PBS: too agressive with failure   enhancement " "    #192  Weird argument name `?distrbuted_shell_shell_jar`   bug " "    #188  Detect \"pointer loops\" while merging equivalent targets   enhancement   UI " "    #185  Report bad SSH configuration to the user" "    #176  Try out AppVeyor (windows builds)   enhancement   help wanted   test " "    #174  Get more info from Yarn jobs   Engine   enhancement " "    #170  Create hosts with different versions of Python (integration-test)   test " "    #138  Quitting ketrew int while killing throws error   bug " "    #135  Standalone mode with engine running simultaneously   enhancement   UI " "    #120  Reconsider the \"build process\" name   question " "    #118  Find a way to maintain documentation in Ketrew_* Vs EDSL   doc " "    #110  Add \"restart after quick-edit\" command   enhancement   UI " "    #105  Add `runit` backend   enhancement " "     #94  pick once and for all between “terminated”, \"finished”, “done”   doc   question   UI " "     #87  display summary of recoverable errors   enhancement   UI " "     #80  Make review-before-submit easier   EDSL   enhancement   UI " "     #78  Add more to `Equivalence.t`   Engine   enhancement " "     #77  Improve Targets' metadata   Engine   enhancement " "     #76  Integrate DRMAA   Engine   enhancement   help wanted " "     #74  Manage auth-tokens from command line   enhancement   UI " "     #73  Optimize engine   Engine   enhancement   performance " "     #72  Optionally kill more targets when one dies   Engine   enhancement " "     #71  improve custom queries API   Engine   enhancement   UI " "     #70  LSF, PBS: pass more options to the scheduler   Engine   enhancement " "     #69  Optmize (re)use of SSH sessions   Engine   enhancement " "     #68  Windows hosts?   Engine   enhancement   help wanted " "     #67  Make sure all interactive displays/actions are available directly on command line   enhancement   UI " "     #66  In the Explorer: display current “path”   enhancement   UI " "     #64  add \"force-kill\"   Engine   enhancement   UI " "     #63  More EDSL combinators   EDSL   enhancement " "     #62  improve integration tests   test " "     #52  Display “tree-view” of targets   enhancement   help wanted   UI " "     #51  EDSL tutorial   doc   help wanted " "     #32  integration-test: fails with older vagrant   test " "     #20  Switch to opam-doc" "      #1  findlib plugins with C dependencies   bug "))
  magithub-issue-list--internal()
  (progn (when with-temp-message (setq current-message (current-message)) (message "%s" with-temp-message)) (magithub-issue-list--internal))
  (unwind-protect (progn (when with-temp-message (setq current-message (current-message)) (message "%s" with-temp-message)) (magithub-issue-list--internal)) (and with-temp-message (if current-message (message "%s" current-message) (message nil))))
  (let ((with-temp-message "Retrieving issue list...") (current-message)) (unwind-protect (progn (when with-temp-message (setq current-message (current-message)) (message "%s" with-temp-message)) (magithub-issue-list--internal)) (and with-temp-message (if current-message (message "%s" current-message) (message nil)))))
  (with-temp-message "Retrieving issue list..." (magithub-issue-list--internal))
  eval((with-temp-message "Retrieving issue list..." (magithub-issue-list--internal)))
  magithub-cache--table(#s(hash-table size 65 test eql rehash-size 1.5 rehash-threshold 0.8 data (:ci-status ((22930 988 859841 842000) . internal-error))) :issues (with-temp-message "Retrieving issue list..." (magithub-issue-list--internal)))
  magithub-cache("git@github.com:hammerlab/ketrew" :issues (with-temp-message "Retrieving issue list..." (magithub-issue-list--internal)))
  magithub-issue-list()
  magithub-issue--insert-section()
  run-hooks(magit-status-sections-hook)
  #[0 "\305\306 \"\203
smondet commented 7 years ago

BTW I'm on version 20161004.523, because 20170810.1947 seems to require Emacs 25.

vermiculus commented 7 years ago

I'm not really able to support that version anymore given all the changes – what's keeping you from upgrading to Emacs 25?

smondet commented 7 years ago

Nothing really, just the convenience of apt-get install emacs :)

In the meantime I built emacs 25.2 and, after some ghub authentication fights, magithub seems to work :+1:

Feel free to close the issue :)