caldurza / autokey

Automatically exported from code.google.com/p/autokey
GNU General Public License v3.0
0 stars 0 forks source link

Importing folders to the root folder should be possible #61

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
not sure if I did something wrong or if there is a certain file format the 
import/export is suppose to use. I tried with no extension and with a .txt 
extension.

Export seems to be working fine except it should auto-add an extension if it 
does need one.

I am using 0.71.0 on Ubuntu 10.4

I deleted all the default folders and items, tried to import and it fails but 
doesn't given any error information.

When I made an empty folder and tried to import it failed still but this time 
it gave me an error.

http://i26.tinypic.com/13ynxqe.jpg

Original issue reported on code.google.com by vis...@gmail.com on 1 Aug 2010 at 8:53

GoogleCodeExporter commented 8 years ago
The format is a plain text file containing json data. No extension is necessary 
for it to work. If you want to help troubleshoot the problem read the 
Troubleshooting wiki page on how to post log output.

Original comment by cdekter on 2 Aug 2010 at 12:39

GoogleCodeExporter commented 8 years ago
I've figured out why the error is happening. The import function currently only 
supports one folder imports.

Here is the folder tree of what I want to import and it will be a LOT more once 
I finish the web developer kit for gedit.
http://i33.tinypic.com/2rooqqu.jpg

I tested the full tree import and it gave me the exceeded error so I tested a 
single tree using the "Doctype" folder and items and it imported successfully. 
So then I tested the HTML tree which includes the Doctype folder and that 
resulted in the same exceeded error.

Here is the debug information for the import process I tried of the full tree. 
(The other tests appeared to have the same debug output.

http://tinypaste.com/42d4d

Original comment by vis...@gmail.com on 6 Aug 2010 at 5:40

GoogleCodeExporter commented 8 years ago

Original comment by cdekter on 6 Aug 2010 at 5:53

GoogleCodeExporter commented 8 years ago
By doing the tests for issue 62, I found out that the import function won't 
work without at least one folder in the GUI.

I deleted the default folders, tried to import the Doctype export that worked 
earlier and it didn't work and also didn't provide any error (at least not in 
GUI form).

So then I created an empty test folder and tried to import the Doctype export 
again and it worked so it requires one folder to already be there to import.

Here is the debug output for when you try to import with nothing in the GUI.
http://tinypaste.com/a845c

Original comment by vis...@gmail.com on 6 Aug 2010 at 5:53

GoogleCodeExporter commented 8 years ago
That is correct, the import function expects there to be at least one folder to 
import into. I won't be changing this in the immediate future at least.

Original comment by cdekter on 26 Aug 2010 at 11:18

GoogleCodeExporter commented 8 years ago

Original comment by cdekter on 26 Aug 2010 at 11:18

GoogleCodeExporter commented 8 years ago
yea this isn't a big deal at all because why wouldn't there be a folder other 
than weird people like me who deleted them all for testing. :) The only thing I 
care about regarding importing is the nested folders thing.

Original comment by vis...@gmail.com on 26 Aug 2010 at 5:44

GoogleCodeExporter commented 8 years ago
Nested importing works correctly. Importing to the root folder will not be 
implemented at this stage as it is too complex to do in the time I have 
available.

Original comment by cdekter on 3 Oct 2010 at 1:01

GoogleCodeExporter commented 8 years ago

Original comment by cdekter on 3 Oct 2010 at 1:09

GoogleCodeExporter commented 8 years ago
The import function will be removed in version 0.80.0 as the new configuration 
backend makes it basically pointless.

Original comment by cdekter on 11 Sep 2011 at 7:02