Skip to content
This repository has been archived by the owner on Mar 14, 2020. It is now read-only.

export as zip produced an error #313

Open
srhinow opened this issue Aug 18, 2014 · 7 comments
Open

export as zip produced an error #313

srhinow opened this issue Aug 18, 2014 · 7 comments

Comments

@srhinow
Copy link

srhinow commented Aug 18, 2014

Hallo,
i use the rib under Linux (Ubuntu 12.04). When i export my project as zip, than i can't open this zip-archive with default archive-program.
This error massage would show:

7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Error: /home/director/Downloads/Stockkarte Mobile.zip: Can not open file as archive

Errors: 1

And the file-size from the zip-archive is 19 Bytes. i think that is to small for a project. What is wrong or is this a bug?

@grgustaf
Copy link
Contributor

Did you download RIB to your device, or are you using it online at
https://01.org/rib/online/?

The zip exporting seems to still work for me on the online version at least.

The 19 bytes of the zip file might be an error message. Looks like
you're on Linux, so type:
$ cat "Stockkarte Mobile.zip"

or from Windows command line type:

type "Stockkarte Mobile.zip"

to see the contents of the file. Maybe this will give us a hint?

One thing that comes to mind is that you used a space in the filename.
This tool didn't quite reach production-level so it's possible that we
didn't properly test for that case. So try exporting as stockkarte.zip.

  • Geoff

On 08/18/2014 12:39 PM, srhinow wrote:

Hallo,
i use the rib under Linux (Ubuntu 12.04). When i export my project as
zip, than i can't open this zip-archive with default archive-program.

This error massage would show:

7-Zip 9.20 Copyright (c) 1999-2010 Igor Pavlov 2010-11-18
p7zip Version 9.20 (locale=de_DE.UTF-8,Utf16=on,HugeFiles=on,4 CPUs)

Error: /home/director/Downloads/Stockkarte Mobile.zip: Can not open
file as archive

Errors: 1

And the file-size from the zip-archive is 19 Bytes. i think that is to
small for a project. What is wrong or is this a bug?


Reply to this email directly or view it on GitHub
#313.

@srhinow
Copy link
Author

srhinow commented Aug 19, 2014

the error whas happend when i try the online-version under
https://01.org/rib/online/ whis chromium Version 36.0.1985.125 Ubuntu
12.04 (283153)

the Output from 'cat Stockkarte\ Mobile.zip' is

[object Uint8Array]

i have the File attached on this email.

Now i use the copy from github-master-brunch on local Environment. Now
is not save-error but eny other mistakes:

  • when i delete the Name "Footer" and reopen or export/import the
    project then is the Value "Footer" set again.
  • the set from icon or Link to other page like #page2 is tricky. Because
    when i select from pulldown-items then not happens but when i writeout
    the word whis keyboard and push enter then it is sometimes set
  • the arrow icon from the left site page-item-list is only correct when
    the page is the select page. the other arrows in the front of the
    page-name is misapplicated

bildschirmfoto vom 2014-08-19 11 13 37

Why can i set the label from dropdown-menu-widget? the label-field on
the left in the widget-settings is readonly.

This tool would be really funny if these mishaps would not.

sorry for my english.

best wishes

Sven Rhinow

@grgustaf
Copy link
Contributor

Sven,

I'm editing this message because it showed up unreadable on github. :/

Ihr Englisch ist viel besser als mein Deutsch!

It sounds like for some reason the file contents got converted to a
JavaScript string representation and then written to disk. I wasn't able
to reproduce it, though, so that might be hard to track down.

With regard to the other problems you mentioned:

  1. I guess we didn't consider 'empty string' to be a valid footer title.
    The same is true with header. You can delete the header or footer
    entirely, though. But I guess maybe you have some buttons on it, so you
    don't want to delete it? So that is probably a valid bug. That may be
    very simple for me to fix.
  2. I can reproduce this problem, too. If you set it and then navigate away
    and back to the button, you see the setting has been lost for some
    reason. There's an error in the JavaScript console and it looks like it
    went into an infinite loop.
  3. Here I'm not sure what you're talking about. Maybe a screenshot?
  4. The label field is enabled only when the 'Multiple Select' option is
    enabled. A single-select dropdown starts with the first item selected,
    but a multi-select dropdown starts with nothing selected and this
    'label' text in the box.

However, there seems to be a bug where when you enable 'Multiple Select'
it doesn't immediately enable the label field. If you navigate away and
come back, you'll see it is enabled.

I agree, those bugs are annoying. I will see if I can find some time
to look into them. I'm afraid I haven't been in this code for a while so
I'm not sure how easy it will be. :)

  • Geoff

@srhinow
Copy link
Author

srhinow commented Aug 20, 2014

Hi Geoff,

arrows: the Screenshot is top in my last comment as Link.

select-menu: what i mean is like jquery-mobile-doku: http://demos.jquerymobile.com/1.4.3/selectmenu/
There is "Basic:" or "Mini sized" the label from the selectfield on the right site. For example, when i create one or more normal selctfields with a first empty option like [ --- ] then no one knows what the fields are for.

  • Sven

@grgustaf
Copy link
Contributor

Sorry, I was reading that message from github email and the link didn't show up there. They have some weird glitches both directions between email and this blog.

I guess that's what I thought you were saying, but I can't reproduce that one myself. It seems to work correctly for me. Perhaps it only happens when you start to get a large design.

I'll try to take a look at that too.

  • Geoff

@srhinow
Copy link
Author

srhinow commented Aug 20, 2014

Hi Geoff,

i thank you for your open ear. :)

this tool have my project helped in the first steps. Now i export the
files and edit the rest in handwork.

I've seen your other projects. my respect for this work.

  • Sven

@grgustaf
Copy link
Contributor

grgustaf commented Sep 9, 2014

FWIW, I finally got some time to look at these. I solved problems #1 and #4 and pushed fixes. Hopefully I'll get to some more soon.

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

No branches or pull requests

2 participants