Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open recent request gives "File in unrecognised format!" error #43

Open
ColinZou opened this issue Jan 15, 2016 · 5 comments
Open

Open recent request gives "File in unrecognised format!" error #43

ColinZou opened this issue Jan 15, 2016 · 5 comments

Comments

@ColinZou
Copy link

screen shot 2016-01-15 at 9 25 38 am

The error was introduced when I try to open a request file from File -> Open Recent.
@icnagy
Copy link

icnagy commented May 31, 2016

Version 3.5 & 3.6 on OSX 10.10.5: also happens when you try to drag and drop a request file.

@subwiz
Copy link
Member

subwiz commented Jun 1, 2016

Can you provide the .rcq file that is failing? Note, that the .rcq is just a XML file, you may also post the content of it by opening in a text editor.

@icnagy
Copy link

icnagy commented Jun 1, 2016

@subwiz sure. Please note that File->Open recent is also throwing format error.

This was saved with the latest 3.6 version:

<?xml version="1.0" encoding="UTF-8"?>
<rest-client version="3.6"><request><http-version>1.1</http-version><http-follow-redirects/><URL>http://localhost:3000/run_jobs</URL><method>POST</method><headers><header key="auth_token" value="test"/></headers><cookies><cookie name="auth_token" value="test" version="1"/></cookies><body><string content-type="application/x-www-form-urlencoded" charset="UTF-8">auth_token=test&amp;job_name=test_job</string></body></request></rest-client>

Process: Create a POST request with body and a header, save it then:

  • can't drag and drop, because format error,
  • can't File->Open recent, because format error,
  • if you exit RESTClient it wont save anything except the URL, so when you reopen RESTClient, only the URL is usable, but you have to redo everything else.
  • this all would be less annoying, if I would be able to search in the File->Open dialog

@subwiz
Copy link
Member

subwiz commented Jun 1, 2016

Strange, because I am able to all these successfully (including opening the file you sent---via drag and drop, File>Open Request and File>Open Recent). I am running on Mac El Captain, RESTClient running on JVM:

FDLMC799:~ subhash$ java -version
java version "1.8.0_91"

Can you share the OS and JVM version details?

@icnagy
Copy link

icnagy commented Jun 1, 2016

@subwiz Thanks for looking into this!

I'm on OSX Yosemite 10.10.5

#  java -version
java version "1.8.0_72"
Java(TM) SE Runtime Environment (build 1.8.0_72-b15)
Java HotSpot(TM) 64-Bit Server VM (build 25.72-b15, mixed mode)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants