Giter VIP home page Giter VIP logo

zendesk-flatfile's Introduction

Scott Martin

Front end developer, they/them. I fight for the Users.

tron

#NoTechForApartheid #NoTechForICE

Briefly

  • 1997-1999: Surfing the World Wide Web, a Netizen in Cyberspace, exploring the Electronic Frontier, a Webmaster (reading excitable articles in Wired and joining webrings with my GeoCities home page)
  • 2000-2001: Front end developer (is what you'd call it now); wow I can do my hobby for a living, sweet - once identified a crash bug in Netscape Navigator 4.7something for Mac
  • 2002-2008: Perl hacker, observed the death of a language; burnout
  • 2009-2017: Other things
  • 2018 to now: Front end's is back baby. It's good again. Awoouu (wolf Howl)

What's here

Just odds and ends, I don't really program as a hobby any more.

Community

I try to give back to projects from which I've benefited by improving the documentation, either directly or by offering feedback from a learner's perspective.

zendesk-flatfile's People

Contributors

chrishardie avatar scottdotjs avatar

Forkers

chrishardie

zendesk-flatfile's Issues

"No such file or directory" error for attachment index

When running the script for the first time, after successfully processing tickets and indexing attachments, I get an error when it's time to start downloading them:

$ perl zendesk.pl ../my_json_file.json
...
Indexing complete.
Use of uninitialized value $filename in open at /Users/chris/perl5/lib/perl5/File/Slurper.pm line 58.
Use of uninitialized value $filename in concatenation (.) or string at /Users/chris/perl5/lib/perl5/File/Slurper.pm line 58.
Couldn't open : No such file or directory at lib/Zendesk.pm line 30.

It looks like my $index_file = $self->{file}; is the culprit, in download_attachments().

"No such file or directory" for attachment target directory

When I get the script to start downloading images, it can't find the target attachment directory:

Beginning attachment download process.
Use of uninitialized value in concatenation (.) or string at lib/Zendesk.pm line 46.
Attachment [1/725] downloading: Ticket #34 - 168_correct.png.
No such file or directory at lib/Zendesk.pm line 65.

It appears that $self->{attachments} is not defined in download_attachments().

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.