Code Monkey home page Code Monkey logo

Comments (13)

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024
I cannot confirm this bug, you have to provide a valid password example for me 
to reproduce, it may be some particular password character(s) that cause the 
problem.

I'm using the same password protected document in linux and windows and never 
had this problem.

Original comment by [email protected] on 14 Dec 2014 at 11:48

  • Changed state: Started

from cherrytree.

GoogleCodeExporter avatar GoogleCodeExporter commented on June 20, 2024

Original comment by [email protected] on 14 Dec 2014 at 11:48

from cherrytree.

 avatar commented on June 20, 2024

I have the same problem: I worked only on Ubuntu until now, I migrated for a few months on Windows but my .ctx won't open. I opened it in Ubuntu and Save As... unprotected .ctb then on Windows I reSaved .ctd to .ctx.

I haven't tested if the new .ctx file created on Windows works on Ubuntu (I am lazy).

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

Hi, the problem is related to specific chars in the password and the linux
vs windows terminal/shell. Can you try to spot what char/chars are not
cross platform and let me know?
On 4 Apr 2016 12:32, "moldcraft" [email protected] wrote:

I have the same problem: I worked only on Ubuntu until now, I migrated for
a few months on Windows but my .ctx won't open. I opened it in Ubuntu and Save
As... unprotected .ctb then on Windows I reSaved .ctd to .ctx.

I haven't tested if the new .ctx file created on Windows works on Ubuntu
(I am lazy).


You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub
#16 (comment)

from cherrytree.

 avatar commented on June 20, 2024

lower/upper case letters, numbers and only this ^ special character. e.g.: he11^W^R1D

from cherrytree.

 avatar commented on June 20, 2024

Now I tried to open in Ubuntu the .ctx created on Windows and it says the pass is wrong

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

I can see the problem thank you. I'm going to ban the caret char from the passwords in the next versions

from cherrytree.

 avatar commented on June 20, 2024

I removed the ^ character from password and now I can open the file on Windows and Linux.

Thank you!

P.S. Can you explain please why it happens?

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

That's because it's a special character in Windows command line, see
http://www.pcmech.com/article/use-the-carat-to-escape-characters-in-the-command-prompt-and-batch-files/
On 3 May 2016 08:15, "moldcraft" [email protected] wrote:

I removed the ^ character from password and now I can open the file on
Windows and Linux.

Thank you!

P.S. Can you explain please why it happens?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#16 (comment)

from cherrytree.

 avatar commented on June 20, 2024

Better you should escape special characters on windows instead of blacklisting characters

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

You're right, when I started I just picked the quickest solution. If you
could implement the fix yourself, test on both linux and windows and create
a pull request that would be of great help.
On 3 May 2016 14:51, "moldcraft" [email protected] wrote:

Better you should escape special characters
http://www.robvanderwoude.com/escapechars.php on windows instead of
blacklisting characters


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#16 (comment)

from cherrytree.

 avatar commented on June 20, 2024

Ok, I will try.

So the escape must be done only in 2 places, on save and open?

from cherrytree.

giuspen avatar giuspen commented on June 20, 2024

Correct, thank you for your help!
On 3 May 2016 15:38, "moldcraft" [email protected] wrote:

Ok, I will try.

So the escape must be done only in 2 places, on save

bash_str = '%s a -p%s -w%s -bd -y %s %s' % (cons.SZA_PATH,

and open
bash_str = '%s e -p%s -w%s -bd -y -o%s %s' % (cons.SZA_PATH,

?


You are receiving this because you commented.
Reply to this email directly or view it on GitHub
#16 (comment)

from cherrytree.

Related Issues (20)

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.